Skip to content
Discussion options

You must be logged in to vote

We currently recommend against using multiple versions of a scale, like responsive tokens, and instead, we suggest putting tokens into a single scale.

For example, say we wanted to organize a fontSizes for wider desktop and narrower mobile uses in Text and Heading components. We would recommend creating a single fontSize scale, and then creating Text and Heading components with immutable size variants (at least for Text) referencing values from fontSizes.

Replies: 7 comments 10 replies

Comment options

You must be logged in to vote
4 replies
@weslleyaraujo
Comment options

@jonathantneal
Comment options

@peduarte
Comment options

@weslleyaraujo
Comment options

Comment options

You must be logged in to vote
2 replies
@peduarte
Comment options

@BenBeattieHood
Comment options

Comment options

You must be logged in to vote
1 reply
@mpkelly
Comment options

Answer selected by jonathantneal
Comment options

You must be logged in to vote
1 reply
@peduarte
Comment options

Comment options

You must be logged in to vote
2 replies
@predaytor
Comment options

@samuelpetroline
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
10 participants