diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index a2e5952..2d5f549 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -122,7 +122,7 @@ export default defineConfig({
},
themeConfig: {
- logo: "/logo.svg",
+ logo: { light: "/logo-light.svg", dark: "/logo-dark.svg" },
nav: [
// The guide is organised by the four Diátaxis modes; the dropdown links
diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css
index fe04631..f8c19df 100644
--- a/docs/.vitepress/theme/custom.css
+++ b/docs/.vitepress/theme/custom.css
@@ -1,10 +1,16 @@
/* di accent — blue, the family's slot for this package (the logo's syringe
* barrel is drawn in it). Blue is plumbing: the connections behind the wall
* that everything visible runs on, which is what a wiring container is. The
- * hex is the logo's own deep blue, so chrome and artwork stay one color.
+ * hex is the logo's own lighter blue — the barrel rim, the plunger and the
+ * needle hub — so chrome and artwork stay one color.
+ *
+ * Not the logo's deep #2a62b8, which this file used until the landing measured
+ * it: 3.22 against the dark card, where the other four package accents sit at
+ * 5.00–7.25. This one is 4.72 there and 7.10 as darkened text on white. It is
+ * --pkg-di in @btravstack/theme, so the landing panel and this site agree.
* @btravstack/theme derives the accent shades from this token. */
:root {
- --accent: #2a62b8;
+ --accent: #3e7fd4;
}
/* Hero name in the package accent — the BtravStack multi-accent rule: the
diff --git a/docs/index.md b/docs/index.md
index 8d97832..234ede9 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -8,7 +8,8 @@ hero:
text: "Wiring, checked at compile time"
tagline: Ports as the vocabulary your application defines, providers bound at one edge, and modules that declare their imports and exports — with unmet dependencies, leaked internals and resource leaks caught by the compiler, and Result instead of throws.
image:
- src: /logo.svg
+ light: /logo-light.svg
+ dark: /logo-dark.svg
alt: di
actions:
- theme: brand
diff --git a/docs/public/logo-dark.svg b/docs/public/logo-dark.svg
new file mode 100644
index 0000000..3fcea93
--- /dev/null
+++ b/docs/public/logo-dark.svg
@@ -0,0 +1,30 @@
+
diff --git a/docs/public/logo-light.svg b/docs/public/logo-light.svg
new file mode 100644
index 0000000..9e479a2
--- /dev/null
+++ b/docs/public/logo-light.svg
@@ -0,0 +1,34 @@
+
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ae6a042..301c7b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,8 +16,8 @@ catalogs:
specifier: 0.2.1
version: 0.2.1
'@btravstack/theme':
- specifier: 1.7.0
- version: 1.7.0
+ specifier: 2.0.0
+ version: 2.0.0
'@btravstack/tsconfig':
specifier: 0.2.0
version: 0.2.0
@@ -131,7 +131,7 @@ importers:
devDependencies:
'@btravstack/theme':
specifier: 'catalog:'
- version: 1.7.0(vitepress@1.6.4(@algolia/client-search@5.56.0)(@types/node@26.1.2)(jiti@2.7.0)(postcss@8.5.26)(typescript@6.0.3)(yaml@2.9.0))(vue@3.5.41(typescript@6.0.3))
+ version: 2.0.0(vitepress@1.6.4(@algolia/client-search@5.56.0)(@types/node@26.1.2)(jiti@2.7.0)(postcss@8.5.26)(typescript@6.0.3)(yaml@2.9.0))(vue@3.5.41(typescript@6.0.3))
'@btravstack/typedoc':
specifier: 'catalog:'
version: 0.1.0(typedoc-plugin-markdown@4.12.0(typedoc@0.28.20(typescript@6.0.3)))(typedoc@0.28.20(typescript@6.0.3))
@@ -381,8 +381,8 @@ packages:
peerDependencies:
oxlint: '>=1'
- '@btravstack/theme@1.7.0':
- resolution: {integrity: sha512-EcBvQruZdsiL/zuNsu7Y1r2FeMDv0J5LZJx7ikO6cFvNRzKCc63A7582gVmfJNQlGJIg0cUCjQXB4Tm1YHtyug==}
+ '@btravstack/theme@2.0.0':
+ resolution: {integrity: sha512-tEhaBntwON0PpDWoSsp1cwxmFAXlBk4sLld2U3/MRKWFxAl8/E0ZHtUyy/Bd5rShi7caI7dwq4PzC0mqh7psJA==}
peerDependencies:
vitepress: ^1.6.0
vue: ^3.3.0
@@ -3353,7 +3353,7 @@ snapshots:
dependencies:
oxlint: 1.77.0
- '@btravstack/theme@1.7.0(vitepress@1.6.4(@algolia/client-search@5.56.0)(@types/node@26.1.2)(jiti@2.7.0)(postcss@8.5.26)(typescript@6.0.3)(yaml@2.9.0))(vue@3.5.41(typescript@6.0.3))':
+ '@btravstack/theme@2.0.0(vitepress@1.6.4(@algolia/client-search@5.56.0)(@types/node@26.1.2)(jiti@2.7.0)(postcss@8.5.26)(typescript@6.0.3)(yaml@2.9.0))(vue@3.5.41(typescript@6.0.3))':
dependencies:
vitepress: 1.6.4(@algolia/client-search@5.56.0)(@types/node@26.1.2)(jiti@2.7.0)(postcss@8.5.26)(typescript@6.0.3)(yaml@2.9.0)
optionalDependencies:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 6e4fc53..1e6d1ef 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -13,7 +13,7 @@ catalog:
"@btravstack/commitlint": 0.1.0
"@btravstack/lefthook": 0.1.1
"@btravstack/oxlint": 0.2.1
- "@btravstack/theme": 1.7.0
+ "@btravstack/theme": 2.0.0
"@btravstack/tsconfig": 0.2.0
"@btravstack/typedoc": 0.1.0
"@changesets/cli": 2.31.1
@@ -77,6 +77,11 @@ peerDependencyRules:
# Optional analytics peer of VitePress's bundled Algolia DocSearch.
- search-insights
+minimumReleaseAgeExclude:
+ # First-party shared config (@btravstack scope): adopt immediately, skip any
+ # registry-maturity delay — these are published from btravstack repos.
+ - "@btravstack/theme"
+
allowBuilds:
esbuild: true
lefthook: true