themes-earthen/docs/adr/0002-the-light-hero-scrim-meets-contrast.md
Alex Dunmow 3c87e1f8e0 fix: render whole sections for factory-compiled sites (0.5.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:51:10 +08:00

1.2 KiB

The light hero scrim meets contrast on earthen

Decided 2026-11-20 for earthen 0.5.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.

Context

The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.

Decision

  • The "light" hero scrim is the theme background at 82% opacity, set with an inline style. At 60% the muted subheadline measured 2.2:1 against a real photo in the render review, under the AA minimum; the inline style also keeps the scrim independent of which opacity classes the generated stylesheet holds.

Consequences

  • earthen 0.5.3 is published to the dev registry; the orchestrator's internal/factory/themes.yaml pins it.
  • No schema field changes. A site that sets the old values renders as before wherever it has an image.

Keywords: earthen, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review