claude-code - 💡(How to fix) Fix [BUG] First /rename silently replaces the theme's prompt-bar color with default teal

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…

When a session has no displayed name, its input-box bar uses the active theme's promptBorder color. The first /rename on that session (the command that gives it a name) silently replaces that with the session-name bar's default color, a hardcoded teal, discarding the theme color.

/rename is a naming command. Nothing indicates it also recolors the prompt bar. The result looks like the theme broke. There is no way to get the theme color back on a named session, because /color only offers 8 fixed named presets, none of which is the theme's value.

Root Cause

Tracing this to root cause took several hours. The visible symptom is only "the prompt bar is the wrong color," with nothing connecting it to /rename or to the session-name display. The theme picker, the theme files, and the promptBorder token all look correct and untouched throughout. A naming command silently mutating an unrelated visual element, with no notice, is the core problem.

RAW_BUFFERClick to expand / collapse

Description

When a session has no displayed name, its input-box bar uses the active theme's promptBorder color. The first /rename on that session (the command that gives it a name) silently replaces that with the session-name bar's default color, a hardcoded teal, discarding the theme color.

/rename is a naming command. Nothing indicates it also recolors the prompt bar. The result looks like the theme broke. There is no way to get the theme color back on a named session, because /color only offers 8 fixed named presets, none of which is the theme's value.

Steps to reproduce

  1. Start a session with a custom theme active and no displayed name. The input-box bar shows the theme's promptBorder color.
  2. Run /rename SomeName.
  3. The bar immediately changes to the default teal.

Expected

/rename names the session without altering the prompt bar color. If a named session must use the session-name bar, that bar should default to the theme's promptBorder, not a hardcoded teal.

Actual

The first /rename silently swaps the theme promptBorder color for the default teal.

Why this matters

Tracing this to root cause took several hours. The visible symptom is only "the prompt bar is the wrong color," with nothing connecting it to /rename or to the session-name display. The theme picker, the theme files, and the promptBorder token all look correct and untouched throughout. A naming command silently mutating an unrelated visual element, with no notice, is the core problem.

Environment

  • Claude Code 2.1.143 (where observed)
  • macOS

Related

#61029 is a related feature request (make the session-name bar themeable or hex-configurable). This is filed as a separate bug because the two are distinct: #61029 asks for new capability, while this issue is about /rename silently discarding an existing, correct color with no indication it did so.

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 [BUG] First /rename silently replaces the theme's prompt-bar color with default teal