Skip to content

Commit 2bb8985

Browse files
tae898claude
andcommitted
Line length: about 70 to 85 characters, not 60 to 75
68ch holds about 80 characters in Schibsted Grotesk, so the old range was never what --hm-measure produced. Measured six research-lab sites (70 to 85, one at 107) and the website's 736px column (83 to 87). Records the benchmark, the WCAG 80 ceiling, and why the token stays 68ch. Corrects the token comment and the Wide content entry that depended on the old rule. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NN3mi1YXJu4s314fzwbSpi
1 parent 7178e99 commit 2bb8985

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

‎css/tokens.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
--hm-leading-body: 1.65; /* running text */
7878
--hm-tracking-display: -0.015em;
7979
--hm-tracking-label: 0.08em;
80-
--hm-measure: 68ch; /* prose column: 60-75 characters per line */
80+
--hm-measure: 68ch; /* prose cap: about 80 characters per line in Schibsted Grotesk, not 68; see docs/decisions.md */
8181

8282
/* Space: a 4px grid. */
8383
--hm-space-1: 0.25rem;

‎docs/decisions.md‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,23 @@ The old logo's outline is 16 units thick in a 500-unit box. At 16px, a browser t
6565

6666
- **Contrast:** WCAG AA. 4.5:1 for all text, including large text; 3:1 for icons, control borders and focus rings. `scripts/check.py` checks 25 semantic pairings in each theme.
6767
- **Type size:** 16px body on phones, 17px from 1000px up. Scale ratio 1.25. Nothing below 12px, and 12px is for uppercase labels only.
68-
- **Line length:** prose lines of 60 to 75 characters (`--hm-measure: 68ch`), body line height 1.65.
68+
- **Line length:** prose lines of about 70 to 85 characters, a median above 80 on desktop (changed 2026-10-03, see "Line length" below), body line height 1.65.
6969
- **Spacing:** a 4px grid.
7070
- **Review sizes:** 360×800, 390×844, 768×1024, 984×1092, 1280×720, and 1920×1080 CSS pixels. 1920 is where desktop reviews happen. 984×1092 (an unfolded foldable) was added on 2026-10-02: it is the only size between 920 and 1024, where the website switches layouts.
7171

72+
## Line length (2026-10-03)
73+
74+
The first rule was 60 to 75 characters (`--hm-measure: 68ch`). It is now about 70 to 85, with a median above 80 on desktop, and the 16px and 17px body sizes stay as they are.
75+
76+
- **Why it moved.** `ch` is the width of a "0", and in Schibsted Grotesk that is wider than the average letter, so 68ch holds about 80 characters, not 68. The old range was never what the token produced. The website's 736px column, measured on its longest page, gave a median of 83 to 87 and read well.
77+
- **What others do.** Long-form pages of research-lab sites, measured on 2026-10-03 at a 1916px viewport, one article each: Anthropic 71, DeepMind 70, OpenAI 81, Meta 83, World Labs 85, Google Research 107. Columns are 600 to 720px at 16 to 17.5px. The sites worth copying sit at 70 to 85.
78+
- **The benchmark is World Labs:** a 720px column at 17px, median 85. WCAG 1.4.8 (AAA) puts the ceiling at 80 characters; being a little over it, on a page that is mostly tables and figures, was a choice (humemai/humem.ai#9).
79+
- **The token.** `--hm-measure` stays 68ch for pages that want a cap, and it lands at about 80. Count characters per line on the rendered page; do not trust the `ch` number. Narrowing the website to 62ch (median 71) was tried and not kept.
80+
- **Limits.** Under 60 gets choppy and over 90 loses the next line. Phones are narrower than any of this and are not touched.
81+
7282
## Wide content (2026-10-02)
7383

74-
The prose column is set by the line length above, so it stays narrow on every screen. Content that is not prose does not have to:
84+
The prose column is set by the line length, so it stays narrow on every screen. Content that is not prose does not have to:
7585

7686
- **Data tables** are as wide as their columns need, never narrower than the prose column and never wider than the screen less the page gutters, centred on the column. Holding them to the prose column made most of a benchmark page's tables scroll sideways while half a 1920 screen stayed empty. A limit at the page frame (the website's 1180px) still left a third of them scrolling at every desktop size, so the limit is the screen.
7787
- **Table headers** wrap when the table is out of room, never inside a hyphenated word, and a direction arrow stays with the word before it.

0 commit comments

Comments
 (0)