Skip to content
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

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

bmartel
Copy link
Contributor

@bmartel bmartel commented Mar 21, 2025

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.

Screenshot 2025-03-21 at 4 51 52 PM

@github-actions github-actions bot added the chore label Mar 21, 2025
Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 82c2963
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/67dddf905cbeaf0008b562b7

Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit 82c2963
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-storybook/deploys/67dddf90d0b07800098e0be8
😎 Deploy Preview https://deploy-preview-7269--label-studio-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 82c2963
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/67dddf90dd868e0008010b3d

@bmartel bmartel requested a review from yyassi-heartex March 21, 2025 21:53
--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);
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Contributor

@yyassi-heartex yyassi-heartex left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants