I want ask about feature "dark theme". Will it be introduced in the near future? Now Im using several xaml files with different resource styles. I would like to know if WPF will interact with system colors?
Thank you for your question! We don鈥檛 have any plans to support dark themes in near future. However, if you would want us to consider this feature, please create a feature request. We will be happy to participate in the active discussion with the community.
@gomathip02 what are your thoughts on #1485?
The problem is that Aero2.NormalColor.xaml has some hardcoded colors in StaticResource. It would have been easy to re-theme, had it been using DynamicResource instead of StaticResource, but now that the colors are hardcoded one needs to fork the entire XAML.
There's a project out there having done just that:
https://github.com/manju-summoner/DynamicAero2
My hope is that in-the-box XAML gets updated to easily support Dark Theme, and a switch is added so one could switch to Dark Theme either manually or after detecting an OS preference for dark mode apps.
Most helpful comment
The problem is that Aero2.NormalColor.xaml has some hardcoded colors in StaticResource. It would have been easy to re-theme, had it been using DynamicResource instead of StaticResource, but now that the colors are hardcoded one needs to fork the entire XAML.
There's a project out there having done just that:
https://github.com/manju-summoner/DynamicAero2
My hope is that in-the-box XAML gets updated to easily support Dark Theme, and a switch is added so one could switch to Dark Theme either manually or after detecting an OS preference for dark mode apps.