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
8 changes: 4 additions & 4 deletions apps/website/.vitepress/theme/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ interface Project {
const projects: Project[] = [
{
tag: "Messaging", name: "amqp-contract", pkg: "@amqp-contract/contract",
logo: "/logos/amqp-contract-dark.svg", repoFull: "btravstack/amqp-contract", stars0: 18,
logo: "/logos/amqp-contract", repoFull: "btravstack/amqp-contract", stars0: 18,
blurb: "Type-safe contracts for AMQP & RabbitMQ. Define your exchanges, queues and messages once — get types and runtime validation on both ends.",
points: ["End-to-end type safety", "Reliable retry with Dead Letter Queues", "AsyncAPI 3.0 generation"],
install: "pnpm add @amqp-contract/contract",
repo: "https://github.com/btravstack/amqp-contract", docs: "https://btravstack.github.io/amqp-contract/",
},
{
tag: "Workflows", name: "temporal-contract", pkg: "@temporal-contract/contract",
logo: "/logos/temporal-contract-dark.svg", repoFull: "btravstack/temporal-contract", stars0: 7,
logo: "/logos/temporal-contract", repoFull: "btravstack/temporal-contract", stars0: 7,
blurb: "Type-safe contracts for Temporal.io. End-to-end types and automatic validation across workflows, activities and clients.",
points: ["Zod validation at every boundary", "Compile-time implementation checks", "Result / Future error handling"],
install: "pnpm add @temporal-contract/contract",
repo: "https://github.com/btravstack/temporal-contract", docs: "https://btravstack.github.io/temporal-contract/",
},
{
tag: "Errors", name: "unthrown", pkg: "unthrown",
logo: "/logos/unthrown-dark.svg", repoFull: "btravstack/unthrown", stars0: 1,
logo: "/logos/unthrown", repoFull: "btravstack/unthrown", stars0: 1,
blurb: "Explicit errors as values — with a separate defect channel for the unexpected. Only a true defect ever throws, and only at unwrap.",
points: ["Errors as values, typed in E", "A separate defect channel", "Zero runtime dependencies"],
install: "pnpm add unthrown",
Expand Down Expand Up @@ -150,7 +150,7 @@ onMounted(() => {
<div v-for="p in projects" :key="p.name" class="pcard btv-pcard">
<div class="btv-pcard-top">
<div class="btv-pcard-id">
<img :src="p.logo" width="46" height="46" :alt="`${p.name} logo`" class="btv-logo" />
<img :src="`${p.logo}-${isDark ? 'dark' : 'light'}.svg`" width="46" height="46" :alt="`${p.name} logo`" class="btv-logo" />
<span class="btv-tag">{{ p.tag }}</span>
</div>
<span class="btv-stars">
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
--faint: #978996;

--accent: #E0589A; /* fill unchanged (dark ink on top) */
--text-accent: #A52260; /* ~5.6:1 on white — links, eyebrows, wordmark */
--text-accent: #C42A6C; /* punchier vivid beetroot, ~5.1:1 on white (was #A52260) */
--text-green: #15683A; /* ~5.2:1 on white — affirmative text */

--accent-wash: rgba(224, 88, 154, 0.12);
Expand Down