Light mode: brand-pink accent + inverted project logos#7
Merged
Conversation
- tokens.css: light --text-accent #A52260 -> #C42A6C — a vivid beetroot pink (was a livid/dull magenta), still WCAG-AA on white (~5.08:1). Applies to the landing wordmark/eyebrows/tags and to docs links in light. - Landing.vue: project-card logos are now scheme-aware — the inverted (dark-ink) -light.svg marks in light mode, cream -dark.svg in dark — instead of always using the dark (cream) variant. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Polishes the site’s light-mode visuals by improving the primary text accent color and making project-card logos automatically switch between light/dark variants based on VitePress theme state.
Changes:
- Updated the light theme
--text-accentcolor to a more vivid magenta (#C42A6C). - Made project logos scheme-aware by switching from hardcoded
*-dark.svgpaths to a computed*-{light|dark}.svgpath driven by VitePressisDark.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/theme/src/tokens.css | Updates the light-mode text accent token for higher visual punch while preserving the existing fill accent. |
| apps/website/.vitepress/theme/Landing.vue | Switches project logos to use isDark to select -light.svg vs -dark.svg variants. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two light-mode polish fixes for https://btravstack.github.io/.
Punchier primary
The light accent-as-text was
#A52260— a dull, "livid" magenta. Bumped to#C42A6C, a vivid beetroot pink that still passes WCAG-AA on the light bg (~5.08:1). This drives the wordmark, eyebrows, tags and (via--text-accent) docs links in light mode. Fills (--accent, buttons, glow) are unchanged.Inverted logos in light mode
The project-card logos were hardcoded to the dark variant (cream marks), which barely showed on the white cards. They're now scheme-aware: the inverted dark-ink
-light.svgmarks in light mode, cream-dark.svgin dark — bound to VitePress'sisDark.Verified light + dark: wordmark resolves
rgb(196,42,108)in light, logos swap correctly, build green.