diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css
index ae688b8f..87698534 100644
--- a/docs/.vitepress/theme/custom.css
+++ b/docs/.vitepress/theme/custom.css
@@ -5,6 +5,13 @@
--accent: #ff6600;
}
+/* 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 message
* fanning out to bound queues). Painted in --accent through a mask, so it
* always tracks the accent token; the SVG is base64-encoded so no CSS
@@ -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 bba78368..c2cc37ea 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -8,7 +8,8 @@ hero:
text: "Type-safe contracts for AMQP/RabbitMQ"
tagline: End-to-end type safety · Runtime validation · Reliable retry patterns
image:
- src: /logo.svg
+ light: /logo-light.svg
+ dark: /logo-dark.svg
alt: amqp-contract
actions:
- theme: brand
diff --git a/docs/public/logo-dark.svg b/docs/public/logo-dark.svg
index 6f5c9475..b4c24129 100644
--- a/docs/public/logo-dark.svg
+++ b/docs/public/logo-dark.svg
@@ -1 +1,25 @@
-
+
diff --git a/docs/public/logo-light.svg b/docs/public/logo-light.svg
index 2aa8ee61..74ebe826 100644
--- a/docs/public/logo-light.svg
+++ b/docs/public/logo-light.svg
@@ -1 +1,25 @@
-
+
diff --git a/docs/public/logo.svg b/docs/public/logo.svg
index dcc2aa48..b4c24129 100644
--- a/docs/public/logo.svg
+++ b/docs/public/logo.svg
@@ -1 +1,25 @@
-
\ No newline at end of file
+
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b6d17e53..9530dd1b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -13,8 +13,8 @@ catalogs:
specifier: 3.6.0
version: 3.6.0
'@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
@@ -188,7 +188,7 @@ importers:
version: link:../tools/tsconfig
'@btravstack/theme':
specifier: 'catalog:'
- version: 1.5.0(vitepress@1.6.4(@algolia/client-search@5.53.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.16)(typescript@6.0.3))
+ version: 1.6.0(vitepress@1.6.4(@algolia/client-search@5.53.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.16)(typescript@6.0.3))(vue@3.5.35(typescript@6.0.3))
'@types/node':
specifier: 24.13.2
version: 24.13.2
@@ -872,10 +872,14 @@ packages:
'@braintree/sanitize-url@7.1.2':
resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==}
- '@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==}
@@ -5913,9 +5917,11 @@ snapshots:
'@braintree/sanitize-url@7.1.2': {}
- '@btravstack/theme@1.5.0(vitepress@1.6.4(@algolia/client-search@5.53.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.16)(typescript@6.0.3))':
+ '@btravstack/theme@1.6.0(vitepress@1.6.4(@algolia/client-search@5.53.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.16)(typescript@6.0.3))(vue@3.5.35(typescript@6.0.3))':
dependencies:
vitepress: 1.6.4(@algolia/client-search@5.53.0)(@types/node@24.13.2)(lightningcss@1.32.0)(postcss@8.5.16)(typescript@6.0.3)
+ optionalDependencies:
+ vue: 3.5.35(typescript@6.0.3)
'@changesets/apply-release-plan@7.1.1':
dependencies:
@@ -7817,7 +7823,7 @@ snapshots:
'@vue/shared': 3.5.35
estree-walker: 2.0.2
magic-string: 0.30.21
- postcss: 8.5.15
+ postcss: 8.5.16
source-map-js: 1.2.1
'@vue/compiler-ssr@3.5.35':
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index db8c2084..18e38d8c 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -21,7 +21,7 @@ packages:
catalog:
"@asyncapi/parser": 3.6.0
- "@btravstack/theme": 1.5.0
+ "@btravstack/theme": 1.6.0
"@changesets/cli": 2.31.0
"@commitlint/cli": 21.2.0
"@commitlint/config-conventional": 21.2.0