diff --git a/docs/adr/0005-hero-text-over-a-photo-uses-the-foreground-colour.md b/docs/adr/0005-hero-text-over-a-photo-uses-the-foreground-colour.md new file mode 100644 index 0000000..5ce779b --- /dev/null +++ b/docs/adr/0005-hero-text-over-a-photo-uses-the-foreground-colour.md @@ -0,0 +1,18 @@ +# Hero text over a photo uses the foreground colour on brutalist + +Decided 2026-11-20 for brutalist 0.7.6, 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 4.48:1 on the light scrim at phone width, just under the AA minimum. + +## Consequences + +- brutalist 0.7.6 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: brutalist, 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 9107ed9..75831b2 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "brutalist" display_name = "Brutalist" scope = "@themes" -version = "0.7.5" +version = "0.7.6" description = "Concrete, oversized type, hard 12-col grid theme for design studios, architecture firms and art galleries." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/brutalist/hero.ninjatpl b/templates/overrides/brutalist/hero.ninjatpl index 53e79ba..8388cb4 100644 --- a/templates/overrides/brutalist/hero.ninjatpl +++ b/templates/overrides/brutalist/hero.ninjatpl @@ -15,7 +15,7 @@
{{ subText }}
{% endif %} +{% if subText %}{{ subText }}
{% endif %} {% if descText %}{{ descText }}
{% endif %} {% if pText or sText %}