Typography
Current type system — Geist sans/mono and Instrument Serif. Scale below reflects actual implementation; token formalization will follow.
Introduction#
Typography is set via CSS variables (--font-sans, --font-mono, --font-serif, --font-display) and Tailwind size/weight/leading utilities. No new scale is invented here.
Font Families#
--font-sans
Sans — Geist
UI, body, headings
The quick brown fox jumps over the lazy dog.
Aa Bb Cc 0123
--font-mono
Mono — JetBrains Mono
Code, mono
const davinci = 'typography';
Aa Bb Cc 0123
--font-serif
Serif — Instrument Serif
Display, hero
Editorial display
Aa Bb Cc 0123
Type Scale#
Display — DavinciUI
H1 — DavinciUI
H2 — DavinciUI
H3 — DavinciUI
H4 — DavinciUI
Body Large — DavinciUI
Body — DavinciUI
Body Small — DavinciUI
Caption — DavinciUI
Headings#
Heading 1 — Bold 36px
Heading 2 — Semibold 30px
Heading 3 — Semibold 24px
Heading 4 — Semibold 20px
Use tracking-tight for headings; hero display uses --font-display.
Body#
Body
DavinciUI is a design system for building polished React interfaces. Body text uses text-base leading-7 for comfortable reading.
Body Small
Secondary descriptions and card copy use text-sm leading-6 with text-muted-foreground.
Labels & Captions#
Code#
const tokens = { color: "var(--primary)" }
// JetBrains Mono — use for code, kbd, and mono labels
Weights#
Regular 400 — Body
Default for prose
Medium 500 — UI labels
Buttons, nav
Semibold 600 — Headings
H2–H4
Bold 700 — Display
Hero, H1
Specimen#
Specimen
Aa
The quick brown fox jumps over the lazy dog.
0123456789 — !@#$%^&*()
DavinciUI — Aa 0123 — const x = 42;
Usage Guidance#
- Headings:
text-2xl font-semibold tracking-tight - Body:
text-sm leading-6ortext-base leading-7 - Use
--font-seriffor editorial display,--font-monofor code - Keep line-length ≤ 65ch for prose

