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
13 changes: 7 additions & 6 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
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: "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
Expand Down
22 changes: 21 additions & 1 deletion 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.
22 changes: 21 additions & 1 deletion 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.
22 changes: 21 additions & 1 deletion docs/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 13 additions & 7 deletions pnpm-lock.yaml

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

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