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

Conversation

@georgewrmarshall
Copy link
Collaborator

@georgewrmarshall georgewrmarshall commented May 20, 2022

Description

PR #144 made it evident that we do not have sufficient testing for the typography objects in the figma token json.

This PR updates tests to check against the typography style objects from the figma json rather than just checking the individual tokens(fontSize, fontFamily, letterSpacing, etc) that make up the typography styles.

It also includes one update to the letter spacing tokens for S-Body-SM-Bold and S-Body-SM

Fixes: #146

@georgewrmarshall georgewrmarshall added typography Tokens related to typography code Issue related to code work labels May 20, 2022
@georgewrmarshall georgewrmarshall requested a review from a team as a code owner May 20, 2022 19:28
@georgewrmarshall georgewrmarshall self-assigned this May 20, 2022
@metamaskbot
Copy link
Collaborator

Builds ready [ab1c9e2]

Copy link
Contributor

@Cal-L Cal-L left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@georgewrmarshall georgewrmarshall merged commit 649f067 into main May 24, 2022
@georgewrmarshall georgewrmarshall deleted the update/146/typography-tests branch May 24, 2022 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

code Issue related to code work typography Tokens related to typography

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve testing for typography tokens

4 participants