Typography
The type scale and font pairing used across the Bones design system.
Fonts
Sans — Lato
The quick brown fox
Default UI and body text. --font-sans / font-sans
Mono — Geist Mono
The quick brown fox
Code, tokens, and technical values. --font-mono / font-mono
Bones type scale
The design system’s own named sizes — each bundles font size, line height, letter spacing, and weight into one utility class.
Page and section headers
| Style | Usage |
|---|---|
Page title text-page-title |
|
Page subtitle text-page-subtitle |
|
Section title text-section-title |
|
Section subtitle text-section-subtitle |
|
Container title text-container-title |
|
Base styles
| Style | Usage |
|---|---|
Base — the default body text size for this system. text-base |
|
Base semibold text-base-semibold |
|
Base semibold italic text-base-semibold-italic |
|
Base small text-base-small |
|
Base small italic text-base-small-italic |
|
Supporting styles
| Style | Usage |
|---|---|
text-button |
|
Tab label text-tab-label |
|
Tab label small text-tab-label-small |
|
Table header text-table-header |
|
const bones = true text-code font-mono |
|
Badge small text-badge-small |
|