-
Notifications
You must be signed in to change notification settings - Fork 68
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
WHCM styles improvements #455
Conversation
stroke: $color--white; | ||
stroke-width: 1px; | ||
stroke: currentColor; | ||
stroke-width: 4px; |
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.
Here we're affecting designs in a non-contrast mode, we need to add media query to target forced-colors only
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.
The stroke: currentColor
does not seem to have any effect on the regular rendering. In my opinion the stroke-width
increase would be an improvement to the base design, it's not my place to decide that, so I agree with Albina's suggestion to move these rules into a media query.
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.
Thanks @Scotchester @albinazs - I've moved the use of currentColor
into a media query, but left stroke-width
because this is part of another minor issue in the audit. I think it would be better to keep the increased width so that the nav CTA is more distinguishable as a link.
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.
Ah, gotcha! If we are considering the thin stroke an accessibility issue as well, then I am happy to have the change :)
thank you, @shyusu4! great stuff!:) |
Good stuff, @shyusu4! Just the one thing where we need the media query that Albina noticed before we can approve. |
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀 |
#454
Description
This pull request addresses styling issues related to windows high contrast mode. The following issues have been fixed:
Note - Dark/light mode theme toggle was meant to not be displayed in HCM but used
prefers-contrast
instead offorced-colors
active.Screenshots