From cd292fc5a51d88895653da3717f342d7fa3e7615 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sun, 22 Nov 2026 18:27:49 +0800 Subject: [PATCH] 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 --- ...-the-eyebrow-lines-up-with-the-headline.md | 19 +++++++++++++++++++ manifest.yaml | 5 +++++ plugin.mod | 2 +- .../overrides/magazine-bold/hero.ninjatpl | 4 ++-- 4 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 docs/adr/0006-the-eyebrow-lines-up-with-the-headline.md diff --git a/docs/adr/0006-the-eyebrow-lines-up-with-the-headline.md b/docs/adr/0006-the-eyebrow-lines-up-with-the-headline.md new file mode 100644 index 0000000..5f6766e --- /dev/null +++ b/docs/adr/0006-the-eyebrow-lines-up-with-the-headline.md @@ -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 diff --git a/manifest.yaml b/manifest.yaml index f618173..73b8c0f 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -236,6 +236,11 @@ css: } /* --- 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 { border: 0; border-top: var(--mb-rule); diff --git a/plugin.mod b/plugin.mod index 268c0e7..03db778 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "magazine-bold" display_name = "Magazine Bold" 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." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/magazine-bold/hero.ninjatpl b/templates/overrides/magazine-bold/hero.ninjatpl index a8a4307..287f372 100644 --- a/templates/overrides/magazine-bold/hero.ninjatpl +++ b/templates/overrides/magazine-bold/hero.ninjatpl @@ -11,8 +11,8 @@ {% set hasImage = backgroundImage %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} -{% if eyebrowText %}
{{ eyebrowText }}
{% endif %} -{% if headlineText %}

{{ headlineText }}

{% endif %} +{% if eyebrowText %}
{% if align == "center" %}{% endif %}{{ eyebrowText }}
{% endif %} +{% if headlineText %}

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 }}

{% endif %} {% if subText %}

{{ subText }}

{% endif %} {% if descText %}

{{ descText }}

{% endif %} {% if pText or sText %}