[FEATURE] Feature Request: Custom Console Output Styling

Resolved 💬 2 comments Opened Mar 12, 2026 by gaojianzhuang Closed Mar 12, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Overview

Add custom output styling capabilities to Claude Code CLI, allowing users to customize text foreground and background colors, and automatically apply different colors based on content type for better differentiation.

Core Features

1. User Customizable Styles

  • Users can customize text foreground color
  • Users can customize text background color
  • Configurable via config file (settings.json) or command-line arguments

2. CLI Automatic Type Differentiation

  • Automatically apply different colors based on content types returned by Claude Code
  • Supported content types:
  • Regular conversation responses
  • Error messages
  • Warning messages
  • Tool output
  • System messages
  • Code blocks
  • User prompts

Priority

High - This feature will significantly improve user experience by making console output easier to read and understand.

Fallback

If ANSI colors are not supported in certain terminals, provide a fallback to plain text output.

Proposed Solution

Configuration Methods

Config File

{
  "theme": {
    "inputColors": {
      "text": "#ffffff",
      "background": "#282a36"
    },
    "outputColors": {
        "text": "#ffffff",
      "error": "#ff5555",
      "warning": "#ffb86c",
      "success": "#50fa7b",
      "info": "#8be9fd",
      "tool": "#bd93f9",
      "system": "#6272a4",
      "code": "#f8f8f2",
      "background": "#282a36"
    },
    "enableAutoColor": true
  }
}

Command-line Arguments

claude --theme=colorful    # Enable colored output
claude --theme=monochrome  # Disable colored output
claude --fg-color=#00ff00  # Custom foreground color
claude --bg-color=#000000  # Custom background color

Expected Behavior

When enabled, console output will display different colors based on content type:

  • Error messages: Red (#ff5555)
  • Warning messages: Orange/Yellow (#ffb86c)
  • Success messages: Green (#50fa7b)
  • Tool output: Purple (#bd93f9)
  • System messages: Gray-blue (#6272a4)
  • Regular text: Default color

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

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