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
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?
Reacted by Mrxx99, Poopooracoocoo, jbe2277, Reilly Wood, Balkoth, aquinn39, Bastian Schmidt, Joseph Musser, Matvei Stefarov and rilakuma123
Thank you for your question! We don’t 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.
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.
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.
Reacted by Poopooracoocoo, Vatsan Madhavan, Reilly Wood and Sam Hou
Activity
gomathip02 commentedon Dec 20, 2019
Thank you for your question! We don’t 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.
Poopooracoocoo commentedon Aug 20, 2020
@gomathip02 what are your thoughts on #1485?
KirillOsenkov commentedon Oct 13, 2020
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.
Poopooracoocoo commentedon Jul 5, 2021
also see microsoft/WindowsAppSDK#41 and dotnet/winforms#5166
aborn commentedon Mar 4, 2024
https://github.com/AngryCarrot789/WPFDarkTheme This proj provides drakmode style.