[BUG] Colorblind theme has low-contrast syntax highlighting on dark backgrounds
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Some syntax-highlighted words, such as the keywords for, in, do, and done in the image below, render in a dark-blue color that is challenging to read against a dark terminal background. This occurs even when "Dark mode (colorblind-friendly)" is chosen in /theme.
<img width="480" height="300" alt="Image" src="https://github.com/user-attachments/assets/26d51d77-b52d-4cef-81f0-b2873eb30960" />
The screenshot is with the stock terminal theme in Ubuntu 24.04. Changing to other built-in dark color schemes within gnome-terminal did not significantly improve the constrast.
What Should Happen?
All font colors should meet a minimum contrast ratio against the background, especially in a colorblind-friendly theme.
Error Messages/Logs
Steps to Reproduce
- Set theme to "Dark mode (colorblind-friendly)" in
/theme. - Use a dark terminal background, such as the stock terminal in Ubuntu 24.04 LTS.
- Ask claude to generate bash code containing keywords like
for,in, anddo. - Observe the dark blue font with poor contrast.
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.72 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗