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 <noreply@anthropic.com>
This commit is contained in:
parent
6ff72b8654
commit
c096722874
18
docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md
Normal file
18
docs/adr/0007-the-hero-scrim-is-even-on-a-phone.md
Normal file
@ -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
|
||||||
@ -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+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. */
|
/* 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) {
|
@media (max-width: 640px) {
|
||||||
.kg-alphabet-strip.kg-alphabet-strip { gap: 0.4rem; padding-inline: 1rem; }
|
.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-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)); }
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "kindergarten"
|
name = "kindergarten"
|
||||||
display_name = "Kindergarten"
|
display_name = "Kindergarten"
|
||||||
scope = "@themes"
|
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."
|
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"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user