diff --git a/docs/adr/0004-the-eyebrow-lines-up-and-footer-icons-take-the-link-colour.md b/docs/adr/0004-the-eyebrow-lines-up-and-footer-icons-take-the-link-colour.md new file mode 100644 index 0000000..092f24c --- /dev/null +++ b/docs/adr/0004-the-eyebrow-lines-up-and-footer-icons-take-the-link-colour.md @@ -0,0 +1,19 @@ +# The eyebrow lines up with the headline, and footer icons take the link colour + +Decided 2026-11-22 for earthen 0.5.6, from the website factory's launch runs (orchestrator WO-101, ADR 0092). + +## Context + +The website factory compiles a customer's site onto this theme. Twelve launch sites built on dev on 2026-11-22 showed defects on their home pages, recorded in the orchestrator's `docs/works/evidence/WO-090/runs/RESULTS.md`; the render pass now also renders a 60 to 80 character headline with long words on every theme. + +## Decision + +- A left-aligned hero eyebrow has no leading rule. The rule before the eyebrow text pushed it 44 pixels (Riverstone Remedial Massage) right of the headline on the split and left-aligned heroes; the centred hero keeps a rule on each side. +- Footer icons draw in the link colour (`fill: currentColor`). The icon sprites carry no fill and would render black on the primary-coloured footer, as they did on art-deco. + +## Consequences + +- earthen 0.5.6 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.5.6 (orchestrator `docs/works/evidence/WO-101/theme-regression/`). + +Keywords: eyebrow, kicker, accent rule, footer, social icon, fill currentColor, WO-101, website factory, launch runs, earthen diff --git a/manifest.yaml b/manifest.yaml index 2afd3df..369337f 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -114,6 +114,9 @@ css: /* All colour values reference the 19-token HSL custom properties so they */ /* shift with the active preset (mossbed, clay-field, wet-loam). */ + /* Icon sprites draw in the link's colour; with no fill they stay black on the primary footer. */ + [data-block-override="earthen:footer"] a svg { fill: currentColor; } + /* Bundled faces. The host does not yet emit @font-face for fonts.json * (LoadedPlugin.BundledFonts is inert), so the theme declares them itself * against the served /templates/earthen/fonts/... paths. Presets set diff --git a/plugin.mod b/plugin.mod index d950c9a..1d1a166 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "earthen" display_name = "Earthen" scope = "@themes" -version = "0.5.5" +version = "0.5.6" description = "Botanical nonprofit theme in moss, clay, sage and cream — hand-illustrated motifs for cause-driven sites." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/earthen/hero.ninjatpl b/templates/overrides/earthen/hero.ninjatpl index b36f06e..0cf6880 100644 --- a/templates/overrides/earthen/hero.ninjatpl +++ b/templates/overrides/earthen/hero.ninjatpl @@ -11,7 +11,7 @@ {% set hasImage = backgroundImage %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} -{% if eyebrowText %}
{{ descText }}
{% endif %}