fix: website factory launch run defects (0.5.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:
Alex Dunmow 2026-11-22 18:27:49 +08:00
parent 261e9a21ee
commit cd292fc5a5
4 changed files with 27 additions and 3 deletions

View File

@ -0,0 +1,19 @@
# The eyebrow lines up with the headline, and a long word fits the hero
Decided 2026-11-22 for magazine-bold 0.5.9, 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 16 pixels (Dawn Patrol Bootcamp) right of the headline on the split and left-aligned heroes; the centred hero keeps a rule on each side.
- A hero headline with a word of nine letters or more takes a smaller size (`mb-word-9`, `mb-word-12`, set per word in the template; the longest word wins), and `overflow-wrap: anywhere` breaks a word that is longer still. "NEIGHBOURHOOD" in the wide uppercase face ran past the hero panel at 390 pixels in the long-headline render. A headline of shorter words keeps its size.
## Consequences
- magazine-bold 0.5.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.5.9 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
Keywords: eyebrow, kicker, mb-rule, long headline, mb-word-9, mb-word-12, overflow-wrap, WO-101, website factory, launch runs, magazine-bold

View File

@ -236,6 +236,11 @@ css:
} }
/* --- Heavy rules (bars, not hairlines) --- */ /* --- Heavy rules (bars, not hairlines) --- */
/* A hero headline with a long word takes a size at which the word fits on a phone and in the split hero's half
column. Later classes win, so the longest word sets the size. */
h1.mb-word-9 { font-size: clamp(1.75rem, 7.5vw, 3rem); overflow-wrap: anywhere; }
h1.mb-word-12 { font-size: clamp(1.4rem, 6vw, 2.5rem); overflow-wrap: anywhere; }
hr.mb-rule, .mb-rule, .mb-hairline { hr.mb-rule, .mb-rule, .mb-hairline {
border: 0; border: 0;
border-top: var(--mb-rule); border-top: var(--mb-rule);

View File

@ -2,7 +2,7 @@
name = "magazine-bold" name = "magazine-bold"
display_name = "Magazine Bold" display_name = "Magazine Bold"
scope = "@themes" scope = "@themes"
version = "0.5.8" version = "0.5.9"
description = "A streetwear label's cover-story chrome: massive condensed uppercase headlines, duotone imagery, grid-breaking overlap and fluoro accent slabs. Newsprint plus voltage by day, ink-black plus fluoro by night. For fashion drops, lookbooks and culture publications." description = "A streetwear label's cover-story chrome: massive condensed uppercase headlines, duotone imagery, grid-breaking overlap and fluoro accent slabs. Newsprint plus voltage by day, ink-black plus fluoro by night. For fashion drops, lookbooks and culture publications."
kind = "theme" kind = "theme"
categories = ["templates"] categories = ["templates"]

View File

@ -11,8 +11,8 @@
{% set hasImage = backgroundImage %} {% set hasImage = backgroundImage %}
{% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %}
{% macro herocontent(align) %} {% macro herocontent(align) %}
{% if eyebrowText %}<div class="mb-5 flex items-center gap-4 {% if align == "center" %}justify-center{% endif %}"><span class="mb-rule w-10"></span><span class="mb-caps text-xs text-muted-foreground">{{ eyebrowText }}</span><span class="mb-rule w-10"></span></div>{% endif %} {% if eyebrowText %}<div class="mb-5 flex items-center gap-4 {% if align == "center" %}justify-center{% endif %}">{% if align == "center" %}<span class="mb-rule w-10"></span>{% endif %}<span class="mb-caps text-xs text-muted-foreground">{{ eyebrowText }}</span><span class="mb-rule w-10"></span></div>{% endif %}
{% if headlineText %}<h1 class="uppercase tracking-tight text-4xl sm:text-5xl lg:text-6xl leading-tight" style="font-family:var(--font-heading, 'Archivo Black', 'Arial Black', sans-serif);color:hsl(var(--foreground));">{{ headlineText }}</h1>{% endif %} {% if headlineText %}<h1 class="uppercase tracking-tight text-4xl sm:text-5xl lg:text-6xl leading-tight{% for w in headlineText|split:" " %}{% if w|length > 11 %} mb-word-12{% elif w|length > 8 %} mb-word-9{% endif %}{% endfor %}" style="font-family:var(--font-heading, 'Archivo Black', 'Arial Black', sans-serif);color:hsl(var(--foreground));">{{ headlineText }}</h1>{% endif %}
{% if subText %}<h2 class="mt-5 text-xl sm:text-2xl italic max-w-2xl{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Inter', system-ui, sans-serif);">{{ subText }}</h2>{% endif %} {% if subText %}<h2 class="mt-5 text-xl sm:text-2xl italic max-w-2xl{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Inter', 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 %} {% 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 %}
{% if pText or sText %}<div class="mt-8 flex flex-col sm:flex-row gap-4{% if align == "center" %} justify-center{% endif %}"> {% if pText or sText %}<div class="mt-8 flex flex-col sm:flex-row gap-4{% if align == "center" %} justify-center{% endif %}">