-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat(tokens): add typography based sizing #2796
base: next
Are you sure you want to change the base?
Conversation
|
Preview deployments for this pull request: Storybook - Storefront - |
Coverage Report
File CoverageNo changed files found. |
renamed calculation -> global Created alias for typography tokens
reconnected global size to sm, md and lg expanded themes to include new typography size sets
ce430b8
to
b1f2e0e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I found a few things that could be issues.
@@ -2433,12 +2433,12 @@ export const dimension = [ | |||
}, | |||
{ | |||
$type: "dimension", | |||
$value: "0rem", | |||
$value: "NaN", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these values used anywhere? If they are, I think everything becoming NaN
would be a problem 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blæææ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how to fix this in the short term 🤔 Got any ideas?
Resolves: #2674
Added small, medium and large scales for Figma
Remaining work