You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4cab7c2
Browse filesBrowse the repository at this point in the historyBrowse files
There were 52 distinct font sizes across 190 declarations, thirty of them
crowded between 0.5 and 1rem: 0.64, 0.65, 0.66, 0.67. Nobody chose those
apart; they accumulated. Every new component meant guessing which of six
near-identical smalls it belonged to.
Measuring them turned out to be the whole argument. The hand-written
values already tracked a 1.125 ratio off a 1rem base -- with noise on
top. So the scale isn't imposed, it's the shape that was already there:
--text-3xs through --text-7xl, fourteen steps, 188 declarations mapped to
their nearest one.
Rendered drift is at most 1.18px, line-height included, since unitless
line-heights resolve against font-size. 178 of 188 declarations moved
less than a pixel; the rest are display headings where a pixel is under
half a percent.
Two things stay off the scale on purpose: clamp()'d hero headings, which
interpolate continuously rather than picking a step, and the giant
monogram watermarks, which are graphics wearing a font.
The colour snapshot tool grew a second property group for this and is
now orbit-style-snapshot.mjs. Its diff reports pixel drift, because here
the goal was never zero difference -- it was difference below threshold.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments