Open jonathantneal opened 2 years ago
Would there be any value in having just the --font-body-1-font-family
--font-body-1-font-size
etc tokens then? Or should we just ship --font-body-1
? Letter spacing is the odd one out here though.
which makes me think maybe utility classes are the way to go here?
In the current CSS export of tokens, providing font styles to an element can feel lengthy and prone to error.
The verbosity can be reduced from 5 lines to 2 lines by providing a token for the
font
property.Such a token would look something like this: