Skip to main content
Answer

Colorless SVGs

  • January 3, 2020
  • 2 replies
  • 141 views

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.

This topic has been closed for replies.

2 replies

Jasper
Superhero
  • Answer
  • 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
  • Author
  • Vanguard
  • 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.

Okay, thanks for the explanation!