mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 00:07:09 +00:00
The first pass styled titles with Tailwind's three generic families, so eighteen presets came out as variations of the same two faces — weight and tracking doing all the work. And at 10px a title was the same size as the parameter rows under it, which is not a title. Titles are 12–17px now, sized by character rather than uniformly: the Megaphone is the loudest thing in the rack at 17px, Hall is 15px with 0.4em tracking so the word itself opens out, and the workshop presets stay at 12px because a costume on "Cut Rumble" promises a character it does not add. Eight named faces, grouped by what they read as rather than by name — condensed signage, geometric, typewriter, editorial serif, bookish serif, theatrical display, engraved caps, terminal. Telephone gets the face with no warmth, the tape gets one that looks struck, the Tannoy gets something bolted to a wall, and Doofus Worble gets a display face with no restraint at all. They are SYSTEM faces, and that is a constraint rather than a preference: the studio has no webfont pipeline. The 169 Google Fonts cached under `~/.cache/hyperframes` belong to the CLI's composition build, and reaching into them from a panel would be inventing a second one. Every stack ends in a generic keyword and carries at least two fallbacks, which a test enforces — a machine without Haettenschweiler lands on Arial Narrow, then Impact, then sans-serif, rather than on the browser's default serif. The face is applied as data rather than a class: Tailwind cannot name a stack its config does not know, and adding eight to the config to style one panel would put them in every autocomplete in the studio. Verified in a running studio — five presets applied at once resolved to five distinct faces (SF Mono, Haettenschweiler, Luminari, American Typewriter, Copperplate) at 13–17px. Tests can assert the stack is well-formed; they cannot tell you a face exists on the machine. Falsified: a stack with no generic fallback, a title back at panel-row size, and two character presets sharing a face each fail a test. studio 3727 passing, 18 todo.