themes-kindergarten/docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md
Alex Dunmow 338424e8ec fix: website factory launch run defects (0.4.10)
Footer contact details, eyebrow alignment, long headlines, scrims and
grid rows found by the WO-101 render pass; see docs/adr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:38:51 +08:00

1.6 KiB

The hero scrim is even on a phone

Decided 2026-11-22 for kindergarten 0.4.9 and amended for 0.4.10, from the website factory's launch runs (orchestrator WO-101, ADR 0092).

Context

The website factory's compiler now gives every hero the light overlay, so a stock photo the finishing pass places sits under this theme's light scrim (orchestrator ADR 0092). The rebuilt Marrickville Toy Library put a rainbow photo behind the hero: its subheadline measured 4.27 at 390 pixels. The light scrim is a radial gradient that falls to 20% at the corners, and on a phone the text runs to the hero's edges, where the gradient has thinned.

Decision

  • Below 640 pixels the light scrim is an even 84% of the theme background. Wider screens keep the radial gradient of ADR 0005, which keeps the text near the centre.
  • Amended for kindergarten 0.4.10: the even scrim is 92%. At 84% the rebuilt Marrickville hero's muted subheadline (5.0:1 on the plain background) still measured 4.29 at 390 pixels over the rainbow's dark bands; at 92% the photo can take at most about a tenth of the contrast.

Consequences

  • kindergarten 0.4.9 and 0.4.10 are published to the dev registry; the orchestrator's internal/factory/themes.yaml pins 0.4.10.
  • No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.4.10 (orchestrator docs/works/evidence/WO-101/theme-regression/).

Keywords: hero, scrim, overlayColor light, kg-hero-overlay, radial-gradient, phone, contrast, WO-101, website factory, launch runs, kindergarten