Tokens
What are Tokens ?
Design Tokens are [key, value]
pairs that define design choices such as Color
, Typography
, or Scale
. Tokens
are defined using CSS variables, and are sometimes styled via native HTML tags (ex: Typography
rules can target h1
elements directly).
Tokens
provide the base values used to build Blocks
, Layouts
, and Recipes
.
All the tokens that are currently defined can be found in the CSS library’s tokens folder
Resources
- W3C Design Tokens Community Group
- Open Props : A design tokens library
- Cobalt UI: The tool I used to generate the design tokens from JSON files
- Style Dictionary: Another tool to generate design tokens
playbook
Typography
Fox Jumps Over Dog
Fox Jumps Over Dog
Fox Jumps Over Dog
Fox Jumps Over Dog
Fox Jumps Over Dog
Fox Jumps Over Dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog