From 3cc213dfc3848d5a213d629e1e18967be4e11bd8 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sun, 22 Nov 2026 19:11:51 +0800 Subject: [PATCH] fix: website factory launch run defects (0.5.7) 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 --- ...5-hero-text-over-a-photo-sits-on-a-panel.md | 18 ++++++++++++++++++ plugin.mod | 2 +- templates/overrides/earthen/hero.ninjatpl | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0005-hero-text-over-a-photo-sits-on-a-panel.md diff --git a/docs/adr/0005-hero-text-over-a-photo-sits-on-a-panel.md b/docs/adr/0005-hero-text-over-a-photo-sits-on-a-panel.md new file mode 100644 index 0000000..36fab1e --- /dev/null +++ b/docs/adr/0005-hero-text-over-a-photo-sits-on-a-panel.md @@ -0,0 +1,18 @@ +# Hero text over a photo sits on a panel + +Decided 2026-11-22 for earthen 0.5.7, 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, and the render pass measures every text element drawn over a photo. Earthen's centred hero lays its text over the photo under the radial light scrim of ADR 0003 (86% of the background at the centre, 80% to half the radius). On the restaurant-cafe home page the primary-coloured eyebrow and the outline button's label, which measure about 5:1 on the plain background, fell to 3.2 and 3.6 at 1280 pixels over the dark plate in the photo, and the subheadline to 4.2 at 390. Earlier passes rendered earthen only with split heroes, whose text sits beside the photo. + +## Decision + +- A centred or left-aligned hero with a photo sets its text on a rounded panel of the theme background at 92%, inset one rem from each side. The photo still shows around the panel; the text keeps nearly its full contrast whatever the photo holds. The split hero and a hero without a photo are unchanged. + +## Consequences + +- earthen 0.5.7 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. Production sites with a full-width hero photo show the panel after the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.5.7 (orchestrator `docs/works/evidence/WO-101/theme-regression/`). + +Keywords: hero, photo, panel, scrim, radial-gradient, overlayColor light, contrast, eyebrow, outline button, centered hero, WO-101, website factory, render pass, earthen diff --git a/plugin.mod b/plugin.mod index 1d1a166..7292c1d 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "earthen" display_name = "Earthen" scope = "@themes" -version = "0.5.6" +version = "0.5.7" description = "Botanical nonprofit theme in moss, clay, sage and cream — hand-illustrated motifs for cause-driven sites." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/earthen/hero.ninjatpl b/templates/overrides/earthen/hero.ninjatpl index 0cf6880..dbd9d2e 100644 --- a/templates/overrides/earthen/hero.ninjatpl +++ b/templates/overrides/earthen/hero.ninjatpl @@ -34,6 +34,6 @@ {% if variant == "left-aligned" %}{% set align = "left" %}{% endif %}
{% if hasImage %}
{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}
{% endif %}{% endif %} -
{{ herocontent(align) }}
+
{{ herocontent(align) }}
{% endif %}