fix: website factory launch run defects (0.4.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:50 +08:00
parent cb3bf48c06
commit f86dfe00c8
3 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,18 @@
# The hero eyebrow keeps its contrast over a photo
Decided 2026-11-22 for terminal 0.4.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. The render pass now also renders a 60 to 80 character headline on every theme. On the blog-publication home page the long headline made the hero taller, the eyebrow chip ("$ A WEEKLY LETTER") moved out to where the radial light scrim is thin, and its primary text on the chip's 40% muted fill over the photo measured 3.4 at 1280 and 2.3 at 390 pixels.
## Decision
- Over a photo the eyebrow chip has an opaque background fill, so its text sits on the theme background whatever the photo does behind it. Without a photo the chip keeps its 40% muted fill.
## Consequences
- terminal 0.4.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.4.9 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
Keywords: hero, eyebrow, terminal-eyebrow, bg-muted/40, bg-background, contrast, photo, scrim, long headline, WO-101, website factory, launch runs, terminal

View File

@ -2,7 +2,7 @@
name = "terminal" name = "terminal"
display_name = "Terminal" display_name = "Terminal"
scope = "@themes" scope = "@themes"
version = "0.4.8" version = "0.4.9"
description = "Phosphor-on-black TTY theme for dev tools and OSS docs. Window chrome, man-page article layouts, keybind tables, boot logs, monospace type, and a typed-terminal canvas hero. Paper-teletype light mode, phosphor dark mode." description = "Phosphor-on-black TTY theme for dev tools and OSS docs. Window chrome, man-page article layouts, keybind tables, boot logs, monospace type, and a typed-terminal canvas hero. Paper-teletype light mode, phosphor dark mode."
kind = "theme" kind = "theme"
categories = ["templates"] categories = ["templates"]

View File

@ -11,7 +11,7 @@
{% 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 %}<span class="terminal-eyebrow inline-block mb-4 border border-border bg-muted/40 px-3 py-1">$ {{ eyebrowText }} <span aria-hidden="true" class="caret-blink">_</span></span>{% endif %} {% if eyebrowText %}<span class="terminal-eyebrow inline-block mb-4 border border-border {% if hasImage %}bg-background{% else %}bg-muted/40{% endif %} px-3 py-1">$ {{ eyebrowText }} <span aria-hidden="true" class="caret-blink">_</span></span>{% endif %}
{% if headlineText %}<h1 class="terminal-heading text-4xl sm:text-5xl lg:text-6xl font-bold leading-tight text-foreground">{{ headlineText }}</h1>{% endif %} {% if headlineText %}<h1 class="terminal-heading text-4xl sm:text-5xl lg:text-6xl font-bold leading-tight text-foreground">{{ headlineText }}</h1>{% endif %}
{% if subText %}<h2 class="mt-4 text-xl sm:text-2xl text-muted-foreground max-w-2xl{% if align == "center" %} mx-auto{% endif %}"{% if hasImage %} style="color:hsl(var(--foreground));"{% endif %}>{{ subText }}</h2>{% endif %} {% if subText %}<h2 class="mt-4 text-xl sm:text-2xl text-muted-foreground max-w-2xl{% if align == "center" %} mx-auto{% endif %}"{% if hasImage %} style="color:hsl(var(--foreground));"{% endif %}>{{ subText }}</h2>{% endif %}
{% if descText %}<p class="mt-4 max-w-xl leading-relaxed text-muted-foreground{% if align == "center" %} mx-auto{% endif %}">{{ descText }}</p>{% endif %} {% if descText %}<p class="mt-4 max-w-xl leading-relaxed text-muted-foreground{% if align == "center" %} mx-auto{% endif %}">{{ descText }}</p>{% endif %}