Skip to content

Commit 034d707

Browse files
authored
Merge pull request #7 from btravstack/fix/light-accent-logos
Light mode: punchier accent + inverted project logos
2 parents 346de95 + 62c5207 commit 034d707

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/website/.vitepress/theme/Landing.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,23 @@ interface Project {
3232
const projects: Project[] = [
3333
{
3434
tag: "Messaging", name: "amqp-contract", pkg: "@amqp-contract/contract",
35-
logo: "/logos/amqp-contract-dark.svg", repoFull: "btravstack/amqp-contract", stars0: 18,
35+
logo: "/logos/amqp-contract", repoFull: "btravstack/amqp-contract", stars0: 18,
3636
blurb: "Type-safe contracts for AMQP & RabbitMQ. Define your exchanges, queues and messages once — get types and runtime validation on both ends.",
3737
points: ["End-to-end type safety", "Reliable retry with Dead Letter Queues", "AsyncAPI 3.0 generation"],
3838
install: "pnpm add @amqp-contract/contract",
3939
repo: "https://github.com/btravstack/amqp-contract", docs: "https://btravstack.github.io/amqp-contract/",
4040
},
4141
{
4242
tag: "Workflows", name: "temporal-contract", pkg: "@temporal-contract/contract",
43-
logo: "/logos/temporal-contract-dark.svg", repoFull: "btravstack/temporal-contract", stars0: 7,
43+
logo: "/logos/temporal-contract", repoFull: "btravstack/temporal-contract", stars0: 7,
4444
blurb: "Type-safe contracts for Temporal.io. End-to-end types and automatic validation across workflows, activities and clients.",
4545
points: ["Zod validation at every boundary", "Compile-time implementation checks", "Result / Future error handling"],
4646
install: "pnpm add @temporal-contract/contract",
4747
repo: "https://github.com/btravstack/temporal-contract", docs: "https://btravstack.github.io/temporal-contract/",
4848
},
4949
{
5050
tag: "Errors", name: "unthrown", pkg: "unthrown",
51-
logo: "/logos/unthrown-dark.svg", repoFull: "btravstack/unthrown", stars0: 1,
51+
logo: "/logos/unthrown", repoFull: "btravstack/unthrown", stars0: 1,
5252
blurb: "Explicit errors as values — with a separate defect channel for the unexpected. Only a true defect ever throws, and only at unwrap.",
5353
points: ["Errors as values, typed in E", "A separate defect channel", "Zero runtime dependencies"],
5454
install: "pnpm add unthrown",
@@ -150,7 +150,7 @@ onMounted(() => {
150150
<div v-for="p in projects" :key="p.name" class="pcard btv-pcard">
151151
<div class="btv-pcard-top">
152152
<div class="btv-pcard-id">
153-
<img :src="p.logo" width="46" height="46" :alt="`${p.name} logo`" class="btv-logo" />
153+
<img :src="`${p.logo}-${isDark ? 'dark' : 'light'}.svg`" width="46" height="46" :alt="`${p.name} logo`" class="btv-logo" />
154154
<span class="btv-tag">{{ p.tag }}</span>
155155
</div>
156156
<span class="btv-stars">

packages/theme/src/tokens.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
--faint: #978996;
148148

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

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

0 commit comments

Comments
 (0)