themes-noir/docs/adr/0003-hero-text-stays-light-on-a-photo.md
Alex Dunmow 3326d15447 fix: render whole sections for factory-compiled sites (0.4.4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:42:31 +08:00

19 lines
1.1 KiB
Markdown

# Hero text stays light on a photo on noir
Decided 2026-11-20 for noir 0.4.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
- The hero sets its light-on-photo text colours with inline styles. The `text-white/85`, `text-white/80` and `text-white/70` classes are not in the generated stylesheet, so the subheadline, description and secondary link fell back to dark text on the dark scrim.
## Consequences
- noir 0.4.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: noir, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review