-
Notifications
You must be signed in to change notification settings - Fork 12
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
css-library: add source-sans normalize token, rename base to root #1399
Changes from all commits
3643807
195cc35
24abb26
506d020
3892788
9883387
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
}, | ||
"size": { | ||
"sm": { "value": "0.938rem" }, | ||
"base": { "value": "1rem" }, | ||
"root": { "value": "1rem" }, | ||
"md": { "value": "1.063rem" }, | ||
"lg": { "value": "1.25rem" }, | ||
"xl": { "value": "1.875rem" }, | ||
|
@@ -43,6 +43,8 @@ | |
"heading": { "value": "1.2" } | ||
}, | ||
"size": { | ||
"source-sans-normalized": { "value": "1.06rem" }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @powellkerry I looked back at our original slack conversation. Currently in this PR we're just generating a |
||
"root": { "value": "1rem" }, | ||
"body": { | ||
"large": { "value": "20px" }, | ||
"lead": { "value": "20px" }, | ||
|
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.
@powellkerry @micahchiang If we're renaming
font-size-base
tofont-size-root
, then anywhere we use this token will need to be updated for the name change. If that's the case, why wouldn't we point to the newly addedvads-font-size-root
instead? They both have the same value/meaning, right? What are the reasons we need to have both these tokens?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.
I was wondering about that but thought I would leave it until someone validated my thoughts :) The --vads--font-size-root should be removed now.
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.
@powellkerry @danbrady - I added a comment below. We can keep the css custom property that gets generated -
font-size-root
- because the original,font-size-base
, wasn't being used anywhere in vets-website.