Skip to content

Commit c66c2d2

Browse files
committed
feat(docs): apply the beetroot stack theme and character logo
- bump @btravstack/theme to 1.6.0 — the near-black multi-accent system from the new BtravStack landing - new playful character mark (scheme-aware hero image + nav variants) - hero name now wears the package accent
1 parent b3c0433 commit c66c2d2

7 files changed

Lines changed: 86 additions & 18 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
--accent: #6b76f2;
66
}
77

8+
/* Hero name in the package accent — the BtravStack multi-accent rule: the
9+
* canvas stays neutral, the product glows in its own color (AA via
10+
* --text-accent, which darkens on light). */
11+
:root:root {
12+
--vp-home-hero-name-color: var(--text-accent);
13+
}
14+
815
/* Home-hero background glyph — the project's motif behind the hero (a durable
916
* timeline with a clock). Painted in --accent through a mask, so it always
1017
* tracks the accent token; the SVG is base64-encoded so no CSS minifier can
@@ -16,12 +23,6 @@
1623
--btv-col: 1152px;
1724
--btv-gutter: max(0px, calc((100% - var(--btv-col)) / 2));
1825
}
19-
/* Anchor the shared theme's hero glow to the content column instead of the
20-
* viewport edge, so it doesn't drift into a stray halo by the header on wide
21-
* screens (it still bleeds ~120px past the content, as before). */
22-
.VPHome::before {
23-
right: calc(var(--btv-gutter) - 120px);
24-
}
2526
.VPHome::after {
2627
content: "";
2728
position: absolute;

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ hero:
88
text: "Type-safe contracts for Temporal.io"
99
tagline: End-to-end type safety · Runtime validation · Explicit error handling
1010
image:
11-
src: /logo.svg
11+
light: /logo-light.svg
12+
dark: /logo-dark.svg
1213
alt: temporal-contract
1314
actions:
1415
- theme: brand

docs/public/logo-dark.svg

Lines changed: 21 additions & 1 deletion
Loading

docs/public/logo-light.svg

Lines changed: 21 additions & 1 deletion
Loading

docs/public/logo.svg

Lines changed: 21 additions & 1 deletion
Loading

pnpm-lock.yaml

Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ packages:
4545
- docs
4646

4747
catalog:
48-
"@btravstack/theme": 1.5.0
48+
"@btravstack/theme": 1.6.0
4949
"@changesets/cli": 2.31.0
5050
"@commitlint/cli": 21.2.0
5151
"@commitlint/config-conventional": 21.2.0

0 commit comments

Comments
 (0)