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
Hi, I'm trying to make some custom icons that follow the default color scheme used for monochrome icons and I'm not sure how I can achieve it.
I tried modifying the fill color of the path to fill="currentColor" like the other monochrome icons in the repo, as I guessed the css would take care of it that way but that doesn't seem to be the case. Is that something doable?
The text was updated successfully, but these errors were encountered:
I'm afraid it's not possible currently. Anori uses <img> tag for all custom icons (incl. svg) and it doesn't work with currentColor. I'll see if it's possible to render them as <svg> without major changes
OlegWock
changed the title
[Question] About custom SVG icon color scheme
Render custom SVG icons as <svg> instead of <img>
May 14, 2024
Hi, I'm trying to make some custom icons that follow the default color scheme used for monochrome icons and I'm not sure how I can achieve it.
I tried modifying the fill color of the path to
fill="currentColor"
like the other monochrome icons in the repo, as I guessed the css would take care of it that way but that doesn't seem to be the case. Is that something doable?The text was updated successfully, but these errors were encountered: