Light themes: agent's code text invisible in tool-call previews (only +/- diff lines render)

Resolved 💬 2 comments Opened May 9, 2026 by novarii Closed May 12, 2026

Version

Claude Code v2.1.138

Affected themes

All light themes (reproduced on Solarized Light; appears to affect every light theme).

Description

On light themes, the agent's code/text inside tool-call previews (e.g. Update / Edit / Write blocks) is not visible — the foreground color appears to match (or nearly match) the background. Only the highlighted +/- diff lines (with red/green backgrounds) render readably; surrounding context lines and headers are blank.

Repro

  1. Switch to any light theme (e.g. Solarized Light via /config)
  2. Have Claude run an Edit / Write / Update on a file
  3. Observe the tool-call preview — context lines around the diff are invisible

Expected

Context lines and non-diff text in tool-call previews should use a foreground color with sufficient contrast against light backgrounds.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗