diff --git a/.changeset/di-accent-token.md b/.changeset/di-accent-token.md new file mode 100644 index 0000000..6f85513 --- /dev/null +++ b/.changeset/di-accent-token.md @@ -0,0 +1,16 @@ +--- +"@btravstack/theme": minor +--- + +Add `--pkg-di`, blue `#3E7FD4`, for `@btravstack/di`. + +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 lighter blue +(the barrel rim, the plunger, the needle hub), so chrome and artwork stay one +color. + +di's docs site currently sets `--accent: #2A62B8`, the logo's *deep* blue. That +hex scores 3.22 against `--card` on the dark scheme, below the 5.00–7.25 band +the other four package accents occupy, so the landing takes the lighter blue +instead: 4.72 on the dark card, 7.10 as darkened text on white (AA). Repointing +di's docs to match is btravstack/di's half. diff --git a/apps/website/.vitepress/theme/Landing.vue b/apps/website/.vitepress/theme/Landing.vue index 9994b12..07f5069 100644 --- a/apps/website/.vitepress/theme/Landing.vue +++ b/apps/website/.vitepress/theme/Landing.vue @@ -44,8 +44,9 @@ interface Project { docs: string; } -// Ordered as the stack reads — errors, the domain built on them, then the -// transports that carry it. unthrown leads: the other three build on it. +// Ordered as the stack reads — errors, the domain built on them, the wiring +// that assembles it, then the transports that carry it. unthrown leads: the +// other four build on it. const projects: Project[] = [ { key: "unthrown", tag: "Errors", name: "unthrown", pkg: "unthrown", npm: "unthrown", @@ -63,6 +64,14 @@ const projects: Project[] = [ install: "pnpm add @btravstack/entity", repo: "https://github.com/btravstack/entity", docs: "https://btravstack.github.io/entity/", }, + { + key: "di", tag: "Wiring", name: "di", pkg: "@btravstack/di", npm: "@btravstack/di", + logo: "/logos/di", repoFull: "btravstack/di", stars0: 1, + blurb: "A module-based container. Ports are the vocabulary your application defines, providers bind them at one edge, and modules declare what they import and export — so internals stay private in a graph that is one flat map at runtime.", + points: ["Ports named by the domain, not the adapter", "Unmet dependencies are compile errors", "Scoped resources release themselves"], + install: "pnpm add @btravstack/di unthrown", + repo: "https://github.com/btravstack/di", docs: "https://btravstack.github.io/di/", + }, { key: "amqp", tag: "Messaging", name: "amqp-contract", pkg: "@amqp-contract/contract", npm: "@amqp-contract/contract", logo: "/logos/amqp-contract", repoFull: "btravstack/amqp-contract", stars0: 18, @@ -186,8 +195,8 @@ onMounted(() => {
-

Four libraries, one stack.

-

Errors, domain, messaging and workflows — four focused packages that compose into one coherent backend.

+

Five libraries, one stack.

+

Errors, domain, wiring, messaging and workflows — five focused packages that compose into one coherent backend.

- +