claude-code - 💡(How to fix) Fix Tool output nearly invisible in expanded "Ran N shell command" view under Light theme

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

When clicking to expand a collapsed Ran N shell command block in the transcript, the tool output text renders with extremely low contrast — appears as faint gray on the panel background, almost unreadable.

Switching theme from light to auto (or dark) restores normal contrast and the same output becomes fully legible. The issue is reproducible only with the light theme.

Likely cause: the foreground color used for inline tool output inside the expanded block is not adjusted per theme — probably a dim/faint ANSI mapping or a hard-coded dark gray that only has acceptable contrast against the dark theme background.

Root Cause

When clicking to expand a collapsed Ran N shell command block in the transcript, the tool output text renders with extremely low contrast — appears as faint gray on the panel background, almost unreadable.

Switching theme from light to auto (or dark) restores normal contrast and the same output becomes fully legible. The issue is reproducible only with the light theme.

Likely cause: the foreground color used for inline tool output inside the expanded block is not adjusted per theme — probably a dim/faint ANSI mapping or a hard-coded dark gray that only has acceptable contrast against the dark theme background.

Fix Action

Workaround

Switch theme to auto or dark via /config.

RAW_BUFFERClick to expand / collapse

Description

When clicking to expand a collapsed Ran N shell command block in the transcript, the tool output text renders with extremely low contrast — appears as faint gray on the panel background, almost unreadable.

Switching theme from light to auto (or dark) restores normal contrast and the same output becomes fully legible. The issue is reproducible only with the light theme.

Likely cause: the foreground color used for inline tool output inside the expanded block is not adjusted per theme — probably a dim/faint ANSI mapping or a hard-coded dark gray that only has acceptable contrast against the dark theme background.

Repro

  1. /config → set theme to light
  2. Run any command that produces multi-line text output (e.g. git log --oneline -5)
  3. Wait for the assistant to collapse the call into Ran 1 shell command
  4. Click to expand the block
  5. Observe: command headers (bash(...)) and stdout lines are barely visible

Expected

Tool output should have the same readability contrast as regular assistant text in the active theme.

Workaround

Switch theme to auto or dark via /config.

Environment

  • Claude Code: 2.1.146
  • macOS: 26.4.1
  • Theme triggering bug: light

Attachment

Screenshot from real session — expanded Ran 1 shell command block; the green/red bullets are visible but the surrounding command/output text is washed out.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Tool output nearly invisible in expanded "Ran N shell command" view under Light theme