-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(notification): update focus styles for low contrast #5978
Conversation
Deploy preview for carbon-elements ready! Built with commit 5193768 |
Deploy preview for carbon-elements ready! Built with commit 2e8a7d5 |
Deploy preview for carbon-components-react ready! Built with commit 2e8a7d5 https://deploy-preview-5978--carbon-components-react.netlify.app |
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.
Thanks for fixing that 👍 ✅
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 to me, should this get a visual review as well?
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.
@laurenmrice I believe the haze is coming from the styles for the ghost button if I understand correctly. Would we want to remove them? For the outline, it should be using the 2px focus styles 👀 |
When I view the ghost button story and apply focus, it is not applying that visual overlay/haze look. I think this has something to do with how we are treating it in the notification component. When I was referring to 2px focus outline, the close icon outline is correct, it is the Action button that needs the 2px outline, it is currently at 1px. This is also different from how the ghost button story is, so I think it is only happening here. |
@laurenmrice Sounds good! Thanks so much for clarifying. Let me take a look 😄 |
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.
Thank you Josh ! Everything looks great 🙌🏻
* fix(notification): update focus styles for low contrast * Update _inline-notification.scss * fix(notification): update focus styles for action button * fix(notification): update hover and focus styles for action button * fix(notification): update colors according to new spec Co-authored-by: TJ Egan <[email protected]>
Closes #5977
Updates focus styles for low-contrast to be applied on
:focus
Changelog
New
Changed
Removed