Web typography skill: Bringhurst's rules applied to current CSS, with scripts that measure line length, zoom growth, contrast and font coverage in a real browser or the font file.
Measured Type is an agent skill for web typography: Bringhurst's rules
translated into current CSS, and scripts that measure what can be measured
(line length, zoom growth, contrast, figures in a number column, font
coverage) in a real browser or in the font file. It is for frontend
developers, designers who work with an agent and typographers who want the
number beside the rule. Every claim on this page links to a committed run.
Install
Two commands: the skill into Claude Code, then the measuring scripts.
Check the install with npm test in the skill folder (about a minute, in
headless Chromium; an installed copy skips the tests whose fonts live only in
this repository and says so). Leave out -g to install into one project, or
copy skills/measured-typography from a clone into ~/.claude/skills/.
The number, before you install
At 200% zoom on a 1280px window
100%
200%
Growth
Body text, 1rem
16.0px
32.0px
2.00×
Hero written without the skill
57.0px
90.4px
1.58×
Hero written with the skill
65.6px
112.3px
1.71×
Zoom doubles rem but halves the CSS viewport, so the viewport term in a
fluid size stops growing. WCAG 1.4.4 sets no ratio of its own; the 1.6× bar
is this project's.