-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
[UX] Improved brush management + styles #788
[UX] Improved brush management + styles #788
Conversation
@pomianowski Would love to get your feedback on this approach before I continue with the other controls! |
Hey @niels9001, thanks for your next contribution to WPF UI. I will try to prepare the WPF UI Gallery settings page to enable the use of High Contrast, it will be easier to test everything. It's also worth modifying src/Wpf.Ui/Appearance/SystemThemeWatcher.cs to properly detect when the high contrast theme is set. I also noticed that Windows offers several high contrast themes, I think it's worth customizing the look for all of them. |
@pomianowski Sounds great.. was planning to get this PR in first (to update all control styles) and add the high contrast brushes in a second PR? Does that make sense? 100% agree on the multiple high contrast brushes. Once we have 1 we can creste multiple? Can we already detect which one is running? |
I noticed that setting
|
Thanks! Should be fixed now! |
Okay, let's close this PR here for now and further changes can be made in subsequent ones. |
This PR changes the hardcoded brushes for
Button.xaml
to dedicated Button-named brushes inLight/Dark.xaml
Addressing #777
First phase (= this PR):
Light.xaml
andDark.xaml
HighContrast.xaml