themes-art-deco/docs/adr/0004-hero-text-over-a-photo-uses-the-foreground-colour.md
Alex Dunmow 10f5ee3bab fix: render whole sections for factory-compiled sites (0.5.5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:59:04 +08:00

1.1 KiB

Hero text over a photo uses the foreground colour on art-deco

Decided 2026-11-20 for art-deco 0.5.5, 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

  • Over a photo the hero's eyebrow, subheadline and secondary link use the foreground colour. On the light scrim the gold link measured 2:1 and the muted italic subheadline 4.2:1, under the AA minimum.

Consequences

  • art-deco 0.5.5 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: art-deco, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review