TUI: system theme not found on macOS #7617

Open
opened 2026-02-16 18:07:44 -05:00 by yindo · 14 comments
Owner

Originally created by @ishaksebsib on GitHub (Jan 26, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The system theme is missing from the /theme list.

Plugins

"plugin": ["opencode-antigravity-auth@beta", "@tarquinen/opencode-dcp@latest"]

OpenCode version

1.1.35

Steps to reproduce

  1. opencode
  2. /theme
  3. Searches for system theme by typing system.
  4. No results found shows up

Screenshot and/or share link

Image

Operating System

macOS

Terminal

iTerm2, Terminal.app

Originally created by @ishaksebsib on GitHub (Jan 26, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The system theme is missing from the `/theme` list. ### Plugins "plugin": ["opencode-antigravity-auth@beta", "@tarquinen/opencode-dcp@latest"] ### OpenCode version 1.1.35 ### Steps to reproduce 1. `opencode` 2. /theme 3. Searches for system theme by typing `system`. 4. `No results found` shows up ### Screenshot and/or share link <img width="1346" height="838" alt="Image" src="https://github.com/user-attachments/assets/d30f9588-f120-4f7a-9308-55c1d15f9bb3" /> ### Operating System macOS ### Terminal iTerm2, Terminal.app
yindo added the opentuibug labels 2026-02-16 18:07:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 26, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #4768: 'System' Theme does not show on Wezterm terminal
  • #8480: System theme doesn't apply Ghostty transparency on load (v1.1.10)
  • #1587: Updating system theme requires hard reboot to fix

These issues describe similar problems with the system theme not appearing in the theme list or functioning correctly on different terminals. Feel free to ignore if your case involves specific macOS behaviors not covered by these issues.

@github-actions[bot] commented on GitHub (Jan 26, 2026): This issue might be a duplicate of existing issues. Please check: - #4768: 'System' Theme does not show on Wezterm terminal - #8480: System theme doesn't apply Ghostty transparency on load (v1.1.10) - #1587: Updating system theme requires hard reboot to fix These issues describe similar problems with the system theme not appearing in the theme list or functioning correctly on different terminals. Feel free to ignore if your case involves specific macOS behaviors not covered by these issues.
Author
Owner

@notAunty commented on GitHub (Jan 28, 2026):

same here

@notAunty commented on GitHub (Jan 28, 2026): same here
Author
Owner

@notAunty commented on GitHub (Jan 29, 2026):

hi, are there any updates to this? If not, I can try to fix it. But I'd some guidance on where to start looking

@notAunty commented on GitHub (Jan 29, 2026): hi, are there any updates to this? If not, I can try to fix it. But I'd some guidance on where to start looking
Author
Owner

@charlietlamb commented on GitHub (Feb 4, 2026):

+1 in ghostty

@charlietlamb commented on GitHub (Feb 4, 2026): +1 in ghostty
Author
Owner

@R44VC0RP commented on GitHub (Feb 4, 2026):

Are you still seeing these issues in latest 1.1.51?

@R44VC0RP commented on GitHub (Feb 4, 2026): Are you still seeing these issues in latest 1.1.51?
Author
Owner

@disrupted commented on GitHub (Feb 4, 2026):

Are you still seeing these issues in latest 1.1.51?

yes

@disrupted commented on GitHub (Feb 4, 2026): > Are you still seeing these issues in latest 1.1.51? yes
Author
Owner

@R44VC0RP commented on GitHub (Feb 4, 2026):

Image

I am not able to repro this, can you share more about your setup?

@R44VC0RP commented on GitHub (Feb 4, 2026): <img width="706" height="651" alt="Image" src="https://github.com/user-attachments/assets/3259b01b-9e0f-4906-a687-42953c038bc8" /> I am not able to repro this, can you share more about your setup?
Author
Owner

@disrupted commented on GitHub (Feb 4, 2026):

this is without any custom opencode.json

Image
@disrupted commented on GitHub (Feb 4, 2026): this is without any custom opencode.json <img width="649" height="396" alt="Image" src="https://github.com/user-attachments/assets/c191e35f-5ef9-4411-8021-9d2d7b8b4d48" />
Author
Owner

@disrupted commented on GitHub (Feb 6, 2026):

now it's back on 1.1.53 🎉

@disrupted commented on GitHub (Feb 6, 2026): now it's back on 1.1.53 🎉
Author
Owner

@ishaksebsib commented on GitHub (Feb 6, 2026):

what about you @notAunty?

@ishaksebsib commented on GitHub (Feb 6, 2026): what about you @notAunty?
Author
Owner

@fozcodes commented on GitHub (Feb 6, 2026):

I'm on 1.1.53 and it's still not working. Not via opencode.jsonc or via the UI:

Image
@fozcodes commented on GitHub (Feb 6, 2026): I'm on 1.1.53 and it's still not working. Not via opencode.jsonc or via the UI: <img width="828" height="341" alt="Image" src="https://github.com/user-attachments/assets/7a8299f0-05a7-4412-9018-ea2185be864f" />
Author
Owner

@fozcodes commented on GitHub (Feb 10, 2026):

@R44VC0RP I think I figured it out. I'm using Tmux in Ghostty with these configs:

set-option -g default-terminal "tmux-256color"
set-option -sa terminal-overrides ',xterm-256color:RGB,*:sitm=\E[3m:ritm=\E[23m'

When I use Opencode outside of Tmux in just Ghostty, I have the system option in /theme and it loads automatically from my ~/.config/opencode/opencode.jsonc.

When I jump back into Tmux, the option's gone and it falls back to the default Opencode theme.

I guess this is all to say, I think it has to do with terminal color settings. These were working with < 1.0 for me (hadn't updated in a while until end of last week).

@fozcodes commented on GitHub (Feb 10, 2026): @R44VC0RP I think I figured it out. I'm using Tmux in Ghostty with these configs: ``` set-option -g default-terminal "tmux-256color" set-option -sa terminal-overrides ',xterm-256color:RGB,*:sitm=\E[3m:ritm=\E[23m' ``` When I use Opencode outside of Tmux in _just_ Ghostty, I have the `system` option in `/theme` and it loads automatically from my `~/.config/opencode/opencode.jsonc`. When I jump back into Tmux, the option's gone and it falls back to the default Opencode theme. I guess this is all to say, I think it has to do with terminal color settings. These were working with `< 1.0` for me (hadn't updated in a while until end of last week).
Author
Owner

@notAunty commented on GitHub (Feb 14, 2026):

@fozcodes let me try it out. I'm on tmux on Kitty.terminal

v1.2.4

Image
@notAunty commented on GitHub (Feb 14, 2026): @fozcodes let me try it out. I'm on tmux on Kitty.terminal v1.2.4 <img width="776" height="530" alt="Image" src="https://github.com/user-attachments/assets/89854aaa-0bc1-41cf-bad9-ed79baeee884" />
Author
Owner

@notAunty commented on GitHub (Feb 15, 2026):

Managed to get back my system color by following this article.

Feels like opencode could do better at conveying to the user that the system theme is hidden due to issues with terminal truecolor support, rather than hiding the option, especially when it doesn't have light/dark theme auto-switching.

Consider this issue closed for me, thanks @fozcodes for the idea.

@notAunty commented on GitHub (Feb 15, 2026): Managed to get back my `system` color by following [this article](https://mbuffett.com/posts/setting-up-tmux-and-kitty-for-true-color-support/). Feels like `opencode` could do better at conveying to the user that the system theme is hidden due to issues with terminal `truecolor` support, rather than hiding the option, especially when it doesn't have light/dark theme auto-switching. Consider this issue closed for me, thanks @fozcodes for the idea.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7617