Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Visualize CSS and JS Color Tokens in Storybook #595

Closed
georgewrmarshall opened this issue Jan 23, 2024 · 0 comments · Fixed by #594
Closed

Visualize CSS and JS Color Tokens in Storybook #595

georgewrmarshall opened this issue Jan 23, 2024 · 0 comments · Fixed by #594
Assignees
Labels
team-design-system All issues relating to design system

Comments

@georgewrmarshall
Copy link
Collaborator

Description

Previously, we didn't have a way to visualize the changes in CSS, and JavaScript color tokens. The current storybook renders the Figma token json. So we had to manually ensure that the hex values were the same across all these platforms. This process was prone to errors and inconsistencies.

We need to introduce a visualization of the CSS and JS color tokens along with the Figma token json. Now, we can visually check that any token updates are correctly reflected across all token formats. This will help us maintain consistency and catch any discrepancies early.

Technical Details

  • Update brand, light theme and dark theme stories to include JS and CSS color tokens

Acceptance Criteria

  • A visualization of the CSS and JS color tokens along with the Figma token json is available in Storybook

Additional Information

Once the script is created, it should be tested by running it and checking the output JSON file. The JSON file should then be used in a Storybook story to ensure it works as expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team-design-system All issues relating to design system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant