Skip to content

feat(type): Geist and Geist Mono are the faces, declared once in dist/fonts.css - #82

Merged
aledbf merged 1 commit into
mainfrom
ready/faces
Dec 5, 2026
Merged

aledbf merged 1 commit into
mainfrom
ready/faces

Conversation

@aledbf

@aledbf aledbf commented Dec 5, 2026

Copy link
Copy Markdown
Member

Why

Closes #76. The operator chose Geist and Geist Mono on 2026-12-04, comparing four pairings. The faces were declared by hand in six pages, so a face could change in one and not the others.

light dark
Inbox

What changed

  • fonts/: Geist and Geist Mono at 400, 500 and 600 (latin, from @fontsource 5.3.0, pinned in versions.yaml). Inter and JetBrains Mono are removed.
  • palette.toml [type]: sans = "Geist", mono = "Geist Mono", with the reason. The display and title tracking is -0.05 em and the label's is 0.09 em, as the prototype sets them. The comment gives the measurements.
  • cmd/palette writes dist/fonts.css, one @font-face per shipped file. Every page links it, and none declares a face of its own.
  • Tests: each shipped file is declared, and a page with its own @font-face fails go test (checked against a planted page).
  • target/shoot.mjs: on every screen and on the four laboratory pages, each piece of text must be in a palette face, the face must load, and its weight must be one fonts/ ships.

Scope

The faces only. Ranks and roles come in #77, stacked on this one.

Tradeoffs

  • Two licence files (LICENSE-Geist.txt, LICENSE-Geist-Mono.txt), not one. The two packages' licences differ in their copyright line, and each is kept unchanged.
  • Measured, Geist Mono is not narrower than JetBrains Mono. Its advance is the same 0.6 em. Its glyphs have more ink, so the gaps between letters are smaller, and its x-height is lower. Hence the tracking above.
  • A <b> drew at 700, which is not shipped. lab.css sets b, strong to 600.

Blast Radius

dist/fonts.css is new. Consumers that install from @fontsource move to @fontsource/geist and @fontsource/geist-mono (#81). consumers.toml names them.

Verification

  • task check passes.
  • The shooter prints no problems.
  • git grep -i -E '\binter\b|jetbrains' -- ':!dist' returns nothing.

🤖 Generated with Claude Code

….css

The operator chose Geist and Geist Mono on 2026-12-04, comparing four
pairings on the Inbox and Workspaces of that day's prototype. palette.toml's
[type] names them and says why; fonts/ holds the latin files at 400, 500
and 600 and each package's OFL licence, unchanged from what `versions
fetch` writes at the pins versions.yaml now gives.

The tracking is measured again on Geist Mono. Its advance is the same
0.6 em, but its glyphs fill more of it, so its letters sit closer at one
tracking. The display and the title take -0.05 em, the prototype's, and
the label 0.09 em.

Six pages wrote the same six @font-face rules by hand. cmd/palette now
writes them once, as dist/fonts.css, from [type]; each page links it, and
go test fails on a page or a stylesheet that declares a face of its own,
or on a page drawn in the palette that does not link the sheet. The
shooter checks that every text on the target and on the other published
pages is in one of the two faces, loaded at a weight fonts/ ships, which
found the laboratory's bold asking for a 700 nobody ships: b and strong
now take the strong weight.

consumers.toml names the two packages a consumer installs, and drops the
note about the variable face the agent client came with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit df70011 into main Dec 5, 2026
2 checks passed
@aledbf
aledbf deleted the ready/faces branch December 5, 2026 06:41
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.

type: Geist and Geist Mono are the faces, declared once

1 participant