-
Notifications
You must be signed in to change notification settings - Fork 26
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: use design tokens for text-input #443
Conversation
@@ -1,19 +1,13 @@ | |||
/* Base */ | |||
|
|||
.container { |
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 didn't do anything
I also did |
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.
Looks sharp! 👌
Glad to see that we're using more design tokens now!
label: Font sizes | ||
prefix: font-size | ||
choices: | ||
font-size-m: '13px' |
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.
What does -m
mean?
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.
The size I suppose, so medium.
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.
yeah, exactly
Summary
Talking about tokens is nice. But it's not really enough.
Approach
Use design tokens in the
TextInput
component.Since we are using
yaml
for our design token definition file, we also set prettier to format our yaml files.