Skip to content

Add colorblind-friendly diff theme - #209

Closed
vickychijwani wants to merge 1 commit into
nkzw-tech:mainfrom
vickychijwani:feat/colorblind-diff-theme
Closed

vickychijwani wants to merge 1 commit into
nkzw-tech:mainfrom
vickychijwani:feat/colorblind-diff-theme

Conversation

@vickychijwani

Copy link
Copy Markdown
Contributor

Adds a new colorblind-friendly option under Diff > Theme that uses orange/blue as the diff colors instead of red/green. I was finding it super hard to read diffs with the default theme, especially in unified view on mobile - this theme fixes that, hopefully for most colorblind users (Antigravity claims it is "clearly separable across deuteranopia, protanopia, and tritanopia" - I'm a deutan myself).

PR written primarily with Gemini 4 Neon in Antigravity, and I've tested the changes manually.

@cpojer

cpojer commented Dec 2, 2026

Copy link
Copy Markdown
Member

I implemented a "colorTheme" option instead so you can set your own syntax themes without having to embed a concrete colorblind theme. This is more accessible as there are many kinds of colorblindness, and users can customize the theme to their liking now.

See 6f626c3

@cpojer cpojer closed this Dec 2, 2026
@vickychijwani

Copy link
Copy Markdown
Contributor Author

Got it - thanks. That works too!

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.

2 participants