Skip to content

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

Description

@vcekron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingplatform:macosIssue specifically occurs on macOSstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions