Skip to main content

Design — "Reading Room"

Rendered from corpus/wiki/design.md · updated 2026-11-02

This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.

The single source of truth for the app's visual language. Every apps/web change must conform. Adopted 2026-08-24 (D33); replaces Quiet Paper / Quiet Gallery (D27), the book-shaped system the product outgrew when it became a gallery of books, records, film and notebooks.

Rendered comps for every surface — home, reader, notes, phone, empty state — live in the design study: https://claude.ai/code/artifact/3c194acd-f8fd-431b-964e-f74edb85a8d3. This page is authoritative where the two disagree.

The --reader-* theme layer is unchanged as architecture — three themes (light / sepia / dark) applied via data-theme, driving both the reading surface and the chrome. Reading Room revalues its light and dark palettes onto a warm axis; it does not remove the layer.

The premise​

Four structural moves carry the system. A decision that serves none of them is decoration.

  1. One home, no tabs. Kind is a filter chip with a count, not an address.
  2. Continue is the hero. What you left open leads the page, in time remaining, not percent.
  3. Tint carries kind. Each media kind owns a paper tone; a mixed grid reads without badges.
  4. Playback persists. A dock at the foot of the app survives navigation.

Colours​

Warm neutrals, one faded-ink accent, four kind tints. The ground is a warm off-white with a faint grey cast — paper that has been in a room, not bleached stock. Accent means state only (progress, active, focus, links); it never fills a button. The solid button is ink, not colour.

Light (canonical)​

TokenHexUse
paper#f7f5f2Page ground
paper-raised#fffefdCards, header, sheets
paper-low#f1eee9Recessed wells
paper-container#e9e4dcProgress track, fallback tile
ink#1a1917Primary text
ink-variant#6c665eSecondary text
line#ddd7ccBorders
line-soft#e9e4dcHairlines
accent#2f5486State only
ink-fill#2b2926Solid button
on-ink-fill#faf8f5Text on the ink button

Kind tints (the one decorative move)​

TokenLightDarkKind
tint-book#efe9dd#241f16Books (PDF/EPUB)
tint-music#f1e6e8#241a1dMusic
tint-video#e4ebf1#171f28Video
tint-note#e4eee7#16221bNotes

Coverless tiles (D42, coverless tiles of 2026-08-29). A tile with no cover art — a video that won't decode, a track never played — carries a large title initial in Newsreader, very low contrast, bleeding past an edge behind the kind glyph and title. Its size and corner vary by a deterministic hash of the title (so the same book always looks the same, and two uploads of one title match), six variants in all, so a large collection of same-kind coverless items doesn't render as a wall of identical rectangles.

Both axes sit on the letterform; the ground is never touched. That is a correction — D42 first put the second axis on the tile's own lightness, and it was measured and rejected. These tints are near-achromatic greys (chroma 0.011–0.017), so the kind signal is small: tint-book vs tint-music is 0.0194 apart in OKLab, while a 20% lightness ladder spread one kind over 0.1871 — ten times that, so the grid would read by lightness, not kind. No mix value works; by 4% the spread still beat the kind signal while the steps had already fallen below visibility. The rule: vary a coverless tile's foreground, never its ground.

Dark (warm, not neutral)​

paper #141310 · paper-raised #1c1a17 · paper-low #100f0d · paper-container #24211d · ink #ece7de · ink-variant #948d82 · line #302c26 · accent #8fb3dd · ink-fill #ece7de / on-ink-fill #17150f.

Why warm dark: a neutral #181818 under warm cover art makes every cover look sour. Both grounds sit on the same warm axis so artwork reads true in either, and the two themes stay recognisably one system.

Sepia​

Unchanged from the previous system (#f4ecd8 ground, #3b2f1e ink, #92400e accent) — it was already on the warm axis.

Typography​

One rule decides every type choice: Newsreader for anything a person wrote, Archivo for anything the interface says. Playfair Display, Source Serif 4 and Inter all retire.

RoleFamilySize / line-heightWeightNotes
displayNewsreader44 / 1.05, -.03em500Page greeting
sectionNewsreader27 / 1.2, -.02em500Section heads
body-readingNewsreader18 / 1.78400The reading pane
card-titleArchivo14 / 1.25, -.01em600Card + row titles
label-uiArchivo13.5 / 1.4500Nav, buttons, settings
label-capsArchivo10 / 1.6, .15em600Chips, eyebrows (uppercase)
numericArchivoinherits500tabular-nums always
codeplatform monospaceinherits400LaTeX source pane, and nothing else
tile-initialNewsreader72 / 96 / 128, 1, no tracking override500Coverless tile's decorative title-initial watermark (D42, coverless tiles of 2026-08-29) — aria-hidden, text-ink/10; the three sizes are two of its six hashed variants' axes

The one exception to the two-family rule (added 2026-08-27. The LaTeX editor's source pane sets in --font-code: the platform's own monospace stack, not a third brand face — nothing is downloaded and the payload argument below is untouched. It exists because source is the one text in Atrium where character alignment is semantic: \begin{tabular} set proportionally is unreadable, and the caret stops landing where the eye is. It applies to the source pane only — the diagnostics panel, the file tree and every label around the editor are still font-ui. Any other use is drift, not precedent.

Numbers line up. Every figure the interface reports — progress, duration, size, page count, counts — sets font-variant-numeric: tabular-nums.

Fonts stay self-hosted (no CDN). Load Newsreader (400, 500, 600 + italic 400) and Archivo (500, 600, 700). Dropping from three families to two is a payload reduction.

Structure​

TokenValueApplies to
Grid8px base, 4px microLayout rhythm; 4px for type alignment only
Page margin16px mobile / 26px desktopShell padding — tighter than Quiet Paper's 64px; density is the point
Gutter14pxGrid and shelf gaps
Reading measure620pxReader column cap (~68 characters)
Radius default4pxCards, tiles, buttons, inputs
Radius cover2pxAll artwork — structural, bound
Radius chip20pxFilter chips only — the single pill in the system
Radius roundfullGenuinely circular affordances only — the ScrubTrack rail + handle, the note editor's ink swatches and nib-size dots. These are dots and tracks, not cards; a square colour swatch reads as a tile. Not a fourth general radius, and never on a container.
Elevation L11px line + 0 4px 10px -5pxCards at rest
Elevation lifttranslateY(-4px) + 0 14px 30px -18pxCard hover only
Progress3pxCover bars and the reader rail

Depth is tonal, not shadowy: layered surfaces and hairlines first, a soft shadow only on cards and the Aa panel. Modals keep the 12px backdrop blur.

Components​

  • Buttons — primary: solid ink-fill, on-ink-fill text, 4px radius.
  • Buttons — secondary: 1px line outline, transparent fill.
  • Filter chips: 20px radius, line border on paper-raised; active chip inverts to ink-fill. Count sets in Archivo tabular at 55% opacity.
  • Tiles: tint-* ground by kind, 1px line-soft, 4px radius, artwork at 2px. Book 2:3, music 1:1, video 4:3 — the tile's box; stored video art is letterboxed inside it (object-contain), because a frame grabbed from a video keeps that video's own aspect (D40, video covers of 2026-08-28: fit: "inside" at a 640 bound, never cropped). The Continue strip's video thumb stays 16:9. Coverless tiles keep the flat kind ground and add the D42 title-initial watermark above — foreground only, ground untouched.
  • Resume cards: artwork + title + source + time remaining + a 3px bar.
  • Player dock: full-width, paper-raised, 1px top line; artwork, title, transport, scrub track, tabular times. Survives navigation.
  • Reader chrome: running header (title / chapter), footer chapter · %, and the scrubbable rail with chapter ticks. All fade on idle.
  • Aa panel: theme swatches drawn as miniature pages, face toggle, A−/A+.
  • Inputs: 1px line, 4px radius; border turns accent on focus.
  • Icons: line icons, unified 1.75 stroke, inline SVG (no icon font).

Motion​

Paper moves like paper: things lift, settle and fade. Nothing bounces, springs past its mark, or slides in from off-screen.

MomentBehaviourTimingBuilt with
Card hoverLift 4px, shadow deepens300ms (.2,.7,.3,1)CSS
Grid re-filterTiles settle, 20ms stagger340msMotion Primitives
Cover → readerCover expands into the page420msMotion Primitives (shared layout)
Chrome fadeReader chrome fades on idle600ms out / 150ms inCSS
Progress railScrub preview tracks pointer, commits on releasecontinuousanime.js timeline
Dock enterRises from the foot on playback start280msMotion Primitives

One idiom. Motion Primitives is the base (copy-in components on Motion + Tailwind — this exact stack). anime.js earns its place only on the progress rail, where an imperative timeline beats React state. SmoothUI is deliberately out: it overlaps Motion Primitives almost entirely, and two motion idioms in one app read as two apps.

Conformance checklist (enforced — see ../CLAUDE.md)​

Any apps/web change must, before it's considered done:

  • Tokens only — no raw hex in components; colour resolves through globals.css.
  • Newsreader wrote it, Archivo says it — no third family, no ad-hoc sizes outside the scale above.
  • Numbers are tabular — every reported figure.
  • Accent means state — never a button fill, never decoration.
  • Radii hold — 4px default, 2px artwork, 20px chips, full only on genuinely circular affordances (scrub track/handle, ink swatches, nib dots), nothing else.
  • Three themes checked — light, sepia, dark, including artwork.
  • Motion degrades — a prefers-reduced-motion path exists.
  • Kind reads without labels — strip every badge and the tinted grid is still legible by kind. If it isn't, the tints are too weak.