themes-corporate-modernist/docs/adr/0002-buttons-on-the-dark-band-invert.md
Alex Dunmow 5a5ad51c17 fix: website factory render pass polish (0.6.3)
Hero scrim, button and preset contrast and layout fixes found by the
WO-096 render pass; see docs/adr.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 06:39:12 +08:00

19 lines
1.0 KiB
Markdown

# Buttons on the dark band invert
Decided 2026-11-20 for corporate-modernist 0.6.3, from the website factory's final render pass (orchestrator WO-096, ADR 0084).
## Context
The website factory compiles a customer's site onto this theme. The render pass screenshots every page at 1280 and 390 pixels and measures text over images and every button against what is behind it.
## Decision
- On the dark call-to-action band (the foreground colour), the primary button is the background colour with foreground text and the outline button uses the background colour for its text and border. The accent (navy in navy-classic) on a near-black band measured about 1.3:1 against the band, so the button had no visible edge.
## Consequences
- corporate-modernist 0.6.3 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
- No schema field changes.
Keywords: corporate-modernist, cta, band, cm-cta-strip--band, cm-btn-primary, cm-btn-outline, button contrast, non-text contrast, WO-096, website factory, render pass