-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat(tags): new light/dark mode colors #1809
Conversation
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 great! 🔥 🚀
@@ -6,8 +6,8 @@ | |||
*/ | |||
|
|||
import React from 'react'; | |||
import { render, renderRtl } from 'garden-test-utils'; | |||
import { PALETTE, getColorV8 } from '@zendeskgarden/react-theming'; | |||
import { render, renderDark, renderRtl } from 'garden-test-utils'; |
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.
Thorough testing! 💯
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.
LGTM! thanks for knocking these out!
Description
Verified the following in both light and dark modes:
<Tag>
<Tag hue="grey">
and<Tag hue="neutralHue">
<Tag hue="blue">
and<Tag hue="primaryHue">
<Tag hue="red">
and<Tag hue="dangerHue">
<Tag hue="green">
and<Tag hue="successHue">
<Tag hue="yellow">
and<Tag hue="warningHue">
<Tag hue="azure">
<Tag hue="lemon">
<Tag hue="#FD5A1E">
Detail
Note there are two outstanding questions with design:
<Tag hue="grey">
Tag.Close
buttonNote that when testing with Storybook, a string can be manually entered into the
hue
color picker – often resulting in an error. Simply click the "Remount component" button in the toolbar once you've entered the correct value.Checklist
npm start
)renders as expected with reversed (RTL) direction?bedrock
)tested in Chrome, Firefox, Safari, and Edge