News for hackers. Stuff that matters.
Re:Bunny fonts – privacy respecting drop-in replacement for ... by runarberg on Monday June 20, 2022 @10:39AM (#31810882)
You can use SVG sprites to overcome that limitation. My SVG icons are usually only:

    <svg><use href="/path/to/sprite.svg#my-icon" /></svg>
Good SVG icons are a single <path> which can be colored in your CSS with

    svg { fill: currentColor; }
Then it will take which ever font color it inherits.

Off course I usually wrap this in a component and only write <app-icon icon="my-icon"></app-icon>.

There are no comments on this comment yet.