-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Flash alert refresh #1071
Flash alert refresh #1071
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/primer/primer-css/irulxxlnz |
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.
🙌
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 good!
For icons the requirement is 3:1 so these are fine! :) @vdepizzol |
👍 Found this post: "The cross icon requires a contrast ratio of at least 3:1 against its background." Looks like we're just above with all color variations.. here the default blue that has Ok, let's test this on dotcom. We're also considering a "high contrast" option where we could make the close button darker. There are probably a lot of other places where contrast isn't enough. |
This refreshes the
.flash
alerts. Before | After. Changes include:API changes
/cc @primer/ds-core