Fonts
Defining fonts is as easy as defining colors or spacings, just use fonts
property in config:
As you can see fonts are just objects with CSS properties. You can make font sizes or line heights responsive with @{breakpoint}
notation.
Master tokens
Below we're showing master tokens for fonts:
Token
Description
$body
Main body text font
$body.bold
Bold main body.
$body2
Smaller body text font.
$body2.bold
Bold small body.
$heading1
Heading 1 (biggest)
$heading2
Heading 2
$heading3
Heading 3
$heading4
Heading 4 (smallest)
If you only have 1 body text or 2 headings then remember that you can map one of your custom tokens to multiple Shopstory master tokens. For example, if you have only 1 body style without bold you can map it to all of the Shopstory body font tokens.
Last updated