themes-brutalist/docs/adr/0003-hero-text-stays-light-on-a-photo.md
Alex Dunmow 31880d3aa6 fix: render whole sections for factory-compiled sites (0.7.4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:44:36 +08:00

19 lines
1.2 KiB
Markdown

# Hero text stays light on a photo on brutalist
Decided 2026-11-20 for brutalist 0.7.4, 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
- Under the "light" overlay the hero headline keeps the foreground colour. The photo treatment (background colour with `mix-blend-mode: difference`) is meant for a bare photo and turned the headline pale grey on the light scrim; `data-has-media` is now true only for a photo without that scrim.
## Consequences
- brutalist 0.7.4 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: brutalist, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review