
I wan't to change the button background checked brush, to something lighter in the when using the Dark theme, to make it stand out a bit more that it is checked. I found out that I can change the AsseResourceKey like this:
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ButtonBackgroundCheckedBrushKey}" Color="#76797F"/>
Is there some way to change it to a color in the color palette instead of hard coding it, to make it work with different themes?
Something closer to this:
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ButtonBackgroundCheckedBrushKey}" Color="{DynamicResource {x:Static themes:AssetResourceKeys.ColorPaletteGrayBackgroundHighestBrushKey}}"/>