Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark mode for WPF styles #2322

Open
Normandy opened this issue Dec 16, 2019 · 5 comments
Open

Dark mode for WPF styles #2322

Normandy opened this issue Dec 16, 2019 · 5 comments
Assignees
Labels
Question General question, not a problem in source code or documentation (yet)
Milestone

Comments

@Normandy
Copy link

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?

@rladuca rladuca added the Question General question, not a problem in source code or documentation (yet) label Dec 19, 2019
@rladuca rladuca added this to the Future milestone Dec 19, 2019
@gomathip02
Copy link

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
Copy link

@gomathip02 what are your thoughts on #1485?

@KirillOsenkov
Copy link
Member

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
Copy link

also see microsoft/WindowsAppSDK#41 and dotnet/winforms#5166

@aborn
Copy link

aborn commented Mar 4, 2024

https://github.com/AngryCarrot789/WPFDarkTheme This proj provides drakmode style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question General question, not a problem in source code or documentation (yet)
Projects
None yet
Development

No branches or pull requests

6 participants