From 6d92a0c231bc45bb539d4c62af736291cff50f6b Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Thu, 16 Jul 2026 03:01:43 +0200 Subject: [PATCH] feat(docs): apply the beetroot stack theme and character logo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - bump @btravstack/theme to 1.6.0 — the near-black multi-accent system from the new BtravStack landing - new playful character mark (scheme-aware hero image + nav variants) - hero name now wears the package accent --- docs/.vitepress/theme/custom.css | 13 +++++++------ docs/index.md | 3 ++- docs/public/logo-dark.svg | 21 ++++++++++++++++++++- docs/public/logo-light.svg | 21 ++++++++++++++++++++- docs/public/logo.svg | 21 ++++++++++++++++++++- pnpm-lock.yaml | 18 ++++++++++++------ pnpm-workspace.yaml | 2 +- 7 files changed, 82 insertions(+), 17 deletions(-) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 26b702e..c09450f 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -5,6 +5,13 @@ --accent: #b45ce0; } +/* Hero name in the package accent — the BtravStack multi-accent rule: the + * canvas stays neutral, the product glows in its own color (AA via + * --text-accent, which darkens on light). */ +:root:root { + --vp-home-hero-name-color: var(--text-accent); +} + /* Home-hero background glyph — the project's motif behind the hero (a walled * demesne / keep on a baseline). Painted in --accent through a mask, so it * always tracks the accent token; the SVG is base64-encoded so no CSS minifier @@ -16,12 +23,6 @@ --btv-col: 1152px; --btv-gutter: max(0px, calc((100% - var(--btv-col)) / 2)); } -/* Anchor the shared theme's hero glow to the content column instead of the - * viewport edge, so it doesn't drift into a stray halo by the header on wide - * screens (it still bleeds ~120px past the content, as before). */ -.VPHome::before { - right: calc(var(--btv-gutter) - 120px); -} .VPHome::after { content: ""; position: absolute; diff --git a/docs/index.md b/docs/index.md index 36af6eb..27f3f80 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,8 @@ hero: text: "Type-safe dependency injection" tagline: A container holds your services' domain and provides it — with requirements and construction errors tracked in the type system. The wiring sibling of unthrown. image: - src: /logo.svg + light: /logo-light.svg + dark: /logo-dark.svg alt: demesne actions: - theme: brand diff --git a/docs/public/logo-dark.svg b/docs/public/logo-dark.svg index d8db6ab..76eeeac 100644 --- a/docs/public/logo-dark.svg +++ b/docs/public/logo-dark.svg @@ -1 +1,20 @@ - + + + + + + + + + + + + + + + + + + + + diff --git a/docs/public/logo-light.svg b/docs/public/logo-light.svg index 0301a24..706cb57 100644 --- a/docs/public/logo-light.svg +++ b/docs/public/logo-light.svg @@ -1 +1,20 @@ - + + + + + + + + + + + + + + + + + + + + diff --git a/docs/public/logo.svg b/docs/public/logo.svg index 4af16f0..76eeeac 100644 --- a/docs/public/logo.svg +++ b/docs/public/logo.svg @@ -1 +1,20 @@ - + + + + + + + + + + + + + + + + + + + + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8108a62..9d8c25c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,8 +10,8 @@ catalogs: specifier: 0.18.4 version: 0.18.4 '@btravstack/theme': - specifier: 1.5.0 - version: 1.5.0 + specifier: 1.6.0 + version: 1.6.0 '@changesets/cli': specifier: 2.31.0 version: 2.31.0 @@ -146,7 +146,7 @@ importers: devDependencies: '@btravstack/theme': specifier: 'catalog:' - version: 1.5.0(vitepress@1.6.4(@algolia/client-search@5.55.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.15)(typescript@6.0.3)) + version: 1.6.0(vitepress@1.6.4(@algolia/client-search@5.55.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.15)(typescript@6.0.3))(vue@3.5.38(typescript@6.0.3)) '@types/node': specifier: 'catalog:' version: 24.13.2 @@ -407,10 +407,14 @@ packages: '@braidai/lang@1.1.2': resolution: {integrity: sha512-qBcknbBufNHlui137Hft8xauQMTZDKdophmLFv05r2eNmdIv/MlPuP4TdUknHG68UdWLgVZwgxVe735HzJNIwA==} - '@btravstack/theme@1.5.0': - resolution: {integrity: sha512-tTTWDNarS0GOSeHk3GZ+GtrNfAFacZNvYMzG+X/gpyUa8irPGB8MT4f+uCbloJ2UFG6JNLNXnMF7KuAVtMaoAA==} + '@btravstack/theme@1.6.0': + resolution: {integrity: sha512-MwesCcWGhsPZSHjsoWE0gib7HqUAp5oGQEnKdZshRjnqg0xDh72TvrtY7f/YioimLKAx1RAagMlb53fexNjFFg==} peerDependencies: vitepress: ^1.6.0 + vue: ^3.3.0 + peerDependenciesMeta: + vue: + optional: true '@changesets/apply-release-plan@7.1.1': resolution: {integrity: sha512-9qPCm/rLx/xoOFXIHGB229+4GOL76S4MC+7tyOuTsR6+1jYlfFDQORdvwR5hDA6y4FL2BPt3qpbcQIS+dW85LA==} @@ -4169,9 +4173,11 @@ snapshots: '@braidai/lang@1.1.2': {} - '@btravstack/theme@1.5.0(vitepress@1.6.4(@algolia/client-search@5.55.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.15)(typescript@6.0.3))': + '@btravstack/theme@1.6.0(vitepress@1.6.4(@algolia/client-search@5.55.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.15)(typescript@6.0.3))(vue@3.5.38(typescript@6.0.3))': dependencies: vitepress: 1.6.4(@algolia/client-search@5.55.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.15)(typescript@6.0.3) + optionalDependencies: + vue: 3.5.38(typescript@6.0.3) '@changesets/apply-release-plan@7.1.1': dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d0de4d1..a2c494b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -12,7 +12,7 @@ packages: catalog: "@arethetypeswrong/cli": 0.18.4 - "@btravstack/theme": 1.5.0 + "@btravstack/theme": 1.6.0 "@changesets/cli": 2.31.0 "@commitlint/cli": 21.0.2 "@commitlint/config-conventional": 21.0.2