From 2c1b8d0dd9da225aa7d51716d2ceec7108db8c3a Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Fri, 26 Jun 2026 12:54:27 +0200 Subject: [PATCH 1/2] Add theme-aware (light/dark) project logo Use the beetroot hourglass mark in both color schemes: VitePress per-theme nav logo (logo-light/dark.svg) plus an adaptive prefers-color-scheme favicon (logo.svg). These variants were finalized after the design-system PR was already squash-merged, so they land here in a follow-up. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/.vitepress/config.ts | 2 +- docs/public/logo-dark.svg | 1 + docs/public/logo-light.svg | 1 + docs/public/logo.svg | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 docs/public/logo-dark.svg create mode 100644 docs/public/logo-light.svg diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 5765306..6f8107d 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -72,7 +72,7 @@ export default withMermaid( themeConfig: { // https://vitepress.dev/reference/default-theme-config - logo: "/logo.svg", + logo: { light: "/logo-light.svg", dark: "/logo-dark.svg" }, nav: [ { text: "Guides", link: "/guide/getting-started" }, diff --git a/docs/public/logo-dark.svg b/docs/public/logo-dark.svg new file mode 100644 index 0000000..374fc70 --- /dev/null +++ b/docs/public/logo-dark.svg @@ -0,0 +1 @@ + diff --git a/docs/public/logo-light.svg b/docs/public/logo-light.svg new file mode 100644 index 0000000..0c88007 --- /dev/null +++ b/docs/public/logo-light.svg @@ -0,0 +1 @@ + diff --git a/docs/public/logo.svg b/docs/public/logo.svg index 651446f..d36c16a 100644 --- a/docs/public/logo.svg +++ b/docs/public/logo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 5506377ec5b4129331a92672351c9e411c83b4af Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Fri, 26 Jun 2026 14:29:04 +0200 Subject: [PATCH 2/2] Pin shared theme import to @v1.0.0 (fixes dark mode) custom.css pinned the jsDelivr import to an old landing commit (7ad5679) whose vitepress.css predates the dark-mode fix, so dark mode fell back to VitePress's default indigo brand and Inter font. Repoint to the immutable @v1.0.0 tag, which serves the corrected adapter (theme-aware brand/surfaces/fonts via raised-specificity selectors). --- docs/.vitepress/theme/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 3b934a8..2b90513 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -6,4 +6,4 @@ * Pinned to an immutable commit SHA for reproducible builds — to pull in * upstream token changes, bump the SHA below. Do not fork colors here. */ -@import "https://cdn.jsdelivr.net/gh/btravstack/btravstack.github.io@7ad56793ed403bd626ac85476752f9b7cf7c6983/theme/vitepress.css"; +@import "https://cdn.jsdelivr.net/gh/btravstack/btravstack.github.io@v1.0.0/theme/vitepress.css";