You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/05-themes-components/34-theme-screenshots.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ To add preview screenshots to your theme:
18
18
19
19
1. Create a folder called `screenshots` in the root directory of your theme
20
20
2. Add two image files to this folder:
21
-
-`light.png` - Shows your theme in light mode
22
-
-`dark.png` - Shows your theme in dark mode
21
+
-`light.webp` - Shows your theme in light mode
22
+
-`dark.webp` - Shows your theme in dark mode
23
23
24
24
## Setting up the image files
25
25
@@ -28,7 +28,7 @@ Your screenshot images must meet these requirements:
28
28
-**Ratio**: 16:9 aspect ratio
29
29
-**Dimensions**: 2560 × 1440 pixels (recommended)
30
30
-**File size**: Under 1MB per image
31
-
-**Format**: PNG format
31
+
-**Format**: WebP, PNG, JPEG
32
32
33
33
> :information_source: Using the recommended dimensions ensures your screenshots look crisp on high-resolution displays while maintaining reasonable file sizes.
34
34
@@ -40,7 +40,7 @@ After creating your screenshots, you need to update your theme’s `about.json`
40
40
2. Add the `screenshots` array to the JSON object:
0 commit comments