diff --git a/docs/adr/0005-the-first-preset-primary-reads-as-text-on-the-background.md b/docs/adr/0005-the-first-preset-primary-reads-as-text-on-the-background.md new file mode 100644 index 0000000..634164e --- /dev/null +++ b/docs/adr/0005-the-first-preset-primary-reads-as-text-on-the-background.md @@ -0,0 +1,19 @@ +# The first preset's primary reads as text on the background + +Decided 2026-11-22 for pastel-dream 0.5.8, from the website factory's render pass over all thirty-six blueprint and theme pairs (orchestrator WO-101, ADR 0092). + +## Context + +The website factory compiles a customer's site onto this theme. Its render pass measures every button's text against the button's own fill or, for an outline button, against the page. On the childcare-education and health-wellness home pages the outline hero button ("See our programs", "View treatments") draws its label in the primary colour on the page background, and in the light scheme of morning-haze, the first preset, that pair measured 4.41. ADR 0004 brought every preset colour to AA with its own foreground; it did not measure the primary against the background. + +## Decision + +- morning-haze's light primary (and the ring that follows it) moves from 340 58% 52% to 340 58% 50%: 4.69 against the background and 4.81 with its foreground, the least lightness move that clears AA with room for rendering. + +## Consequences + +- pastel-dream 0.5.8 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. A site with no stored `theme` setting renders morning-haze live and takes the darker rose with the automatic theme update; a site that applied a preset or saved its colours keeps them. The regression check for sites the factory did not build compared the production release with 0.5.8 (orchestrator `docs/works/evidence/WO-101/theme-regression/`). +- Other presets of this and other themes still have a primary under 4.5 against their background (peach-blossom 3.17, matcha-cream 4.47); the render pass checks the first preset of each pair and flagged only this one. + +Keywords: presets, morning-haze, primary, ring, outline button, button text, contrast, AA, background, WO-101, website factory, render pass, pastel-dream diff --git a/plugin.mod b/plugin.mod index cb61251..9965017 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "pastel-dream" display_name = "Pastel Dream" scope = "@themes" -version = "0.5.7" +version = "0.5.8" description = "Soft bakery and patisserie theme — watercolor washes, scalloped edges, rounded menu cards, and seasonal specials in blush, berry, and lilac." kind = "theme" categories = ["templates"] diff --git a/presets.json b/presets.json index 6a60cc9..57dedaa 100644 --- a/presets.json +++ b/presets.json @@ -16,7 +16,7 @@ "cardForeground": "335 25% 22%", "popover": "30 42% 99%", "popoverForeground": "335 25% 22%", - "primary": "340 58% 52%", + "primary": "340 58% 50%", "primaryForeground": "40 50% 98%", "secondary": "18 52% 92%", "secondaryForeground": "335 25% 24%", @@ -28,7 +28,7 @@ "destructiveForeground": "40 50% 98%", "border": "24 30% 87%", "input": "24 30% 87%", - "ring": "340 58% 52%" + "ring": "340 58% 50%" }, "darkColors": { "background": "290 22% 12%",