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

Create Unit Tests for CSS Color Variables Alignment with Figma Token JSON #612

Closed
georgewrmarshall opened this issue Feb 5, 2024 · 0 comments · Fixed by #719
Closed
Assignees
Labels
code Issue related to code work team-design-system All issues relating to design system

Comments

@georgewrmarshall
Copy link
Collaborator

georgewrmarshall commented Feb 5, 2024

Description

If spike ticket #668 fails, this ticket is no longer valid.

We need to create unit tests to ensure that the values in the CSS variables are aligned with the source of truth, which is the Figma token JSON. This will help us maintain consistency and catch any discrepancies early.

Technical Details

  • Create unit tests that check the CSS variables

Acceptance Criteria

  • Unit tests are created that check the values of the CSS variables against the Figma token JSON.
  • The tests should fail if there are any discrepancies between the CSS variables and the Figma token JSON.
  • The tests should pass if the CSS variables are correctly aligned with the Figma token JSON.

Additional Information

Once the tests are created, they should be run as part of the regular testing suite to ensure ongoing alignment between the CSS variables and the Figma token JSON.

@georgewrmarshall georgewrmarshall added code Issue related to code work team-design-system All issues relating to design system labels Feb 5, 2024
@garrettbear garrettbear changed the title Create Unit Tests for CSS Variables Alignment with Figma Token JSON Create Unit Tests for CSS Color Variables Alignment with Figma Token JSON Apr 25, 2024
@brianacnguyen brianacnguyen self-assigned this May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code Issue related to code work team-design-system All issues relating to design system
Projects
None yet
2 participants