anori icon indicating copy to clipboard operation
anori copied to clipboard

Render custom SVG icons as <svg> instead of <img>

Open m-p-3 opened this issue 9 months ago • 1 comments

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?

m-p-3 avatar May 14 '24 12:05 m-p-3

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 avatar May 14 '24 12:05 OlegWock