how to manipulate an svg stroke (or fill) colour with custom properties? #209
Replies: 1 comment 1 reply
-
you will have to set on svg attributes inside html embed the stroke or fill depending on what you use to "currentColor" and then set color property on html embed or any parent instance to the desired value |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this is an icon I designed and exported in .svg. when I used in on Penpot to design the website, I could simply change the stroke colour (and width) of the icon as I pleased, thanks to it being an SVG file. how can I do the same thing in Webstudio?
I presumed it'd be something in the parent's advanced properties. if I were to code this website I'd probably use stroke. so I tried that but nothing happened.
Beta Was this translation helpful? Give feedback.
All reactions