claude-code - 💡(How to fix) Fix [DOCS] `/theme` docs omit Esc behavior for custom theme dialogs and editor

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…

Error Message

Because this behavior was explicitly fixed in v2.1.146, the docs should describe it so users know the supported keyboard interaction instead of discovering it by trial and error.

Root Cause

Because this behavior was explicitly fixed in v2.1.146, the docs should describe it so users know the supported keyboard interaction instead of discovering it by trial and error.

RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/terminal-config#create-a-custom-theme

Section/Topic

/theme custom theme creation and editing keyboard behavior

Current Documentation

The docs currently say:

Use the /theme command, or the theme picker in /config, to choose a Claude Code theme that matches your terminal.

In addition to the built-in presets, /theme lists any custom themes you have defined and any themes contributed by installed plugins. Select New custom theme… at the end of the list to create one interactively: you name the theme, then pick individual color tokens to override. Press Ctrl+E while a custom theme is highlighted to edit it.

The interactive editor in /theme shows the same tokens with a live preview, plus a few single-purpose accents such as onboarding screen colors that are omitted here.

The keyboard shortcuts page also says:

Ctrl+T | Toggle syntax highlighting for code blocks | Only works inside the /theme picker menu.

What's Wrong or Missing?

The current docs explain how to open /theme, create a new custom theme, and edit an existing one, but they do not document how Esc behaves inside the custom-theme UI.

That leaves two documented interactive surfaces without dismissal/cancel guidance:

A. New custom theme dialogs

The docs say to select New custom theme… and describe the creation flow, but they never say that Esc dismisses or cancels those dialogs.

B. Theme color editor

The docs describe the interactive editor and list Ctrl+T as a /theme-specific shortcut, but they do not document that Esc exits the color editor.

Because this behavior was explicitly fixed in v2.1.146, the docs should describe it so users know the supported keyboard interaction instead of discovering it by trial and error.

Suggested Improvement

Add a short keyboard-behavior note anywhere the /theme custom-theme flow is documented.

For example, after the custom-theme creation paragraph in Terminal config:

Press Esc to dismiss the New custom theme… dialogs or leave the color editor without continuing.

Also add an Esc entry to the Interactive mode Theme and display shortcuts table, scoped to the /theme picker and custom-theme editor/dialogs.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/terminal-config114, 124, 152Main /theme overview, New custom theme… flow, and interactive editor description
https://code.claude.com/docs/en/commands123/theme command reference mentions creating a new custom theme
https://code.claude.com/docs/en/interactive-mode60-64/theme shortcut table lists Ctrl+T only

Total scope: 3 pages affected

Version note: The release notes for v2.1.146 explicitly call out a fix for /theme color editor and New custom theme dialogs not responding to Esc.

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 [DOCS] `/theme` docs omit Esc behavior for custom theme dialogs and editor