① Typography Scale
Display Heading (--text-2xl)
Page Title (--text-xl)
Section Heading (--text-lg)
Body text at --text-base. Readable, comfortable, 16–18 px range. This is what all body copy looks like across every page on the site.
Small text (--text-sm) — used in nav links, card CTAs, and captions.
Tiny label (--text-xs) — metadata, demo labels, badges.
② Colour Tokens
Toggle dark/light with the button in the header to see how tokens adapt automatically.
③ Card Blocks — use class="card-block" on an <a> tag
⑤ Theme Toggle
The sun/moon icon in the header toggles dark ↔ light mode. The preference is saved in localStorage so it persists across page loads and all pages.
⑥ Prose / Article Layout — wrap content in <main class="prose">
⑦ Token Quick Reference
| Token | Purpose |
|---|---|
--color-bg | Page background |
--color-surface | Card / header surface |
--color-text | Primary body text |
--color-text-muted | Secondary / description text |
--color-text-faint | Metadata / placeholder text |
--color-accent | Brand orange — links, CTAs, pills |
--color-border | Subtle dividing lines |
--space-1 → --space-20 | 4 px spacing scale |
--radius-sm/md/lg/full | Border-radius tokens |
--transition | Standard easing curve |
--shadow-sm/md/lg | Box-shadow levels |
--font-body | Body typeface (Inter) |