-
Notifications
You must be signed in to change notification settings - Fork 526
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
Use open/closed colors for StateLabel
#3041
Conversation
🦋 Changeset detectedLatest commit: 968ce29 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
@joshblack I added the |
Hey @simurai! Thanks for bringing this up, fixed a bug with how the snapshots were being uploaded to make sure the missing ones were brought in 👀 For the a11y violations, are those contrast violations expected? If so, happy to batch them up with the other tests where we are ignoring them but just wanted to double-check with you first 👍 |
This reverts commit c53a8da.
Ahh.. yes. I can see the contrast failing in Storybook too. There are potential solutions, but that's something that would need to be fixed in Primitives. Is there a way to add an exception for now? |
@simurai definitely! Just pushed something up for it. For any tests that we want to ignore color contrast, we can omit the options passed to |
Thanks. 🙇 All checks pass now. 👍 |
All checks pass now. 👍 Thanks. 🙇 |
This is a follow-up to https://github.com/github/primer/issues/725 and replaces the
success/danger
colors withopen/closed
colors forStateLabel
. See ADR for reasoning. Note that only color blind themes are affected.Closes #3038
Screenshots
Please provide before/after screenshots for any visual changes
This should match PVC's State component for the color blind themes:
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.