-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
chore: OPTIC-1842: Update the css variables for colors to support RGB and drop the primitive prefixes on all variables #7269
base: develop
Are you sure you want to change the base?
Conversation
… and drop the primitive prefixes on all variables
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
--grape_600: var(--color-primitive-grape-600); | ||
--grape_700: var(--color-primitive-grape-700); | ||
--grape_800: var(--color-primitive-grape-800); | ||
--grape_500: var(--color-grape-500); |
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.
lets remove -grape_500-raw
if we're no longer using 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.
One thing I have to still figure out, is how we are going to approach the raw values in general. Still sorting that out actually, but also whatever we do there, we have to remember about the other theming that was done against these old raw values.
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.
ahh ok, sounds like a follow up PR
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.
minor feedback - other wise looks good
Reason for change
The design tokens required an alignment of the naming used for the css vars, as well as support rbg and transparency values so they will directly work with the upcoming Dark Mode.
Storybook
Added all design tokens to storybook so they can be searched and visualized, so we can continue to iterate components and other design elements collaboratively and with high visibility.