[BUG] The code background in Claud chat appears in black background with light VC Code theme.
Resolved 💬 1 comment Opened May 4, 2026 by pranavraulkar Closed Jun 2, 2026
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?
I have light theme enabled for VS Code. Claude for VS code shows chat in light background but any code snippets do not respect the VS Code theme settings (light /dark). This stark contract is off-putting and sometimes hard to read.
<img width="1108" height="403" alt="Image" src="https://github.com/user-attachments/assets/d4446e28-205a-46e9-a15a-ddd1afdab743" />
What Should Happen?
The code snippet within the Claude chat window in VS Code should switch between light/dark based on theme settings.
Error Messages/Logs
Steps to Reproduce
- Enable light theme in VS Code
- Start chat with Claude
- Invoke some action where Claude will display some code snippet.
- Verify code snippet background is dark
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.126 (VS Code extension)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗