Skip to content

feat: theme-aware diff colors and accent restore in version history - #104

Merged
fjbarrett merged 1 commit into
mainfrom
feat/version-history-tokens
Jun 12, 2026
Merged

feat: theme-aware diff colors and accent restore in version history#104
fjbarrett merged 1 commit into
mainfrom
feat/version-history-tokens

Conversation

@fjbarrett

Copy link
Copy Markdown
Owner

Summary

  • add --color-diff-add(-bg) / --color-diff-remove(-bg) tokens per theme; the previous text-green-400/text-red-400 were tuned for dark and nearly unreadable in light mode
  • Restore button text uses the accent link color

Test plan

  • light-mode diff verified via a mocked /versions response — deep green/red text on soft tinted rows
  • tsc --noEmit and vitest run pass

🤖 Generated with Claude Code

The diff view used green-400/red-400 text, which is nearly unreadable
on light backgrounds. Add diff add/remove tokens tuned per theme and
color the Restore affordance with the accent so the primary action in
the history list reads as such.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
keep Ready Ready Preview, Comment Jun 12, 2026 3:23am

@fjbarrett
fjbarrett merged commit 97ebef7 into main Jun 12, 2026
1 of 2 checks passed
@fjbarrett
fjbarrett deleted the feat/version-history-tokens branch June 12, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant