TokensTypography
Typography
Fluid typography scales using CSS clamp() for responsive sizing. Choose between two modular scales based on your content needs.
11
Type Sizes
6
Line Heights
8
Font Weights
2
Type Scales
Type Scale Comparison
Major Second (1.125)
Conservative scale with subtle size progression
Best for: Dashboards, data-dense interfaces, admin panels
Major Third (1.25)
Expressive scale with dramatic size contrast
Best for: Marketing sites, editorial content, landing pages
Type Scale
11 fluid sizes from caption to hero · Click variable to copy
Line Heights
6 unitless ratio values · Click variable to copy
1
None
Text only
1.25
Tight
Headings
1.375
Snug
Compact
1.5
Normal
Body default
1.625
Relaxed
Comfortable
2
Loose
Max readability
Font Weights
8 weight values from thin (100) to black (900)
Thin
Light
Normal
Medium
Semibold
Bold
Extrabold
Black
Usage Example
/* Use Major Third scale (mt) for marketing sites */
.hero-heading {
font-size: var(--font-size-6xl--mt);
font-weight: var(--font-weight-bold);
line-height: var(--line-height-tight);
}
/* Use Major Second scale (ms) for dashboards */
.dashboard-heading {
font-size: var(--font-size-4xl--ms);
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-snug);
}
.body-text {
font-size: var(--font-size-md--mt);
line-height: var(--line-height-normal);
}