-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Borders and icons fix for Windows' high contrast mode #619
Conversation
@ludoboludo Looking good. A few things:
|
1139dfd
to
357d8d6
Compare
assets/template-collection.css
Outdated
@media screen and (forced-colors: active) { | ||
.collection-filters__sort { | ||
border: none; | ||
} | ||
} |
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.
@svinkle what about just removing the border overall ? So it has the same look as when it's not using windows' high contrast mode ?
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 great! Thanks for doing this, I have never seen these new properties and media query so this is interesting 👍
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.
LGTM
62be7cb
Sorry @svinkle & @tauthomas01, I just pushed one last thing I noticed. When adding to the cart, while the submit button had |
9f3a441
Annnnd same thing again. Facet filter on search page got merged so it created some conflicts I had to fix. Sorry for the re request. 😬 |
LGTM |
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.
Facets work well
Why are these changes introduced?
Fixes #408
What approach did you take?
Followed the suggestion from the issue. Using a media query specific to when high contrast mode is used.
Other considerations
Demo links
Checklist
Testing
The loading spinner for the
add to cart
is not coming up properly but it's being changed in another PR to remove the disabled attribute (#582).