themes-editorial/docs/adr/0005-default-pages-keep-the-reading-measure-for-plain-text.md
Alex Dunmow 53c084b474 fix: default pages keep the reading measure for plain text blocks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:45:34 +08:00

2.1 KiB

Default pages keep the reading measure for plain text blocks

Decided 2026-11-22 for editorial 0.5.8, from the theme regression check before the website factory's production theme publish (orchestrator WO-090).

Context

ADR 0004 widened the default page template to a 76rem column and took the article prose styles off it, so compiled factory sections read wider. Sites built before the factory, including this theme's own demo About page, put heading, rich-text, quote and image blocks straight onto default pages. On 0.5.7 those pages lost their reading measure and paragraph spacing: the three About paragraphs ran together across the full 76rem width at 1280 pixels, and ran together at 390 pixels (orchestrator docs/works/evidence/WO-090/theme-regression/). The CMS update checker moves every existing editorial site to the newest release within six hours, so this would reach every such site without an admin action.

Decision

  • On the default page column, the block wrapper of a heading, rich-text, text, quote, divider or image block keeps the 64ch article measure, centred. The measure sits on the wrapper so it counts characters in body text.
  • Rich-text and text blocks there keep the article paragraph rhythm: 1.7 line height, a 1em gap after each paragraph and the 1.5em indent on continuing paragraphs.
  • Section blocks (hero, rich-section, team, cards, contact and the rest) keep the 76rem column from ADR 0004. The website factory compiles only section blocks, so compiled sites render as on 0.5.7.

Consequences

  • editorial 0.5.8 is published to the dev registry only. The orchestrator's internal/factory/themes.yaml still pins 0.5.7; the coordinator moves the pin and reruns the tested pairs.
  • On the WO-090 dev instance the home, contact, blog index and article pages render the same as 0.5.7, and the About page matches 0.5.1 apart from the short rule above the centred quote.
  • No schema field changes.

Keywords: editorial, default template, editorial-column--page, reading measure, editorial-measure, rich-text, text, heading, quote, paragraph spacing, text-indent, prose-editorial, existing sites, update checker, regression, WO-090