Compare commits

..

9 Commits

Author SHA1 Message Date
Alex Dunmow
cd292fc5a5 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>
2026-11-22 18:27:49 +08:00
Alex Dunmow
261e9a21ee fix: website factory render pass polish (0.5.8)
Hero scrim, button and preset contrast and layout fixes found by the
WO-096 render pass; see docs/adr.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 06:39:12 +08:00
Alex Dunmow
df0c34cd35 bump to 0.5.8 2026-11-20 06:15:16 +08:00
Alex Dunmow
329ca06e18 bump to 0.5.7 2026-11-20 06:05:06 +08:00
Alex Dunmow
aa6cb5d2f9 bump to 0.5.6 2026-11-20 05:33:13 +08:00
Alex Dunmow
8dd3f09356 fix: render whole sections for factory-compiled sites (0.5.5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:06:03 +08:00
Alex Dunmow
0782498812 fix: render whole sections for factory-compiled sites (0.5.4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:51:11 +08:00
Alex Dunmow
f9b833ecce fix: render whole sections for factory-compiled sites (0.5.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:22:26 +08:00
Alex Dunmow
5d733da973 fix: render whole sections for factory-compiled sites (0.5.2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:51:52 +08:00
11 changed files with 145 additions and 28 deletions

View File

@ -0,0 +1,18 @@
# Compiled sites render whole sections on magazine-bold
Decided 2026-11-20 for magazine-bold 0.5.2, from the website factory's visual review (orchestrator WO-094, ADR 0078).
## Context
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
## Decision
- rich-section renders one column with the text at a readable width when the section has no image. It used to keep a two-column grid with an empty media cell, so a compiled site whose about or contact section was waiting for a photo showed half the section blank.
## Consequences
- magazine-bold 0.5.2 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
Keywords: magazine-bold, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review

View File

@ -0,0 +1,19 @@
# Second render review of compiled sites on magazine-bold
Decided 2026-11-20 for magazine-bold 0.5.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADR 0001 shipped.
## Context
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
## Decision
- The hero headline drops `.mb-caps`, whose 0.72rem size overrode the headline's size classes and printed the page's main heading as a small label. It keeps upper case through Tailwind `uppercase`.
- The rich-section button's arrow is an inline icon. `.mb-button` is an inline block, the preflight makes an SVG a block, and the arrow wrapped onto a second line under the label.
## Consequences
- magazine-bold 0.5.3 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
Keywords: magazine-bold, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review

View File

@ -0,0 +1,18 @@
# The light hero scrim meets contrast on magazine-bold
Decided 2026-11-20 for magazine-bold 0.5.4, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.
## Context
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
## Decision
- The "light" hero scrim is the theme background at 82% opacity, set with an inline style. At 60% the muted subheadline measured 2.2:1 against a real photo in the render review, under the AA minimum; the inline style also keeps the scrim independent of which opacity classes the generated stylesheet holds.
## Consequences
- magazine-bold 0.5.4 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
Keywords: magazine-bold, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review

View File

@ -0,0 +1,18 @@
# Hero links meet contrast on magazine-bold
Decided 2026-11-20 for magazine-bold 0.5.5, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.
## Context
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
## Decision
- The hero's secondary link uses the foreground colour with a primary-coloured underline. In the primary colour it measured 3.7:1 on the hero card, under the AA minimum for its size.
## Consequences
- magazine-bold 0.5.5 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
Keywords: magazine-bold, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review

View File

@ -0,0 +1,20 @@
# The hero scrim lets the photo show
Decided 2026-11-20 for magazine-bold 0.5.8, from the website factory's final render pass (orchestrator WO-096, ADR 0084).
## Context
The website factory compiles a customer's site onto this theme. The render pass screenshots every page at 1280 and 390 pixels and measures text over images and every button against what is behind it.
## Decision
- The light hero scrim is a radial gradient of the theme background centred on the hero text (at 35% across for the left-aligned hero): 84% at the centre, 80% out to 55% of the radius and 40% at the corners. The flat 82% scrim of the last release met contrast but washed the photo out; the text keeps the same backing while the photo reads at the edges. The render harness measures every text element over the photo (orchestrator WO-096).
- Every preset's primary, secondary, accent and destructive colour meets AA (4.5:1) with its foreground in both schemes. The render pass measures every button, and these pairs were under it: chalk-lime dark destructive; chalk-lime light destructive; flux-green dark destructive; flux-green light accent; flux-green light destructive; ink-blue dark destructive; ink-blue light destructive; newsprint-voltage dark destructive; newsprint-voltage light accent; newsprint-voltage light destructive; signal-orange dark destructive; signal-orange light accent; signal-orange light destructive. Each colour moved the least lightness (at most ten points) that reaches 4.5 with its own foreground, and a colour that could not switched its foreground to white or near-black; a token that held the same colour (the ring) moved with it. The orchestrator's brand colour step keeps whatever contrast a preset has, so a preset under AA also left a branded site under it.
- Prose link colours (`.mb-prose a`) apply only to links without their own classes. The default page template wraps every section in the prose styles, so the blog index's active filter pill drew its label in the accent on its own dark fill.
## Consequences
- magazine-bold 0.5.8 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
- No schema field changes.
Keywords: mb-prose, filter pill, presets, AA, button contrast, primaryForeground, accentForeground, magazine-bold, hero, overlayColor, scrim, radial-gradient, contrast, WO-096, website factory, render pass

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

@ -196,7 +196,7 @@ css:
line-height: 1.0;
color: hsl(var(--foreground));
}
.mb-prose a {
.mb-prose a:not([class]) {
color: hsl(var(--accent));
text-decoration: underline;
text-decoration-thickness: 2px;
@ -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);

View File

@ -2,7 +2,7 @@
name = "magazine-bold"
display_name = "Magazine Bold"
scope = "@themes"
version = "0.5.1"
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"]

View File

@ -23,13 +23,13 @@
"secondaryForeground": "0 0% 8%",
"muted": "38 20% 92%",
"mutedForeground": "0 0% 40%",
"accent": "330 95% 55%",
"accent": "330 95% 46%",
"accentForeground": "0 0% 100%",
"destructive": "0 84% 55%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 86%",
"input": "0 0% 86%",
"ring": "330 95% 55%"
"ring": "330 95% 46%"
},
"darkColors": {
"background": "0 0% 7%",
@ -46,7 +46,7 @@
"mutedForeground": "38 10% 62%",
"accent": "330 100% 64%",
"accentForeground": "0 0% 7%",
"destructive": "0 84% 60%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 20%",
"input": "0 0% 20%",
@ -80,7 +80,7 @@
"mutedForeground": "0 0% 40%",
"accent": "220 100% 54%",
"accentForeground": "0 0% 100%",
"destructive": "0 84% 55%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 86%",
"input": "0 0% 86%",
@ -101,7 +101,7 @@
"mutedForeground": "38 10% 62%",
"accent": "216 100% 66%",
"accentForeground": "0 0% 7%",
"destructive": "0 84% 60%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 20%",
"input": "0 0% 20%",
@ -135,7 +135,7 @@
"mutedForeground": "0 0% 40%",
"accent": "78 90% 45%",
"accentForeground": "0 0% 8%",
"destructive": "0 84% 55%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 86%",
"input": "0 0% 86%",
@ -156,7 +156,7 @@
"mutedForeground": "60 8% 62%",
"accent": "76 92% 56%",
"accentForeground": "0 0% 8%",
"destructive": "0 84% 60%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 18%",
"input": "0 0% 18%",
@ -188,13 +188,13 @@
"secondaryForeground": "0 0% 8%",
"muted": "38 18% 92%",
"mutedForeground": "0 0% 40%",
"accent": "150 82% 38%",
"accent": "150 82% 29%",
"accentForeground": "0 0% 100%",
"destructive": "0 84% 55%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 86%",
"input": "0 0% 86%",
"ring": "150 82% 38%"
"ring": "150 82% 29%"
},
"darkColors": {
"background": "0 0% 7%",
@ -211,7 +211,7 @@
"mutedForeground": "38 10% 62%",
"accent": "146 90% 52%",
"accentForeground": "0 0% 7%",
"destructive": "0 84% 60%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 20%",
"input": "0 0% 20%",
@ -243,13 +243,13 @@
"secondaryForeground": "0 0% 8%",
"muted": "38 20% 92%",
"mutedForeground": "0 0% 40%",
"accent": "18 100% 50%",
"accent": "18 100% 42%",
"accentForeground": "0 0% 100%",
"destructive": "0 84% 55%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 86%",
"input": "0 0% 86%",
"ring": "18 100% 50%"
"ring": "18 100% 42%"
},
"darkColors": {
"background": "0 0% 7%",
@ -266,7 +266,7 @@
"mutedForeground": "38 10% 62%",
"accent": "22 100% 58%",
"accentForeground": "0 0% 7%",
"destructive": "0 84% 60%",
"destructive": "0 84% 50%",
"destructiveForeground": "0 0% 100%",
"border": "0 0% 20%",
"input": "0 0% 20%",

View File

@ -11,13 +11,13 @@
{% set hasImage = backgroundImage %}
{% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %}
{% 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 headlineText %}<h1 class="mb-caps 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 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{% 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 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 and pUrl %}<a href="{{ pUrl }}" class="mb-button inline-flex items-center justify-center gap-2">{{ pText }}</a>{% endif %}
{% if sText and sUrl %}<a href="{{ sUrl }}" class="mb-link inline-flex items-center justify-center">{{ sText }}</a>{% endif %}
{% if sText and sUrl %}<a href="{{ sUrl }}" class="mb-link inline-flex items-center justify-center" style="color:hsl(var(--foreground));text-decoration-color:hsl(var(--primary));">{{ sText }}</a>{% endif %}
</div>{% endif %}
{% if trustLogos %}<div class="mt-10">
<p class="mb-caps text-xs text-muted-foreground mb-3">Acclaim</p>
@ -33,7 +33,7 @@
{% set align = "center" %}
{% if variant == "left-aligned" %}{% set align = "left" %}{% endif %}
<section data-block-override="magazine-bold:hero" class="hero relative flex flex-col overflow-hidden bg-background text-foreground {% if minHeight == "screen" %}min-h-screen{% elif minHeight == "50vh" %}min-h-[50vh]{% elif minHeight == "auto" %}min-h-[400px]{% else %}min-h-[75vh]{% endif %} {% if verticalAlign == "top" %}justify-start pt-20{% elif verticalAlign == "bottom" %}justify-end pb-20{% else %}justify-center{% endif %}{% if class %} {{ class }}{% endif %}">
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}<div class="absolute inset-0 {% if overlayColor == "light" %}bg-background/60{% elif overlayColor == "primary" %}bg-primary/50{% elif overlayOpacity <= 30 %}bg-black/30{% elif overlayOpacity <= 50 %}bg-black/50{% elif overlayOpacity <= 70 %}bg-black/70{% else %}bg-black/80{% endif %}"></div>{% endif %}</div>{% endif %}
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}<div{% if overlayColor == "light" %} style="background: radial-gradient(ellipse at {% if variant == "left-aligned" %}35%{% else %}50%{% endif %} 50%, hsl(var(--background) / 0.86) 0%, hsl(var(--background) / 0.8) 50%, hsl(var(--background) / 0.2) 100%);"{% endif %} class="absolute inset-0 {% if overlayColor == "light" %}{% elif overlayColor == "primary" %}bg-primary/50{% elif overlayOpacity <= 30 %}bg-black/30{% elif overlayOpacity <= 50 %}bg-black/50{% elif overlayOpacity <= 70 %}bg-black/70{% else %}bg-black/80{% endif %}"></div>{% endif %}</div>{% endif %}
<div class="relative z-10 mx-auto w-full max-w-4xl px-4 sm:px-6 lg:px-8 {% if variant == "left-aligned" %}text-left{% else %}text-center{% endif %}"><div class="mb-panel px-6 py-10 sm:px-10 sm:py-14">{{ herocontent(align) }}</div></div>
</section>
{% endif %}

View File

@ -1,13 +1,13 @@
<section data-block-override="magazine-bold:rich-section" class="py-16 md:py-24 {% if background == "muted" %}bg-muted text-foreground{% elif background == "card" %}bg-card text-card-foreground{% else %}bg-background text-foreground{% endif %}{% if class %} {{ class }}{% endif %}">
<div class="mx-auto grid max-w-6xl items-center gap-10 px-4 md:grid-cols-2 md:gap-16">
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %}">
<div class="mx-auto grid max-w-6xl items-center gap-10 px-4 {% if media %}md:grid-cols-2{% endif %} md:gap-16">
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %} {% if not media %}max-w-3xl{% endif %}">
{% if eyebrow %}<div class="mb-3 flex items-center gap-4"><span class="mb-rule w-12"></span><p class="mb-caps text-xs text-muted-foreground">{{ eyebrow }}</p></div>{% endif %}
{% if heading %}<h2 class="mb-caps mb-underline mt-2 text-3xl text-foreground md:text-4xl" style="font-family:var(--font-heading, 'Archivo Black', 'Arial Black', sans-serif)">{{ heading }}</h2>{% endif %}
{% if body %}<div class="mt-4 space-y-4 text-lg text-muted-foreground [&_a]:text-[hsl(var(--accent))] [&_a]:underline [&_strong]:text-foreground" style="font-family:var(--font-body, 'Inter', system-ui, sans-serif)">{{ body|safe }}</div>{% endif %}
{% if ctaUrl and ctaLabel %}<a href="{{ ctaUrl }}" class="mb-button mt-6 inline-flex items-center gap-2">{{ ctaLabel }}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
</div>
<div class="{% if mediaPosition == "left" %}md:order-1{% else %}md:order-2{% endif %}">
{% if media %}<div class="overflow-hidden">{% img media alt=mediaAlt class="w-full h-auto object-cover" %}</div>{% endif %}
{% if ctaUrl and ctaLabel %}<a href="{{ ctaUrl }}" class="mb-button mt-6 inline-flex items-center gap-2">{{ ctaLabel }}<svg width="16" height="16" class="ml-2 inline h-4 w-4 align-middle" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
</div>
{% if media %}<div class="{% if mediaPosition == "left" %}md:order-1{% else %}md:order-2{% endif %}">
<div class="overflow-hidden">{% img media alt=mediaAlt class="w-full h-auto object-cover" %}</div>
</div>{% endif %}
</div>
</section>