Closed Wulfheart closed 3 years ago
To change the colour, currently you'll need to change the stroke="#2a2e3b"
but I'll have a look in to other options :)
@Wulfheart
You can change stroke of a svg file to currentColor
. After that you can change parent's color to change svg color.
Wouldn't it be a good idea to use currentColor
for every icon instead of constant for easier customisation?
@CoreyGinnivan what do you think?
@eden-lane Yeah absolutely. Was looking into that for the next round of updates. But if you wanted to jump in before and make a PR for the current one that'd be great
Is this fixed by https://github.com/CoreyGinnivan/system-uicons/pull/21?
Yep! All fixed
Hello,
I'm unable to set the color from a parent container in html.
results in
As I'm building a utility which inserts svg icons directly from markup (e.g.
<x-systemuicon-archive style="width:64px; height:64px; fill:red;" />
results in the code above. Is there any possibility to make this work with classes without modifying the svg files?