Feature Request: Custom Console Output Styling
Resolved 💬 3 comments Opened Mar 12, 2026 by gaojianzhuang Closed Mar 16, 2026
Feature Request: Custom Console Output Styling
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
Configuration Methods
Config File
{
"theme": {
"colors": {
"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
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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗