archive-org-link-grabber/icons
2025-08-24 01:47:13 -05:00
..
file-search.svg refactor(icons): remove color injection; set emphasis stroke directly in SVG\n\n- stroke set to #F5A623 in icons/file-search.svg\n- build script now rasterizes SVG as-is using ImageMagick only\n- docs updated to reflect new flow 2025-08-24 01:47:13 -05:00
README.md refactor(icons): remove color injection; set emphasis stroke directly in SVG\n\n- stroke set to #F5A623 in icons/file-search.svg\n- build script now rasterizes SVG as-is using ImageMagick only\n- docs updated to reflect new flow 2025-08-24 01:47:13 -05:00

Icon assets

PNG icons are generated from file-search.svg during the build. Run npm run build (or npm run build:icons) to regenerate. 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

  • Source: icons/file-search.svg defines the exact stroke color (an emphasis color) directly in the SVG.
  • The build script does not inject or replace colors; it rasterizes the SVG as-is to transparent PNGs using ImageMagick.
  • To change the icon color, edit the stroke="#..." attribute in icons/file-search.svg.
  • Firefox does not require .ico; PNG is recommended.
  • Theme variants can be added later via browser_action.theme_icons if desired.
  • Rasterizer: uses ImageMagick only (magick or convert). Ensure your ImageMagick build supports reading SVG (via librsvg or a compatible delegate).