@@ -93,12 +93,12 @@ A full `manifest.json` with most of the optional fields looks like this:
9393 "icons" : [
9494 {
9595 "src" : " assets/icons/icon-16-light.png" ,
96- "sizes " : " 16x16" ,
96+ "size " : " 16x16" ,
9797 "theme" : " light"
9898 },
9999 {
100100 "src" : " assets/icons/icon-16-dark.png" ,
101- "sizes " : " 16x16" ,
101+ "size " : " 16x16" ,
102102 "theme" : " dark"
103103 }
104104 ],
@@ -237,7 +237,7 @@ A full `manifest.json` with most of the optional fields looks like this:
237237### Optional Fields
238238
239239- ** icon** : Path to a png icon file, either relative in the package or a ` https:// ` url.
240- - ** icons** : Array of icon descriptors (` src ` , ` sizes ` , optional ` theme ` ) for light/dark or size-specific assets.
240+ - ** icons** : Array of icon descriptors (` src ` , ` size ` , optional ` theme ` ) for light/dark or size-specific assets.
241241- 🌎 ** display_name** : Human-friendly name for UI display. This field is localizable.
242242- 🌎 ** long_description** : Detailed description for extension stores, markdown. This field is localizable.
243243- ** repository** : Source code repository information (type and url).
@@ -288,12 +288,12 @@ Use the `icons` array when you need multiple icon variants (different sizes or t
288288
289289``` json
290290"icons" : [
291- { "src" : " assets/icons/icon-16-light.png" , "sizes " : " 16x16" , "theme" : " light" },
292- { "src" : " assets/icons/icon-16-dark.png" , "sizes " : " 16x16" , "theme" : " dark" }
291+ { "src" : " assets/icons/icon-16-light.png" , "size " : " 16x16" , "theme" : " light" },
292+ { "src" : " assets/icons/icon-16-dark.png" , "size " : " 16x16" , "theme" : " dark" }
293293]
294294```
295295
296- - ` sizes ` must be in ` WIDTHxHEIGHT ` form (e.g., ` 128x128 ` ).
296+ - ` size ` must be in ` WIDTHxHEIGHT ` form (e.g., ` 128x128 ` ).
297297- ` theme ` is optional; use values like ` light ` , ` dark ` , or platform-specific labels (e.g., ` high-contrast ` ).
298298- The legacy ` icon ` field remains supported for single assets—clients use it when ` icons ` is omitted.
299299
0 commit comments