Feature 05 task 1: Design tokens and self-hosted fonts #32

2 Commits
Author SHA1 Message Date
dev_agentandClaude Opus 5.5 dd4412a414 Scan all of web/ for hex colour literals
Independent review Codex gpt-6-sol high: APPROVED (0 findings)
CI / ci (pull_request) Successful in 1m27s
CI / ci (push) Successful in 1m27s
lint:colors only walked web/src, so a hex colour in a CSS or TypeScript
file elsewhere under web/ (for example web/public/theme.css or
web/theme.tsx) passed. It now walks the whole of web/, skipping the
top-level node_modules and dist directories and hidden tool-cache
directories. src/styles/tokens.css remains the only file allowed to
contain hex literals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 15:56:35 -04:00
dev_agentandClaude Opus 5.5 41a1272358 Add design tokens and self-hosted fonts
Independent review Codex gpt-6-sol high: CHANGES_REQUIRED (1 high)
CI / ci (pull_request) Successful in 1m29s
CI / ci (push) Successful in 1m30s
Copy the handoff tokens.css into web/src/styles/tokens.css verbatim except
the Google Fonts @import, replaced by @font-face rules for self-hosted
Bagel Fat One (400) and Figtree (400/600/700) woff2 files, committed with
their OFL licence texts. Base styles set the page background, text colour,
Figtree body and the accent focus outline.

npm test now runs lint:colors, which fails on any hex colour literal in
web/src outside tokens.css. npm run build ends with check:dist-fonts, which
fails if dist references fonts.googleapis.com or fonts.gstatic.com.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 15:52:41 -04:00