Completed

Color setting for svg icons

  • 12 August 2019
  • 0 replies
  • 81 views

Userlevel 6
Badge +5
Because of Universal we use SVG icons for the entire application. Universal changes the color of the icon for the dark theme. But it only changes the color if the SVG itself doesn't have a color, which makes sense.

If I don't use a color, the Windows and Web GUI's interpret it as black.
But in the Windows and Web GUI I never want to use a black icon. I'd like to be able to set a color for the SVG icon in the theme, but perhaps also per icon. In that way, I can easily change colors without replacing all my SVG icons.

I understand you can have an SVG icon with multiple colors, I don't have a solution in mind for those yet. Maybe you can think with me.

But now I have to create variants of subjects merely for the icons, and that doesn't feel right.

0 replies

Be the first to reply!

Reply