Skip to main content
Solved

Colorless SVGs


Jop ter Horst
Vanguard
Forum|alt.badge.img+5

The Windows GUI can recolor black SVGs to match the label color, but the Universal GUI needs SVG's with no color. Should I uncolor all my SVGs or should I wait for a Universal release which fixes this?

Best answer by Jasper

Unfortunately, there is no neat way to recolor black SVGs using CSS or JavaScript. As soon as it is possible to save the icons in the model database (we are currently working on this feature), we can automatically strip the color of SVGs when they are imported. 

Until then you will indeed have to remove black fill colors from the SVG yourself, using a text editor for example.

View original
This topic has been closed for comments

Jasper
Superhero
  • January 3, 2020

Unfortunately, there is no neat way to recolor black SVGs using CSS or JavaScript. As soon as it is possible to save the icons in the model database (we are currently working on this feature), we can automatically strip the color of SVGs when they are imported. 

Until then you will indeed have to remove black fill colors from the SVG yourself, using a text editor for example.


Jop ter Horst
Vanguard
Forum|alt.badge.img+5
Jasper wrote:

Unfortunately, there is no neat way to recolor black SVGs using CSS or JavaScript. As soon as it is possible to save the icons in the model database (we are currently working on this feature), we can automatically strip the color of SVGs when they are imported. 

Until then you will indeed have to remove black fill colors from the SVG yourself, using a text editor for example.

Okay, thanks for the explanation! 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings