claude-code - 💡(How to fix) Fix [Feature Request] Live theme detection for macOS auto-switching appearance [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#54951Fetched 2026-05-01 05:50:11
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description Theme auto-detection only runs at startup. On macOS with Appearance set to Auto (sunset/sunrise switching), Claude Code stays on the original theme until I quit and relaunch. Would love either (a) live re-detection when the terminal background changes, or (b) a /theme refresh command to re-detect without restarting the session.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.123
  • Feedback ID: e375f577-af0f-4fc9-8566-de6210d5d75f

Errors

[]

extent analysis

TL;DR

Implementing a theme refresh mechanism, such as a /theme refresh command, could address the issue of Claude Code not updating its theme when the system appearance changes on macOS.

Guidance

  • Investigate the current theme auto-detection logic to understand how it is tied to the startup process and identify potential hooks for live re-detection.
  • Consider adding an event listener for system appearance changes on macOS to trigger theme re-detection.
  • Design a /theme refresh command that manually triggers theme re-detection, providing an immediate workaround for users.
  • Evaluate the feasibility of integrating with macOS's notification system to receive updates when the system appearance changes.

Example

No specific code example can be provided without more details on the existing theme detection implementation.

Notes

The solution may require platform-specific code for macOS, and the exact implementation details will depend on the existing architecture of Claude Code.

Recommendation

Apply workaround: Implementing a /theme refresh command seems like the most straightforward and user-friendly solution, allowing users to manually update the theme without restarting the session.

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 [Feature Request] Live theme detection for macOS auto-switching appearance [1 participants]