claude-code - 💡(How to fix) Fix Make the /color session-name bar themeable (accept hex or follow the theme)

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…
RAW_BUFFERClick to expand / collapse

Problem

/color sets the color of the session-name bar (the colored separator lines and the name box around the prompt input, shown when a session has a name via --name or /rename). It offers only 8 fixed named colors (red, blue, green, yellow, purple, orange, pink, cyan), plus default.

These named colors are independent of the active theme. A user with a custom theme (~/.claude/themes/<name>.json) cannot make the session-name bar match the theme's promptBorder accent: /color's blue/red are fixed presets, not the theme's values, and there is no way to pass a hex color.

An unnamed session's input border does use the theme promptBorder; naming the session replaces that with the /color palette, so a named session's prompt bar cannot be made to match a custom theme.

Requested feature

Any one of these would resolve it:

  1. Let /color accept a hex value (e.g. /color #1e97fd).
  2. Let /color accept a theme token name (e.g. /color promptBorder).
  3. Have the session-name bar inherit the theme's promptBorder by default, with /color as an override.

Environment

  • Claude Code 2.1.145
  • macOS

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