You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
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.
@fozcodes This might be related to fetching the system theme palette.
There’s a bug in opentui (anomalyco/opentui#705) causing a 5s delay at startup when the system theme is active. Additionally, if a different theme is selected on start, I can't switch back to the system theme until the palette is successfully retrieved
Activity
github-actions commentedon Jan 26, 2026
This issue might be a duplicate of existing issues. Please check:
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.
notAunty commentedon Jan 28, 2026
same here
notAunty commentedon Jan 30, 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
charlietlamb commentedon Feb 4, 2026
+1 in ghostty
R44VC0RP commentedon Feb 4, 2026
Are you still seeing these issues in latest 1.1.51?
disrupted commentedon Feb 4, 2026
yes
R44VC0RP commentedon Feb 4, 2026
I am not able to repro this, can you share more about your setup?
disrupted commentedon Feb 4, 2026
this is without any custom opencode.json
disrupted commentedon Feb 6, 2026
now it's back on 1.1.53 🎉
ishaksebsib commentedon Feb 6, 2026
what about you @notAunty?
fozcodes commentedon Feb 7, 2026
I'm on 1.1.53 and it's still not working. Not via opencode.jsonc or via the UI:
fozcodes commentedon Feb 10, 2026
@R44VC0RP I think I figured it out. I'm using Tmux in Ghostty with these configs:
When I use Opencode outside of Tmux in just Ghostty, I have the
systemoption in/themeand 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.0for me (hadn't updated in a while until end of last week).notAunty commentedon Feb 15, 2026
@fozcodes let me try it out. I'm on tmux on Kitty.terminal
v1.2.4
notAunty commentedon Feb 16, 2026
Managed to get back my
systemcolor by following this article.Feels like
opencodecould do better at conveying to the user that the system theme is hidden due to issues with terminaltruecolorsupport, 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.
fozcodes commentedon Feb 19, 2026
Yeah, I can't do that. I have these settings so that Victor Mono works correctly in my Tmux env. I'm also on Ghostty 1.2.3.
Glad you got it working though!
(Also, I upgraded to the latest release and
systemis still not available)akronb commentedon Feb 19, 2026
@fozcodes This might be related to fetching the system theme palette.
There’s a bug in
opentui(anomalyco/opentui#705) causing a 5s delay at startup when the system theme is active. Additionally, if a different theme is selected on start, I can't switch back to the system theme until the palette is successfully retrievedfozcodes commentedon Feb 20, 2026
@akronb thanks!
It was actually something else though; Tmux blocks Operating System Commands by default. I had to add this to my
.tmux.conf:I actually don't know too much about this TUI stuff, so I had the robot help me out. It tried a few things but eventually was able to narrow it down: https://opncd.ai/share/kIEsKk7r
lexmin0412 commentedon Mar 26, 2026
Same issue in Warp.
bewa1t commentedon Apr 18, 2026
same issue in neovim
penance316 commentedon Jun 2, 2026
Same in Warp for me still today on opencode 1.15.13.
github-actions commentedon Aug 2, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.