Typography
Font families, text styles and font tokens.
Usage
Components use the semantic tokens through their CSS variables; the primitives are only what they point to. Copy a variable from its card.
.title {
font: var(--typography-heading-sm);
letter-spacing: var(--letter-spacing-font-heading-sm-tracking);
}Font families
DM Sans
font/family/sansWeights the text styles use: 300 · 400 · 500 · 600 · 700 · 800
Fragment Mono
font/family/monoWeights the text styles use: 400
Text styles
A text style is its --typography-* font shorthand plus its letter-spacing variable: the font shorthand cannot carry letter-spacing.
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
