Skip to content

[Design Tokens]: Create Unit Tests for CSS Typography Variables Alignment with Figma Token JSON #158

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

Open
brianacnguyen opened this issue Jun 4, 2024 · 0 comments · May be fixed by #697
Assignees

Comments

@brianacnguyen
Copy link
Contributor

brianacnguyen commented Jun 4, 2024

Description

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 Typography 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.

@brianacnguyen brianacnguyen self-assigned this Jun 4, 2024
@brianacnguyen brianacnguyen changed the title Copy of Create Unit Tests for CSS Color Variables Alignment with Figma Token JSON Create Unit Tests for CSS Typography Variables Alignment with Figma Token JSON Jun 4, 2024
@georgewrmarshall georgewrmarshall changed the title Create Unit Tests for CSS Typography Variables Alignment with Figma Token JSON [Design Tokens]: Create Unit Tests for CSS Typography Variables Alignment with Figma Token JSON Nov 26, 2024
@georgewrmarshall georgewrmarshall transferred this issue from MetaMask/design-tokens Nov 26, 2024
@georgewrmarshall georgewrmarshall linked a pull request May 25, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants