Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions docs/public/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions docs/public/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading