diff --git a/docs/adr/0003-hero-text-stays-light-on-a-photo.md b/docs/adr/0003-hero-text-stays-light-on-a-photo.md new file mode 100644 index 0000000..682dac9 --- /dev/null +++ b/docs/adr/0003-hero-text-stays-light-on-a-photo.md @@ -0,0 +1,18 @@ +# Hero text stays light on a photo on noir + +Decided 2026-11-20 for noir 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 + +- The hero sets its light-on-photo text colours with inline styles. The `text-white/85`, `text-white/80` and `text-white/70` classes are not in the generated stylesheet, so the subheadline, description and secondary link fell back to dark text on the dark scrim. + +## Consequences + +- noir 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: noir, 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 0591a39..48ad1d1 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "noir" display_name = "Noir" scope = "@themes" -version = "0.4.3" +version = "0.4.4" description = "Detective and true-crime dossier theme: case-file cards, typewriter type, redaction bars, evidence board and film grain. High-key gallery by day, darkroom black by night." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/noir/hero.ninjatpl b/templates/overrides/noir/hero.ninjatpl index ea34629..5851f7d 100644 --- a/templates/overrides/noir/hero.ninjatpl +++ b/templates/overrides/noir/hero.ninjatpl @@ -14,14 +14,14 @@ {% macro herocontent(align, onImg) %} {% if eyebrowText %}
{{ descText }}
{% endif %} +{% if subText %}{{ descText }}
{% endif %} {% if pText or sText %}Trusted by
+Trusted by