-
Notifications
You must be signed in to change notification settings - Fork 0
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
style(tokens): new token sets for core, semantic, and branding #318
base: main
Are you sure you want to change the base?
Conversation
Dependency Review✅ No vulnerabilities or license issues found.Scanned Manifest Files |
✅ Deploy Preview for pine-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
f24849f
to
a38db0b
Compare
1adf5af
to
72e4465
Compare
6359315
to
ad6baaf
Compare
8d35d5e
to
0a30eb6
Compare
they have been moved to the tokens/base folder
…h token names in values
this is temporary because we'd like to have this as a separate library
* fix: adjust color token values * fix: adjust missed blue values * style(tokens): new colors --------- Co-authored-by: Julian Skinner <ju.skinner@gmail.com>
* style: updates some components with semantic tokens * style(chip): update chip to use component semantic tokens * style(input): create new component specific semantic tokens created input.json for tokenstudio updated both the themes and metadata.json files --------- Co-authored-by: Julian Skinner <ju.skinner@gmail.com>
710c02a
to
066fec9
Compare
0bc18c6
to
4d16ecb
Compare
4d16ecb
to
5c69f0f
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.
I have a few questions, but this is off to an awesome start. If anything is unclear or I am misunderstanding, jut let me know.
|
||
border-radius: var(--border-radius-default); | ||
border-radius: var(--pine-dimension-xs); |
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.
Should this be a border-radius token?
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.
See comment below
height: var(--sizing-input); | ||
background-color: var(--pine-color-secondary); | ||
border: var(--pine-border); | ||
border-radius: var(--pine-dimension-2xs); |
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 am confused by the dimension
token, is this replacing spacing? Also in some areas, a radius token (e.g. --pine-border-radius-round
) is used and in others its dimensions (e.g. --pine-dimension-2xs
).
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.
padding-block: var(--pine-dimension-2xs); | ||
padding-inline: var(--pine-dimension-025); |
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 dimensions tshirt sizing or a numeric scale?
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.
T-shirt sizing is only for a small defined set of semantic tokens. Core tokens are still numeric. This particular token has no corresponding semantic token, so we defaulted back to core.
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 a blocker, but maybe we think about having these assigned to a component token, just so it's obvious it's a one-off.
/** | ||
* Do not edit directly, this file was auto-generated. | ||
*/ | ||
|
||
:root { | ||
--pine-border-radius-0: 0px; |
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.
Is it possible to remove the unit (px) from the 0 values. 0 is usually unitless.
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.
This is a style dictionary thing. We don't have control over that.
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.
Thanks for the clarifications. LGTM!
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.
Good to go. Great work!
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.
Since we tackled this together, my approval is biased, but thanks for keeping this PR in line through all our changes.
Description
Adds semantic tokens to our Design System, leveraging both Token Studio and Style Dictionary
Fixes #(issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist:
If not applicable, leave options unchecked.