Add a colorblind-friendly color preset for chat messages#216
Open
leonidasbarkas98-cpu wants to merge 1 commit into
Open
Add a colorblind-friendly color preset for chat messages#216leonidasbarkas98-cpu wants to merge 1 commit into
leonidasbarkas98-cpu wants to merge 1 commit into
Conversation
Message types are distinguished purely by hue (user blue #40a5ff, tool blue-purple #7c8bed, claude green #2ecc71, tool-result teal #1cc08c, thinking purple #ba55d3). For color vision deficiency these collapse into indistinguishable pairs — andrepimenta#41: 'the colour used for You is indistinguishable to me from the colour used for task or glob or read' — blue vs purple and green vs teal being classic confusion pairs. - new setting claudeCodeChat.ui.colorblindMode (boolean, default off): contributes entry, settingsData push, updateSettings write-back and a checkbox in the gear modal (new Appearance group), - when enabled, body.colorblind-mode re-colors all six message-type carriers (left border, ::before bar, icon gradients) with a green- and purple-free palette on the blue-orange and blue-yellow axes (user #4aa3ff, tool #e58a00, claude #1ec8d4, tool-result #ffd21a, error #ff4f3b, thinking neutral gray #9aa0a6), luminance-laddered so the ladder survives even full monochromacy, - off by default, zero impact while disabled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Message types are distinguished purely by hue (user blue, tool blue-purple, claude green, tool-result teal, thinking purple). For color vision deficiency these collapse into indistinguishable pairs — from #41: "the colour used for 'You' is indistinguishable to me from the colour used for task or glob or read" — blue vs purple and green vs teal being classic confusion pairs.
New setting
claudeCodeChat.ui.colorblindMode(default off, zero impact while disabled), exposed in the gear modal (new "Appearance" section) and the native settings. When enabled, a body-level class re-colors all six message-type carriers (left border, accent bar, icon gradients) with a green- and purple-free palette on the blue-orange and blue-yellow axes, luminance-laddered so the ladder survives even full monochromacy.Addresses #41. Based on current main (ab6e307),
tsc --noEmitclean, no new dependencies.