From 5a5ad51c170e47792694192d533d875640d9a847 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Fri, 20 Nov 2026 06:39:12 +0800 Subject: [PATCH] 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 --- .../0002-buttons-on-the-dark-band-invert.md | 18 ++++++++++++++++++ manifest.yaml | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 docs/adr/0002-buttons-on-the-dark-band-invert.md diff --git a/docs/adr/0002-buttons-on-the-dark-band-invert.md b/docs/adr/0002-buttons-on-the-dark-band-invert.md new file mode 100644 index 0000000..07dd76d --- /dev/null +++ b/docs/adr/0002-buttons-on-the-dark-band-invert.md @@ -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 diff --git a/manifest.yaml b/manifest.yaml index ca799aa..1a5ec01 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -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; }