Skip to content
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

Merged
merged 8 commits into from
Apr 17, 2020
Merged

Flash alert refresh #1071

merged 8 commits into from
Apr 17, 2020

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Apr 16, 2020

This refreshes the .flash alerts. Before | After. Changes include:

  • Tweaked colors
  • Tweaked octicons
  • Tweaked close button
  • Action button border

image

API changes

  • None

/cc @primer/ds-core

@vercel
Copy link

vercel bot commented Apr 16, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/primer/primer-css/irulxxlnz
✅ Preview: https://primer-css-git-next-4.primer.now.sh

@simurai simurai requested a review from auareyou April 16, 2020 11:47
Copy link
Contributor

@auareyou auareyou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

Copy link
Contributor

@auareyou auareyou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@BinaryMuse BinaryMuse mentioned this pull request Apr 16, 2020
10 tasks
@vercel vercel bot temporarily deployed to Preview April 17, 2020 03:19 Inactive
@vercel vercel bot temporarily deployed to Preview April 17, 2020 03:28 Inactive
@simurai simurai marked this pull request as ready for review April 17, 2020 06:01
@vdepizzol
Copy link
Contributor

@simurai @auareyou I guess the dismiss icons need to pass AA contrast requirements since they're actionable elements? ✌️

@auareyou
Copy link
Contributor

auareyou commented Apr 17, 2020

@simurai @auareyou I guess the dismiss icons need to pass AA contrast requirements since they're actionable elements? ✌️

For icons the requirement is 3:1 so these are fine! :) @vdepizzol

@simurai
Copy link
Contributor Author

simurai commented Apr 17, 2020

For icons the requirement is 3:1 so these are fine!

👍 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 3.12:1:

Screen Shot 2020-04-17 at 3 40 25 PM

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants