You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
btw, is any way to bind some svg colors to the system brushes? I want to use the svg icons in the toolbar items and cant find a way to change theirs colors depending on the current theme (Light, Dark)
The only way I can think of to map to system colors would be to load the svg file into a buffer, lookup the color RGB values you need, search and replace them in the svg buffer, and then load that. Of course, you'll need to listen for theme changes and repeat this process when that happens.
I have created a sample WinUI on UWP project.
SVG image does not support styling via class
Steps to reproduce the bug
App22.zip
Expected behavior
The circle should be green.
Screenshots
Version Info
NuGet package version:
[Microsoft.WinUI 3.0.0-preview3.201113.0]
Windows app type:
Additional context
The text was updated successfully, but these errors were encountered: