Change SVG color in Appfarm

We would love the possibility of changing color of SVGs like in HTML: color - SVG: Scalable Vector Graphics | MDN

This would make it possible to use custom icons with conditional styling, or simply changing the color of an icon to the brand color. For example doing this while having interchangeable dark-mode and white-mode is quite cumbersome.

I imagine this could be done in the icon-component with custom selection or image-component if the file is an SVG

Thank you for the input on this subject!

This would definitely solve a real pain point with theming and dark/light mode switching. We’ll register this as a feature request with our devs team for consideration :slight_smile:

1 Like