Theme turns light over night
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
Describe the bug
Upon starting copilot at e.g. 8 am. the color theme/tint is dark. Letting the computer go to sleep and reopening the computer the next day at the same time, the color theme/tint is now light. As if it changes between dark and light mode depending on the color scheme of the macOS.
I have attempted to force the terminal application to stay in macOS dark mode, to no avail. Only discovered fix is to exit copilot and reopen it. This resets the color theme/tint back to dark.
Changing the theme to "default" results in the background turning dark again, but code fences stay light gray as does the input field and the tabs at the top. Not all text is visible on the dark background.
Unsure if this actually is a copilot CLI problem or it has to do with the terminal emulator.
Affected version
1.0.79
Steps to reproduce the behavior
- Start copilot CLI
- Sleep computer
- Wait 24 hours (to pass through a day/night cycle)
- Open computer
- Observe the copilot CLI is now all light colors
Expected behavior
That the copilot CLI stays the same colors even after sleeping the computer for a longer duration.
Additional context
- Operating system: macOS 26.6.1 (25G76)
- CPU architecture: ARM, Apple M4 Pro
- Terminal emulator: iTerm2, Build 3.6.11
- Shell: zsh
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Copilot CLI on macOS using iTerm2 and zsh, following the reported sleep-and-reopen reproduction steps. Compare the theme before sleep and after the day/night cycle, then trace the CLI's theme handling to determine whether it changes with macOS appearance; done means the colors remain consistent after waking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100