Typography

Three purposeful typefaces, set via CSS custom properties and mapped into Tailwind. Everything else — size, weight, leading — is standard Tailwind utility classes.

Typefaces

Display — Syne 600

font-display · var(--font-display) · Headings only

The quick brown fox

Body — Instrument Sans 400 / 500 / 600

font-body · var(--font-body) · All UI copy

The quick brown fox jumps over the lazy dog

Code — JetBrains Mono 400 / 500

font-code · var(--font-code) · Code blocks and token names

const greeting = "Hello, world!";

Scale

Standard Tailwind text sizes — no custom scale needed.

ClassSizePreviewUsage
text-xs12pxAaCaptions, labels, table cells
text-sm14pxAaBody text, descriptions, UI copy
text-base16pxAaLarge body, input values
text-lg18pxAaBrand / wordmark, section intros
text-xl20pxAaSub-headings, large callouts
text-2xl24pxAaSection headers (h2)
text-3xl30pxAaDashboard / sidebar h1
text-4xl36pxAaPage titles (h1)
text-5xl48pxAaMarketing hero (mobile)
text-6xl60pxAaMarketing hero (md+)

Weight

ClassValuePreviewUsage
font-normal400The quick brown foxBody copy
font-medium500The quick brown foxSlightly emphasised UI text
font-semibold600The quick brown foxDisplay headings (Syne), labels, buttons, table headers
font-bold700The quick brown foxStrong emphasis
font-extrabold800The quick brown foxBrand / wordmark only (Syne)