Skip to content

New palette and typography (colours and fonts only) - #10

Merged
fbarez merged 1 commit into
mainfrom
style/fonts-colours
Nov 6, 2026
Merged

fbarez merged 1 commit into
mainfrom
style/fonts-colours

Conversation

@fbarez

@fbarez fbarez commented Nov 6, 2026

Copy link
Copy Markdown

Colours and fonts only. No layout, spacing or component changes.

Fonts

  • Headings h1–h6: Fragment Mono, letter-spacing: -0.05em. Code also uses Fragment Mono.
  • Body and UI text: Work Sans 400/500/600. Replaces Newsreader and IBM Plex.

Colours

  • Primary #0c0c0c for text, links, buttons and UI (hover, active and focus states included). Background #f4f4f4. Secondary greys are neutral shades between the two.
  • Dark mode swaps primary and background.
  • Accent red #FF0000 and blue #0000FF appear only in diagrams and data: the homepage superposition sketch, the patching scatter and heatmaps, SAE bars, and the citation-tier colours (peer-reviewed = blue, preprint = red). They no longer appear on any UI element.

Tokens: --font-headers, --font-body, --primary, --accent-red, --accent-blue in src/styles/global.css. The existing tokens point at them.

npm run build and npm test pass (33/33).

🤖 Generated with Claude Code

- Fonts: Fragment Mono for headings (h1-h6, letter-spacing -0.05em) and code; Work Sans (400/500/600) for body and UI text. Replaces Newsreader and IBM Plex.
- Colours: primary #0c0c0c for text, links, buttons and UI; background #f4f4f4; neutral greys derived from them. Dark mode swaps primary and background.
- Accents #FF0000 and #0000FF are used only in diagrams and data: the homepage superposition sketch, the patching scatter, heatmap and bar colours, and the citation-tier highlights. UI states (hover, active, focus) use the primary colour.
- No layout, spacing or component changes.
@fbarez
fbarez merged commit 0837850 into main Nov 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant