-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Improve color contrast of reset button in SUI #17912
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
@@ -73,6 +76,9 @@ | |||
ResourceKey="SystemColorWindowTextColorBrush" /> | |||
<StaticResource x:Key="SettingContainerMessageForeground" | |||
ResourceKey="SystemColorWindowTextColorBrush" /> | |||
|
|||
<StaticResource x:Key="SettingContainerResetButtonIconForeground" | |||
ResourceKey="SystemAccentColorLight1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not know if this is correct in High Contrast - is there a more "contrasty" button content resource we should use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like WinUI doesn't provide a recommendation here. But we got approval from the a11y folks: #17902 (comment)
I also like this value because it keeps the accent color in use, so the app still looks and feels personalized to the user.
Adds a theme resource for the color of the reset button in the settings UI.
Closes #17902