From c0967228741f536e72b6857ee21fc04df7c44aa5 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sun, 22 Nov 2026 18:35:04 +0800 Subject: [PATCH] fix: website factory launch run defects (0.4.9) Footer contact details, eyebrow alignment, long headlines, scrims and grid rows found by the WO-101 render pass; see docs/adr. Co-Authored-By: Claude Opus 5.5 --- .../0007-the-hero-scrim-is-even-on-a-phone.md | 18 ++++++++++++++++++ manifest.yaml | 4 +++- plugin.mod | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md diff --git a/docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md b/docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md new file mode 100644 index 0000000..cd2cbae --- /dev/null +++ b/docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md @@ -0,0 +1,18 @@ +# The hero scrim is even on a phone + +Decided 2026-11-22 for kindergarten 0.4.9, from the website factory's launch runs (orchestrator WO-101, ADR 0092). + +## Context + +The website factory's compiler now gives every hero the light overlay, so a stock photo the finishing pass places sits under this theme's light scrim (orchestrator ADR 0092). The rebuilt Marrickville Toy Library put a rainbow photo behind the hero: its subheadline measured 4.27 at 390 pixels. The light scrim is a radial gradient that falls to 20% at the corners, and on a phone the text runs to the hero's edges, where the gradient has thinned. + +## Decision + +- Below 640 pixels the light scrim is an even 84% of the theme background. Wider screens keep the radial gradient of ADR 0005, which keeps the text near the centre. + +## Consequences + +- kindergarten 0.4.9 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.4.9 (orchestrator `docs/works/evidence/WO-101/theme-regression/`). + +Keywords: hero, scrim, overlayColor light, kg-hero-overlay, radial-gradient, phone, contrast, WO-101, website factory, launch runs, kindergarten diff --git a/manifest.yaml b/manifest.yaml index bcbf0fe..c922a88 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -420,9 +420,11 @@ css: .kg-alphabet-letter:nth-child(4n+3) { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); } .kg-alphabet-letter:nth-child(4n+4) { background-color: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); } .kg-alphabet-mono .kg-alphabet-letter { background-color: hsl(var(--muted)); color: hsl(var(--muted-foreground)); } - /* On a phone the letters shrink so a row of eight fits whole; scrolling stays for longer rows. */ + /* On a phone the alphabet letters shrink so a row of eight fits whole (a longer row still scrolls), and the + radial light scrim, which thins towards the edges where a phone's hero text runs, is even. */ @media (max-width: 640px) { .kg-alphabet-strip.kg-alphabet-strip { gap: 0.4rem; padding-inline: 1rem; } + .kg-hero-overlay[style*="radial-gradient"] { background: hsl(var(--background) / 0.84) !important; } .kg-alphabet-strip .kg-alphabet-letter { flex: 1 1 0; min-width: 2.25rem; max-width: 56px; width: auto; height: auto; aspect-ratio: 1; font-size: 1.15rem; border-radius: 0.9rem; } } .kg-alphabet-primary .kg-alphabet-letter { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); } diff --git a/plugin.mod b/plugin.mod index efbaa0e..b86116e 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "kindergarten" display_name = "Kindergarten" scope = "@themes" -version = "0.4.8" +version = "0.4.9" description = "Primary-colored, hand-lettered theme for preschools and daycares — crayon borders, sticker badges, confetti, and a bouncing mascot showpiece." kind = "theme" categories = ["templates"]