fix: website factory launch run defects (0.5.6)

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:48 +08:00
parent 6f997fc7da
commit 27f08dde42
4 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,19 @@
# The eyebrow lines up with the headline, and footer icons take the link colour
Decided 2026-11-22 for earthen 0.5.6, 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
- A left-aligned hero eyebrow has no leading rule. The rule before the eyebrow text pushed it 44 pixels (Riverstone Remedial Massage) right of the headline on the split and left-aligned heroes; the centred hero keeps a rule on each side.
- Footer icons draw in the link colour (`fill: currentColor`). The icon sprites carry no fill and would render black on the primary-coloured footer, as they did on art-deco.
## Consequences
- earthen 0.5.6 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.5.6 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
Keywords: eyebrow, kicker, accent rule, footer, social icon, fill currentColor, WO-101, website factory, launch runs, earthen

View File

@ -114,6 +114,9 @@ css:
/* All colour values reference the 19-token HSL custom properties so they */
/* shift with the active preset (mossbed, clay-field, wet-loam). */
/* Icon sprites draw in the link's colour; with no fill they stay black on the primary footer. */
[data-block-override="earthen:footer"] a svg { fill: currentColor; }
/* Bundled faces. The host does not yet emit @font-face for fonts.json
* (LoadedPlugin.BundledFonts is inert), so the theme declares them itself
* against the served /templates/earthen/fonts/... paths. Presets set

View File

@ -2,7 +2,7 @@
name = "earthen"
display_name = "Earthen"
scope = "@themes"
version = "0.5.5"
version = "0.5.6"
description = "Botanical nonprofit theme in moss, clay, sage and cream — hand-illustrated motifs for cause-driven sites."
kind = "theme"
categories = ["templates"]

View File

@ -11,7 +11,7 @@
{% set hasImage = backgroundImage %}
{% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %}
{% macro herocontent(align) %}
{% if eyebrowText %}<div class="mb-5 flex items-center gap-3 {% if align == "center" %}justify-center{% endif %}"><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span><span class="text-xs font-semibold uppercase tracking-wider" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);color:hsl(var(--primary));">{{ eyebrowText }}</span><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span></div>{% endif %}
{% if eyebrowText %}<div class="mb-5 flex items-center gap-3 {% if align == "center" %}justify-center{% endif %}">{% if align == "center" %}<span class="h-px w-8" style="background-color:hsl(var(--accent));"></span>{% endif %}<span class="text-xs font-semibold uppercase tracking-wider" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);color:hsl(var(--primary));">{{ eyebrowText }}</span><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span></div>{% endif %}
{% if headlineText %}<h1 class="text-4xl sm:text-5xl lg:text-6xl font-semibold leading-tight" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ headlineText }}</h1>{% endif %}
{% if subText %}<h2 class="mt-5 text-xl sm:text-2xl max-w-2xl{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ subText }}</h2>{% endif %}
{% if descText %}<p class="mt-4 max-w-xl leading-relaxed{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));">{{ descText }}</p>{% endif %}