From 10ee3542b27514aa8f9e1de1c079939ec264c312 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Fri, 20 Nov 2026 04:00:56 +0800 Subject: [PATCH] fix: render whole sections for factory-compiled sites (0.7.6) Co-Authored-By: Claude Opus 5.5 --- ...-over-a-photo-uses-the-foreground-colour.md | 18 ++++++++++++++++++ plugin.mod | 2 +- templates/overrides/brutalist/hero.ninjatpl | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0005-hero-text-over-a-photo-uses-the-foreground-colour.md 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 @@
{% 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 %}{% if sText and sUrl %}{{ sText }}{% endif %}
{% endif %} {% if trustLogos %}

Trusted by

{% for logo in trustLogos %}{% if logo.url %}{% img logo.image alt=logo.alt class="h-8 w-auto" %}{% else %}{% img logo.image alt=logo.alt class="h-8 w-auto opacity-70" %}{% endif %}{% endfor %}
{% endif %}