Feature Request: Customizable chat text colors for user and assistant messages

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened May 28, 2026 · closed May 28, 2026

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

View original on GitHub ↗

3 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/54419
  2. https://github.com/anthropics/claude-code/issues/55419
  3. https://github.com/anthropics/claude-code/issues/20656

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

AlexDesign420 · 4 months ago

Closing as duplicate. Will 👍 the existing issue instead.

free4cat00-hub · 3 months ago

+1 on this. I use Claude Code as a VS Code extension daily and it's hard to quickly tell at a glance where my prompt ends and Claude's response begins when scrolling back through a long session — a userMessageColor / assistantMessageColor setting like proposed above would help a lot. Even a simple theme toggle (e.g. reuse the existing VS Code accent colors) would be a good start.

Showing cached comments. Read the full discussion on GitHub ↗