-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Updating red colour for errors #676
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
Conversation
👋 Thanks for opening your first pull request. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines. You can also join #polaris on the Shopify Partners Slack. |
Thanks for pinging me! Should we update the style guide's related section and be prescriptive about the using the dark shade of red for errors? See https://polaris.shopify.com/design/colors#section-color-usage |
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! Made a small suggestion on the unreleased comment. I think it might be better?
🎩 also looks good. Thanks for contributing!
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.
Code and 🎩 👀 🏅Thanks Taryn!! 🚢
@kaelig Since the accessibility section covers contrast standards, I'm not sure it's necessary to specify the shade of red since the shade varies by the context it's used for (background, text etc) and the other colors don't specify shade. Updating the illustrations to match the colors we use makes sense, but may be overkill. |
2a5d385
to
6a9fbe4
Compare
🎉 Thanks for your contribution to Polaris React! |
WHY are these changes introduced?
Resolves #651
WHAT is this pull request doing?
Updating
InlineError
, borders on our form fields and the Error Icon to be the same red.How to 🎩
Copy-paste this code in
playground/Playground.tsx
:🎩 checklist