diff --git a/docs/adr/0003-hero-subheadline-meets-contrast-over-a-photo.md b/docs/adr/0003-hero-subheadline-meets-contrast-over-a-photo.md new file mode 100644 index 0000000..e3c30f9 --- /dev/null +++ b/docs/adr/0003-hero-subheadline-meets-contrast-over-a-photo.md @@ -0,0 +1,18 @@ +# The hero subheadline meets contrast over a photo on terminal + +Decided 2026-11-20 for terminal 0.4.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 + +- Over a photo the hero subheadline uses the foreground colour. The muted colour measured 3.5:1 on the light scrim at phone width, under the AA minimum. + +## Consequences + +- terminal 0.4.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: terminal, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review diff --git a/plugin.mod b/plugin.mod index f5fae5f..a7b4861 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "terminal" display_name = "Terminal" scope = "@themes" -version = "0.4.3" +version = "0.4.4" 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 453162d..32a5dcd 100644 --- a/templates/overrides/terminal/hero.ninjatpl +++ b/templates/overrides/terminal/hero.ninjatpl @@ -13,7 +13,7 @@ {% macro herocontent(align) %} {% if eyebrowText %}$ {{ eyebrowText }} {% endif %} {% if headlineText %}

{{ headlineText }}

{% endif %} -{% if subText %}

{{ subText }}

{% endif %} +{% if subText %}

{{ subText }}

{% endif %} {% if descText %}

{{ descText }}

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