I have noticed that after a few hours or program running all brushes that use
{DynamicResource SystemControlForegroundAccentBrush}
will become transparent
I am not sure if it is caused by computer going to sleep, locking, or other system events (I don't use automatic windows theme changes and I don't change system accent color)
I'll keep checking to see if there are patterns, but please let me know if there is something that I can try, like setting different elements that require accent to some other way of assigning accent brush, and see which implementation survives that event that causes this brush to fail
I have noticed that after a few hours or program running all brushes that use
{DynamicResource SystemControlForegroundAccentBrush}
will become transparentI am not sure if it is caused by computer going to sleep, locking, or other system events (I don't use automatic windows theme changes and I don't change system accent color)
Looking at this https://github.com/Kinnara/ModernWpf/blob/6580ce2cb3af362b1db8518d04b605c5a295968b/ModernWpf/ThemeResources/Light.xaml it seems it is related to m:DynamicColor but I can't find the implementation.
I'll keep checking to see if there are patterns, but please let me know if there is something that I can try, like setting different elements that require accent to some other way of assigning accent brush, and see which implementation survives that event that causes this brush to fail