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>
19 lines
1.6 KiB
Markdown
19 lines
1.6 KiB
Markdown
# Every preset colour meets AA with its foreground
|
|
|
|
Decided 2026-11-20 for scifi-clean 0.4.4, 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 every button's text against its fill.
|
|
|
|
## Decision
|
|
|
|
- Every preset's primary, secondary, accent and destructive colour meets AA (4.5:1) with its foreground in both schemes. The render pass measures every button, and these pairs were under it: cleanroom dark accent; cleanroom dark destructive; cleanroom light accent; flightline dark accent; flightline dark destructive; flightline light accent; graphite-lab dark destructive; graphite-lab light accent; signal-cyan dark destructive; signal-cyan light accent; signal-cyan light primary. Each colour moved the least lightness (at most ten points) that reaches 4.5 with its own foreground, and a colour that could not switched its foreground to white or near-black; a token that held the same colour (the ring) moved with it. The orchestrator's brand colour step keeps whatever contrast a preset has, so a preset under AA also left a branded site under it.
|
|
|
|
## Consequences
|
|
|
|
- scifi-clean 0.4.4 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
|
- No schema field changes. A site keeps the colours it has until a preset is applied again.
|
|
|
|
Keywords: scifi-clean, presets, AA, button contrast, primaryForeground, accentForeground, secondaryForeground, destructiveForeground, WO-096, website factory, render pass
|