From 1654bea486085fb535251247832348b66ff92f9e Mon Sep 17 00:00:00 2001 From: Norbert Rosenwinkel <199918463+yesbert@users.noreply.github.com> Date: Thu, 3 Sep 2026 18:17:22 +0200 Subject: [PATCH 1/2] docs: use the wordmark blue across the whole site, not only the landing page --- docs/templates/stratara/public/main.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/templates/stratara/public/main.css b/docs/templates/stratara/public/main.css index 55fc592..f6f131c 100644 --- a/docs/templates/stratara/public/main.css +++ b/docs/templates/stratara/public/main.css @@ -4,7 +4,7 @@ margin-right: 0.5rem; } -/* ---------- Landing page (docs/index.md, _layout: landing) ---------- */ +/* ---------- Brand colours (whole site) and the landing page ---------- */ :root { --st-brand-rgb: 6, 115, 203; /* the wordmark blue from the logo; never themed */ @@ -24,8 +24,16 @@ --st-border: rgba(255, 255, 255, 0.12); } -/* Both themes read the accent variables, so dark mode needs no second rule. */ -body[data-layout="landing"] { +/* The whole site, not only the landing page. DocFX's template hangs every blue it + draws on Bootstrap's --bs-primary and --bs-link-*, which default to #0d6efd — a + visibly different blue from the wordmark. Redirecting the variables recolours + links, focus rings and anything else derived from them in one place. Both themes + read the accent variables, so dark mode needs no second rule. */ +:root, +[data-bs-theme="light"], +[data-bs-theme="dark"] { + --bs-primary: var(--st-accent); + --bs-primary-rgb: var(--st-accent-rgb); --bs-link-color: var(--st-accent); --bs-link-hover-color: var(--st-accent-deep); --bs-link-color-rgb: var(--st-accent-rgb); From e926c9a3675edf6133528a87cb4b3f5f78048a34 Mon Sep 17 00:00:00 2001 From: Norbert Rosenwinkel <199918463+yesbert@users.noreply.github.com> Date: Thu, 3 Sep 2026 18:33:43 +0200 Subject: [PATCH 2/2] docs: shorten the accent-variable comment --- docs/templates/stratara/public/main.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/templates/stratara/public/main.css b/docs/templates/stratara/public/main.css index f6f131c..7b5bba8 100644 --- a/docs/templates/stratara/public/main.css +++ b/docs/templates/stratara/public/main.css @@ -24,11 +24,8 @@ --st-border: rgba(255, 255, 255, 0.12); } -/* The whole site, not only the landing page. DocFX's template hangs every blue it - draws on Bootstrap's --bs-primary and --bs-link-*, which default to #0d6efd — a - visibly different blue from the wordmark. Redirecting the variables recolours - links, focus rings and anything else derived from them in one place. Both themes - read the accent variables, so dark mode needs no second rule. */ +/* Every blue the template draws comes from these Bootstrap variables, so redirecting + them here is what makes the whole site use the wordmark blue rather than #0d6efd. */ :root, [data-bs-theme="light"], [data-bs-theme="dark"] {