Solved

Colorless SVGs

  • 3 January 2020
  • 2 replies
  • 44 views

Userlevel 6
Badge +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?

icon

Best answer by Jasper 3 January 2020, 10:59

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

2 replies

Userlevel 6
Badge +6

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.

Userlevel 6
Badge +5

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! 

Reply