Skip to content

Commit 7eda276

Browse files
authored
Merge pull request #9 from btravstack/fix/accent-split-checks
Light mode: split accent (brand-pink wordmark + AA labels) + fix green checks
2 parents 034d707 + 56b3eb6 commit 7eda276

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ onMounted(() => {
163163
<p class="btv-blurb">{{ p.blurb }}</p>
164164
<ul class="btv-points">
165165
<li v-for="pt in p.points" :key="pt">
166-
<svg width="15" height="15" viewBox="0 0 16 16" fill="none"><path d="M2.5 8.5l3 3 8-8" stroke="#46B86C" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
166+
<svg width="15" height="15" viewBox="0 0 16 16" fill="none"><path d="M2.5 8.5l3 3 8-8" stroke="var(--text-green)" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
167167
<span>{{ pt }}</span>
168168
</li>
169169
</ul>
@@ -251,7 +251,11 @@ onMounted(() => {
251251
}
252252
:global(html:not(.dark)) .btv-glow { opacity: 0.55; }
253253
254+
/* general accent highlights (incl. the small copy toast) keep the AA text accent */
254255
.btv-pink { color: var(--text-accent); }
256+
/* the large display wordmark (hero / header / footer) stays full brand pink */
257+
.btv-title .btv-pink,
258+
.btv-word .btv-pink { color: var(--display-accent); }
255259
.btv-toggle {
256260
display: inline-flex; align-items: center; justify-content: center;
257261
width: 38px; height: 38px;

packages/theme/src/tokens.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
--text-accent: #E0589A;
5656
--text-green: #46B86C;
5757

58+
/* Display accent — the brand pink as the LARGE display wordmark color in
59+
both schemes (large text only needs 3:1, so it can stay fully vibrant). */
60+
--display-accent: #E0589A;
61+
5862
/* ── Glass (frosted sticky headers) ──────────────────────────── */
5963
--glass: rgba(21, 16, 28, 0.66);
6064

@@ -147,7 +151,7 @@
147151
--faint: #978996;
148152

149153
--accent: #E0589A; /* fill unchanged (dark ink on top) */
150-
--text-accent: #C42A6C; /* punchier vivid beetroot, ~5.1:1 on white (was #A52260) */
154+
--text-accent: #D6246F; /* small labels / links — vivid raspberry, ~4.6:1 AA on white */
151155
--text-green: #15683A; /* ~5.2:1 on white — affirmative text */
152156

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

0 commit comments

Comments
 (0)