From 61d9c1d0b2d2972ce5c91fee5506a11cdff34796 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Tue, 14 Jul 2026 10:58:36 -0600 Subject: [PATCH] =?UTF-8?q?Light-theme=20logo=20variant=20=E2=80=94=20the?= =?UTF-8?q?=20wordmark=20was=20invisible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starlight renders the logo as an , so CSS can't reach inside it. The single cream-on-near-black SVG left a cream wordmark on a cream page. Ship a light variant with warm ink and the darker brass the light theme already uses. --- docs-site/astro.config.mjs | 10 ++++++- docs-site/src/assets/logo-light.svg | 43 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 docs-site/src/assets/logo-light.svg diff --git a/docs-site/astro.config.mjs b/docs-site/astro.config.mjs index b22ed46..4424090 100644 --- a/docs-site/astro.config.mjs +++ b/docs-site/astro.config.mjs @@ -45,7 +45,15 @@ export default defineConfig({ // The mark IS the word "cuckoo" — a rebus. replacesTitle stops Starlight // rendering the title text beside it (which would read "…escapement The // Cuckoo Escapement"). The SVG's aria-label carries the full name. - logo: { src: "./src/assets/logo.svg", replacesTitle: true }, + // + // Two variants, because Starlight renders the logo as an and CSS + // cannot reach inside it. The single cream-on-black logo was invisible in + // the light theme — cream wordmark on a cream page. + logo: { + light: "./src/assets/logo-light.svg", + dark: "./src/assets/logo.svg", + replacesTitle: true, + }, favicon: "/favicon.svg", customCss: ["./src/styles/brass.css"], diff --git a/docs-site/src/assets/logo-light.svg b/docs-site/src/assets/logo-light.svg new file mode 100644 index 0000000..1586853 --- /dev/null +++ b/docs-site/src/assets/logo-light.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + escapement +