fix: website factory launch run defects (0.4.8)

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 <noreply@anthropic.com>
This commit is contained in:
Alex Dunmow 2026-11-22 18:27:49 +08:00
parent ea179dc34b
commit 6ff72b8654
3 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# The alphabet row fits a phone
Decided 2026-11-22 for kindergarten 0.4.8, from the website factory's launch runs (orchestrator WO-101, ADR 0092).
## Context
The website factory compiles a customer's site onto this theme. Twelve launch sites built on dev on 2026-11-22 showed defects on their home pages, recorded in the orchestrator's `docs/works/evidence/WO-090/runs/RESULTS.md`; the render pass now also renders a 60 to 80 character headline with long words on every theme.
## Decision
- Below 640 pixels the alphabet letters shrink to share the row (`flex: 1 1 0`, square, at least 2.25rem, at most 56px), so the eight letters of the strip fit at 390 pixels. ADR 0003 kept the strip inside the viewport by scrolling it, which showed A to E and half an F with no sign that more followed. A longer row still scrolls. The selectors carry two classes because the legacy `assets/style.css`, loaded after the site stylesheet, still sets the letter size.
## Consequences
- kindergarten 0.4.8 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.8 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
Keywords: alphabet strip, kg-alphabet-strip, kg-alphabet-letter, 390, phone, overflow, WO-101, website factory, launch runs, kindergarten

View File

@ -420,6 +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+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-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)); } .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. */
@media (max-width: 640px) {
.kg-alphabet-strip.kg-alphabet-strip { gap: 0.4rem; padding-inline: 1rem; }
.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)); } .kg-alphabet-primary .kg-alphabet-letter { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
/* Day schedule (persona block). */ /* Day schedule (persona block). */

View File

@ -2,7 +2,7 @@
name = "kindergarten" name = "kindergarten"
display_name = "Kindergarten" display_name = "Kindergarten"
scope = "@themes" scope = "@themes"
version = "0.4.7" version = "0.4.8"
description = "Primary-colored, hand-lettered theme for preschools and daycares — crayon borders, sticker badges, confetti, and a bouncing mascot showpiece." description = "Primary-colored, hand-lettered theme for preschools and daycares — crayon borders, sticker badges, confetti, and a bouncing mascot showpiece."
kind = "theme" kind = "theme"
categories = ["templates"] categories = ["templates"]