claude-code - 💡(How to fix) Fix Allow per-project color and display-name override in .claude/config.json [1 participants]

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…
GitHub stats
anthropics/claude-code#57849Fetched 2026-05-11 03:23:46
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

Code Example

{
  "display": {
    "name": "WIN",
    "color": "green"
  }
}
RAW_BUFFERClick to expand / collapse

The session header in Claude Code renders the project name as a colored chip (e.g., "WIN" in green, "Radon" in orange). The color appears to be auto-derived from a hash of the project name, with no documented way to override.

Request: support per-project customization via .claude/config.json:

{
  "display": {
    "name": "WIN",
    "color": "green"
  }
}
  • display.name overrides the chip text (today defaults to the directory name)
  • display.color overrides the chip color (today auto-derived from the project name)

Why: users who run many concurrent sessions across many projects benefit from consistent visual identity per project. A health-related project should always be pink, a money/accounting project always green, a brand client always royal blue. The current auto-hash gives stable colors but no influence — projects with semantically-related themes get arbitrarily unrelated colors, which adds friction for users juggling 5–10+ open sessions.

Color values: accept either CSS color names (red, green, blue, pink, brown, orange, teal, gold, royalblue, etc.) or hex codes (e.g., #3B82F6).

Backward compatibility: if .claude/config.json is missing or has no display key, fall back to current auto-hash behavior. No behavior change for existing users.

Bonus consideration: if display.name is set, it could also influence the terminal window title and the project listing in any future project-switcher UI — making the override a single source of truth for "how this project appears."

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

claude-code - 💡(How to fix) Fix Allow per-project color and display-name override in .claude/config.json [1 participants]