claude-code - 💡(How to fix) Fix Feature Request: Customizable chat text colors for user and assistant messages

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…

Allow users to customize the text colors of chat messages in Claude Code — specifically the color of user input and assistant response text in the terminal interface.

Root Cause

Allow users to customize the text colors of chat messages in Claude Code — specifically the color of user input and assistant response text in the terminal interface.

Code Example

{
  "theme": {
    "userMessageColor": "#00e5ff",
    "assistantMessageColor": "#ffffff"
  }
}
RAW_BUFFERClick to expand / collapse

Feature Request

Summary

Allow users to customize the text colors of chat messages in Claude Code — specifically the color of user input and assistant response text in the terminal interface.

Motivation

Claude Code supports extensive terminal theming via the statusline command and ANSI true-color. However, the chat message colors (user input and assistant responses) are hardcoded internally and cannot be customized through any configuration option, iTerm2 color profiles, or environment variables.

Users who have set up custom terminal themes (e.g. neon/cyberpunk themes with dark backgrounds) find that the default chat text colors clash with their terminal aesthetic.

Proposed Solution

Add configuration options in ~/.claude/settings.json to allow customization of:

  • theme.userMessageColor — ANSI color code or hex for user input text
  • theme.assistantMessageColor — ANSI color code or hex for assistant response text

Example Config

{
  "theme": {
    "userMessageColor": "#00e5ff",
    "assistantMessageColor": "#ffffff"
  }
}

Environment

  • macOS, iTerm2
  • Claude Code CLI
  • Custom statusline + Starship cyberpunk theme

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