Light mode ANSI theme uses color7 for both code text and UI backgrounds, making it unusable with standard palettes

Resolved 💬 3 comments Opened Mar 30, 2026 by vcekron Closed May 12, 2026

Problem

In \"Light mode (ANSI colors only)\", color7 (ANSI white) is used for:

  • Code default tokens in diffs (needs to be dark to read on a light background)
  • Command bar / message bar backgrounds (needs to be light)
  • Input box borders and status bar separators

No single value works for all three. A standard light palette sets color7 to near-white, making code text invisible against the background. Setting it dark makes code readable but produces dark message bars.

Dark mode doesn't have this problem

\"Dark mode (ANSI colors only)\" correctly separates these concerns: color7 = code text / UI foreground, color8 = message background. They are independently tunable.

Suggested fix

Light mode should match the dark mode approach and ANSI conventions:

  • color0 (ANSI black) for code default tokens — dark on light background is natural
  • color7 (ANSI white) for backgrounds only — light on light is natural

Workaround

Use \"Dark mode (ANSI colors only)\" on a light terminal. Since dark mode doesn't use color1–6, they remain at standard values for other terminal apps.

Environment

  • Claude Code v2.1.87
  • kitty terminal, macOS
  • Tomorrow Light color scheme

View original on GitHub ↗

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