I want to add SVG icons to our application in the Universal GUI. When saving and thus creating a SVG icon by myself using Photoshop and Illustrator, the image doesn’t seem to change from black to white when changing to dark mode. Are there specific settings that need to be set for creating a SVG which does change color from black to white?
Page 1 / 1
Hello Marijn,
Universal will change the color of an SVG in dark and light mode only when no color has been set (a color would be something like: fill=”#000000”, etc.) for a path or other shape. When a color has been set, we assume the SVG was intended to have that color for that shape.
If you remove the color information from the SVG, it’ll change colors with the Universal theme type.
Kind regards,
Tim de Lang
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.