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>
This commit is contained in:
Alex Dunmow 2026-11-20 06:39:12 +08:00
parent b06e10d1ae
commit 5a5ad51c17
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# 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

View File

@ -301,7 +301,8 @@ css:
/* --- Marketing: cta strip --- */
.cm-cta-strip { padding: 3.5rem 0; }
.cm-cta-strip--band { background-color: hsl(var(--foreground)); color: hsl(var(--background)); }
.cm-cta-strip--band .cm-btn-primary { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)); }
.cm-cta-strip--band .cm-btn-primary { background-color: hsl(var(--background)); color: hsl(var(--foreground)); border-color: hsl(var(--background)); }
.cm-cta-strip--band .cm-btn-outline { color: hsl(var(--background)); border-color: hsl(var(--background) / 0.7); }
.cm-cta-strip--card { background-color: hsl(var(--muted)); }
.cm-cta-headline { font-family: var(--font-heading, "Inter", system-ui, sans-serif); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; margin: 0; }