Skip to content

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

Geist

The quick brown fox jumps over the lazy dog.

Aa Bb Cc 0123

--font-mono

Mono — JetBrains Mono

Code, mono

JetBrains Mono

const davinci = 'typography';

Aa Bb Cc 0123

--font-serif

Serif — Instrument Serif

Display, hero

Instrument Serif

Editorial display

Aa Bb Cc 0123

Type Scale#

Display — DavinciUI

48px7001

H1 — DavinciUI

36px7001.1

H2 — DavinciUI

30px6001.1

H3 — DavinciUI

24px6001.2

H4 — DavinciUI

20px6001.3

Body Large — DavinciUI

18px4001.625

Body — DavinciUI

16px4001.75

Body Small — DavinciUI

14px4001.5

Caption — DavinciUI

12px4001.33

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#

Label — uppercase tracking-widestCaption — 12px mutedOverline — 11px

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-6 or text-base leading-7
  • Use --font-serif for editorial display, --font-mono for code
  • Keep line-length ≤ 65ch for prose