diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 43c5254..da953e4 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -5,6 +5,13 @@ --accent: #6b76f2; } +/* 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 durable * timeline with a clock). Painted in --accent through a mask, so it always * tracks the accent token; the SVG is base64-encoded so no CSS minifier can @@ -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 6f25267..3ce1153 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,7 +8,8 @@ hero: text: "Type-safe contracts for Temporal.io" tagline: End-to-end type safety · Runtime validation · Explicit error handling image: - src: /logo.svg + light: /logo-light.svg + dark: /logo-dark.svg alt: temporal-contract actions: - theme: brand diff --git a/docs/public/logo-dark.svg b/docs/public/logo-dark.svg index d5173bd..c39db23 100644 --- a/docs/public/logo-dark.svg +++ b/docs/public/logo-dark.svg @@ -1 +1,21 @@ - + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/public/logo-light.svg b/docs/public/logo-light.svg index a79aefe..7cd4493 100644 --- a/docs/public/logo-light.svg +++ b/docs/public/logo-light.svg @@ -1 +1,21 @@ - + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/public/logo.svg b/docs/public/logo.svg index 99af3e7..c39db23 100644 --- a/docs/public/logo.svg +++ b/docs/public/logo.svg @@ -1 +1,21 @@ - + + + + + + + + + + + + + + + + + + + + + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00959ac..809220a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,8 +7,8 @@ settings: catalogs: default: '@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 @@ -151,7 +151,7 @@ importers: devDependencies: '@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)(terser@5.48.0)(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)(terser@5.48.0)(typescript@6.0.3))(vue@3.5.35(typescript@6.0.3)) '@temporal-contract/tsconfig': specifier: workspace:* version: link:../tools/tsconfig @@ -659,10 +659,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==} @@ -5296,9 +5300,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)(terser@5.48.0)(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)(terser@5.48.0)(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)(terser@5.48.0)(typescript@6.0.3) + optionalDependencies: + vue: 3.5.35(typescript@6.0.3) '@changesets/apply-release-plan@7.1.1': dependencies: @@ -7049,7 +7055,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 75be669..eab59b8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -45,7 +45,7 @@ packages: - docs catalog: - "@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