Interactive UI elements use hardcoded RGB colors instead of terminal theme colors
Resolved 💬 1 comment Opened Mar 26, 2026 by Davit1993 Closed Mar 26, 2026
Description
Claude Code's interactive UI elements (yes/no prompts, selection highlights, theme picker previews) use hardcoded 24-bit RGB color values instead of ANSI color codes. This means they don't adapt to the terminal's configured color palette.
Problem
- Theme picker (
/theme) preview colors appear grayed out / muted in terminals like Ghostty - Interactive elements (prompts, selections) use fixed RGB values that can't be customized via terminal theme settings
- Setting
COLORTERM=truecolordoes not resolve the issue since the colors are hardcoded in the source, not derived from the terminal's palette
Expected Behavior
Interactive UI elements should use ANSI color codes (or respect the terminal's color palette) so that colors are consistent with the user's terminal theme and can be customized.
Environment
- Terminal: Ghostty (
TERM=xterm-ghostty) COLORTERM=truecoloris set- macOS
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗