Skip to content

Add a colorblind-friendly color preset for chat messages#216

Open
leonidasbarkas98-cpu wants to merge 1 commit into
andrepimenta:mainfrom
leonidasbarkas98-cpu:feat/colorblind-preset
Open

Add a colorblind-friendly color preset for chat messages#216
leonidasbarkas98-cpu wants to merge 1 commit into
andrepimenta:mainfrom
leonidasbarkas98-cpu:feat/colorblind-preset

Conversation

@leonidasbarkas98-cpu

Copy link
Copy Markdown

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 --noEmit clean, no new dependencies.

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>
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