unplugin / unplugin-icons

🤹 Access thousands of icons as components on-demand universally.
https://www.npmjs.com/package/unplugin-icons
MIT License
3.66k stars 131 forks source link

All fills overriden in custom icons #292

Open supermensa opened 12 months ago

supermensa commented 12 months ago

Describe the bug

Using custom icons, all the fills in my svg's are overridden — even when defining a currentColor, every fill gets that color, gets assigned the same color as currentColor.

Reproduction

https://stackblitz.com/edit/withastro-astro-bgjvnn?file=src%2Fpages%2Findex.astro

System Info

System:
    OS: macOS 13.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 227.27 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.volta/tools/image/node/18.16.0/bin/node
    Yarn: 4.0.0-rc.46 - ~/.volta/tools/image/yarn/4.0.0-rc.46/bin/yarn
    npm: 9.5.1 - ~/.volta/tools/image/node/18.16.0/bin/npm
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 16.5.1

Used Package Manager

npm

Validations