diff --git a/docs/adr/0004-hero-text-over-a-photo-uses-the-foreground-colour.md b/docs/adr/0004-hero-text-over-a-photo-uses-the-foreground-colour.md new file mode 100644 index 0000000..4890c41 --- /dev/null +++ b/docs/adr/0004-hero-text-over-a-photo-uses-the-foreground-colour.md @@ -0,0 +1,18 @@ +# Hero text over a photo uses the foreground colour on art-deco + +Decided 2026-11-20 for art-deco 0.5.5, 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's eyebrow, subheadline and secondary link use the foreground colour. On the light scrim the gold link measured 2:1 and the muted italic subheadline 4.2:1, under the AA minimum. + +## Consequences + +- art-deco 0.5.5 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: art-deco, 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 22192de..5658012 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "art-deco" display_name = "Art Deco" scope = "@themes" -version = "0.5.4" +version = "0.5.5" description = "Luxury Art Deco theme with champagne gold gradients, jet black, ivory and geometric fan motifs for hotels, fine dining, weddings and jewellers." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/art-deco/hero.ninjatpl b/templates/overrides/art-deco/hero.ninjatpl index 7c41fe9..9d9f33f 100644 --- a/templates/overrides/art-deco/hero.ninjatpl +++ b/templates/overrides/art-deco/hero.ninjatpl @@ -11,13 +11,13 @@ {% set hasImage = backgroundImage %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} -{% if eyebrowText %}
{{ descText }}
{% endif %} {% if pText or sText %}Acclaim