feat(icons): wire extension and toolbar icons; add icons/README with placement and size guidance
This commit is contained in:
		
					parent
					
						
							
								bc28130855
							
						
					
				
			
			
				commit
				
					
						c641ace30b
					
				
			
		
					 2 changed files with 37 additions and 1 deletions
				
			
		
							
								
								
									
										27
									
								
								icons/README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								icons/README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,27 @@
 | 
				
			||||||
 | 
					Icon assets
 | 
				
			||||||
 | 
					===========
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Place the final PNGs for the add-on icon here. The manifest is wired to use:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Toolbar (browser_action → default_icon):
 | 
				
			||||||
 | 
					  - icons/icon-16.png
 | 
				
			||||||
 | 
					  - icons/icon-32.png
 | 
				
			||||||
 | 
					- Extension/Store (top-level icons):
 | 
				
			||||||
 | 
					  - icons/icon-48.png
 | 
				
			||||||
 | 
					  - icons/icon-96.png
 | 
				
			||||||
 | 
					  - icons/icon-128.png
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Notes
 | 
				
			||||||
 | 
					-----
 | 
				
			||||||
 | 
					- Use the same artwork at each size; keep transparent backgrounds.
 | 
				
			||||||
 | 
					- Source: a 128×128 PNG is perfect; export downscaled versions for 96/48/32/16.
 | 
				
			||||||
 | 
					- Firefox does not require .ico; PNG is recommended.
 | 
				
			||||||
 | 
					- If you later want theme-specific toolbar icons, you can add `browser_action.theme_icons` with light/dark variants.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Quick export (ImageMagick)
 | 
				
			||||||
 | 
					-------------------------
 | 
				
			||||||
 | 
					magick icon-128.png -resize 96x96   icon-96.png
 | 
				
			||||||
 | 
					magick icon-128.png -resize 48x48   icon-48.png
 | 
				
			||||||
 | 
					magick icon-128.png -resize 32x32   icon-32.png
 | 
				
			||||||
 | 
					magick icon-128.png -resize 16x16   icon-16.png
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,9 +9,18 @@
 | 
				
			||||||
      "update_url": "https://add-ons.jordanwages.com/archive-org-link-grabber/updates.json"
 | 
					      "update_url": "https://add-ons.jordanwages.com/archive-org-link-grabber/updates.json"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					  "icons": {
 | 
				
			||||||
 | 
					    "48": "icons/icon-48.png",
 | 
				
			||||||
 | 
					    "96": "icons/icon-96.png",
 | 
				
			||||||
 | 
					    "128": "icons/icon-128.png"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  "browser_action": {
 | 
					  "browser_action": {
 | 
				
			||||||
    "default_title": "Archive.org Link Grabber",
 | 
					    "default_title": "Archive.org Link Grabber",
 | 
				
			||||||
    "default_popup": "src/popup/index.html"
 | 
					    "default_popup": "src/popup/index.html",
 | 
				
			||||||
 | 
					    "default_icon": {
 | 
				
			||||||
 | 
					      "16": "icons/icon-16.png",
 | 
				
			||||||
 | 
					      "32": "icons/icon-32.png"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "options_ui": {
 | 
					  "options_ui": {
 | 
				
			||||||
    "page": "src/options/index.html",
 | 
					    "page": "src/options/index.html",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue