File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
docs/05-themes-components Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,15 @@ You can add various pieces of metadata to a theme. Some are stored in the `about
3737Themes and components can define a _ maximum of two screenshots_ in the ` screenshots ` key of ` about.json ` , which will look something like this:
3838
3939``` json
40- "screenshots" : [" screenshots/light.png " , " screenshots/dark.png " ]
40+ "screenshots" : [" screenshots/light.webp " , " screenshots/dark.webp " ]
4141```
4242
43- There are several restrictions that must be considered :
43+ Keep these restrictions in mind :
4444
45- - The screenshots must be in a folder called ` screenshots ` in the theme's GitHub repo
46- - Screenshots cannot exceed 1 megabyte in size
47- - Screenshots cannot be bigger than 3840x2160, which is 4K resolution. The recommended resolution is 2840x1860.
48- - Screenshots can only be in jpeg, gif, or png format
45+ - Screenshots must be in a ` screenshots ` folder in the theme’s GitHub repo
46+ - Max file size: ` 1 MB `
47+ - Max resolution: ` 3840×2160 ` (4K)
48+ - Recommended ratio: ` 16:9 `
49+ - Allowed formats: ` .webp ` , ` .png ` , ` .jpeg ` , ` .jpg `
4950
50- We currently have a convention to provide both a ` light ` and a ` dark ` screenshot, but at this time the ` dark ` screenshot is not used .
51+ We also follow a convention to include both ` light ` and ` dark ` screenshots .
You can’t perform that action at this time.
0 commit comments