Skip to content

TUI: system theme not found on macOS #10661

Closed as not planned
Closed as not planned

Description

@ishaksebsib

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 26, 2026
  2. github-actions commented on Jan 26, 2026

    @github-actions
    Contributor

    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.

  3. notAunty commented on Jan 28, 2026

    @notAunty

    same here

  4. notAunty commented on Jan 30, 2026

    @notAunty

    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

  5. charlietlamb commented on Feb 4, 2026

    @charlietlamb

    +1 in ghostty

  6. R44VC0RP commented on Feb 4, 2026

    @R44VC0RP
    Contributor

    Are you still seeing these issues in latest 1.1.51?

  7. disrupted commented on Feb 4, 2026

    @disrupted

    Are you still seeing these issues in latest 1.1.51?

    yes

  8. R44VC0RP commented on Feb 4, 2026

    @R44VC0RP
    Contributor
    Image

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

  9. disrupted commented on Feb 4, 2026

    @disrupted

    this is without any custom opencode.json

    Image
  10. disrupted commented on Feb 6, 2026

    @disrupted

    now it's back on 1.1.53 🎉

  11. ishaksebsib commented on Feb 6, 2026

    @ishaksebsib
    ContributorAuthor

    what about you @notAunty?

  12. fozcodes commented on Feb 7, 2026

    @fozcodes

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

    Image
  13. fozcodes commented on Feb 10, 2026

    @fozcodes

    @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).

  14. notAunty commented on Feb 15, 2026

    @notAunty

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

    v1.2.4

    Image
  15. notAunty commented on Feb 16, 2026

    @notAunty

    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.

  16. fozcodes commented on Feb 19, 2026

    @fozcodes

    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 system is still not available)

  17. akronb commented on Feb 19, 2026

    @akronb
    Contributor

    @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

  18. fozcodes commented on Feb 20, 2026

    @fozcodes

    @akronb thanks!

    It was actually something else though; Tmux blocks Operating System Commands by default. I had to add this to my .tmux.conf:

    set -g allow-passthrough on
    

    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

  19. lexmin0412 commented on Mar 26, 2026

    @lexmin0412

    Same issue in Warp.

  20. bewa1t commented on Apr 18, 2026

    @bewa1t

    same issue in neovim

  21. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  22. penance316 commented on Jun 2, 2026

    @penance316

    Same in Warp for me still today on opencode 1.15.13.

  23. github-actions commented on Aug 2, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions