Colophon
How this site is made.
01 — Stack
- Astro
- Static pages, content collections and MDX
- TypeScript
- Strict, everywhere
- Tailwind CSS
- Design tokens as CSS variables
- Cloudflare Workers
- Hosting, deployed from GitHub
- Vitest and Playwright
- Unit, browser and accessibility tests (axe)
- Lighthouse CI
- Fails the check if a key page scores under 95
02 — Type
- Clash Display
- Headlines and big numbersIndian Type Foundry, via Fontshare
- DM Sans
- Body text and interfaceColophon Foundry, via Google Fonts
- DM Mono
- Labels and codeColophon Foundry, via Google Fonts
- DM Serif Display
- One accent word, in italicsColophon Foundry, via Google Fonts
03 — Video
- Every loop is encoded by a script (ffmpeg) into WebM and MP4 at two widths, with posters in AVIF and WebP, and fails the build if it goes over budget.
- Loops load just before they scroll into view, play only while visible, two at a time at most, and stay posters with reduced motion, Save-Data or a slow connection.
- The ShopAm, EdKiva, Atlas and Majeezy card loops are composed from real screens and rendered frame by frame, in a dark and a light version.
04 — Lighthouse
Lighthouse CI on mobile, the median of three runs, measured .
| Page | Performance | Accessibility | Best practices | SEO |
|---|---|---|---|---|
| Home | 100 | 100 | 100 | 100 |
| Work | 100 | 100 | 100 | 100 |
| Tooldo case study | 100 | 100 | 100 | 100 |