diff --git a/docs/adr/0005-the-hero-eyebrow-keeps-its-contrast-over-a-photo.md b/docs/adr/0005-the-hero-eyebrow-keeps-its-contrast-over-a-photo.md new file mode 100644 index 0000000..549d742 --- /dev/null +++ b/docs/adr/0005-the-hero-eyebrow-keeps-its-contrast-over-a-photo.md @@ -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 diff --git a/plugin.mod b/plugin.mod index 81eb4d5..edcdf11 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "terminal" display_name = "Terminal" 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." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/terminal/hero.ninjatpl b/templates/overrides/terminal/hero.ninjatpl index 5a61a0c..48fe569 100644 --- a/templates/overrides/terminal/hero.ninjatpl +++ b/templates/overrides/terminal/hero.ninjatpl @@ -11,7 +11,7 @@ {% set hasImage = backgroundImage %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} -{% if eyebrowText %}$ {{ eyebrowText }} {% endif %} +{% if eyebrowText %}$ {{ eyebrowText }} {% endif %} {% if headlineText %}

{{ headlineText }}

{% endif %} {% if subText %}

{{ subText }}

{% endif %} {% if descText %}

{{ descText }}

{% endif %}