How this site is built.
A tiny design system: a few tokens, one typeface, and decisions written down. Switch your OS theme and the swatches below update live.
Color
--bgPage background--textBody text, active links--linkLinks and secondary text--accentBrand detail, hover underline--borderDividers
Type
Native humanist stack (Seravek, Calibri or Ubuntu, depending on the OS) and the system monospace for code. No web fonts are downloaded.
Weight
The home page, measured at build time: 6.5 KB gzipped (first-party) · 6 scripts · 0 web fonts.
- Aa3rem · 500 · Hero name (desktop)
- Aa2.25rem · 500 · Page titles
- Aa1.75rem · 400 · Hero headline (mobile)
- Aa1rem · 300 · Body
- Aa0.8rem · 300 · Footer
Decisions
- Contrast before taste
- The template's #9b9b9b gray failed WCAG AA (2.77:1). It became #767676, the lightest gray that still passes at 4.54:1.
- Menu in the thumb zone
- On mobile the menu button sits bottom-right, where a thumb actually reaches. Its 48px target is above the 44px minimum recommended by WCAG 2.5.5 and Apple's Human Interface Guidelines, and matches Material Design's 48dp.
- Light and dark from the same tokens
- Components only reference tokens. Dark mode redefines five values under prefers-color-scheme; nothing else changes.
- Almost no JavaScript
- Static Astro pages with scoped CSS. Scripts are limited to the mobile menu, the theme switch, a command palette (press ⌘K) and cookieless analytics (Umami, ~2 KB). Page transitions are native CSS view transitions.
- Motion that steps aside
- Hero entrance and page transitions only run when the OS allows motion (prefers-reduced-motion).