Skip to content

System Theme no longer works after v1.0.0 #3688

Closed
anomalyco/opentui
#373

Description

@malhashemi

Description

System is no longer showing as a theme option, also configuring the theme to system in the app configuration does not work.

OpenCode version

v1.0.7

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 1, 2025
  2. paradise-runner commented on Nov 1, 2025

    @paradise-runner

    Also getting this issue, seeing some crazy rapid development so expect this to be fixed soon!

  3. thdxr commented on Nov 1, 2025

    @thdxr
    Member

    we're working on it this week

  4. ahokinson commented on Nov 4, 2025

    @ahokinson

    Not sure if this is related, but after upgrading to 1.0, my custom theme I had defined no longer shows up in the selectable themes either. I don't see any errors like I used to if the theme wasn't available. So it seems like it knows about the file but can't use it. Did theming change with the upgrade?

    https://github.com/ahokinson/dotfiles/blob/develop/common/opencode/themes/catppuccin-frappe.json

  5. ssoteloserrano commented on Nov 6, 2025

    @ssoteloserrano

    Same problem with my custom theme not being available after update to 1.0.34

  6. spacetime-labs commented on Nov 6, 2025

    @spacetime-labs

    Same here at version: 1.0.36

  7. thdxr commented on Nov 6, 2025

    @thdxr
    Member

    custom themes aren't loaded yet - will get to it tomorrow

  8. thdxr commented on Nov 6, 2025

    @thdxr
    Member

    SYSTEM THEME DONE

  9. cwegener commented on Nov 6, 2025

    @cwegener

    Just upgraded .. am I doing something wrong. I can't see it show up in the list.

    Image
  10. 19 remaining items

  11. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Contributor

    @danmondra we are waiting for the next tmux release and it will be fixed. The fix was already merged in but they didn't release it yet

  12. offlinehacker commented on Nov 28, 2025

    @offlinehacker

    Can confirm it's working with tmux 3.6 from homebrew 🚀

    Image

    When you change from dark/bright mode you still need to detach/attach to tmux session and restart opencode, but that's minor inconvenience.

  13. noirbizarre commented on Nov 30, 2025

    @noirbizarre

    For me it worked with tmux 3.6 on the 1.0.119 and then with the 1.0.120, the system theme disappeared again (I tried all versions from 1.0.122 to 1.0.119, system theme is only available in 1.0.119 on tmux 3.6).
    Between both, OpenTUI has been upgraded from 0.1.50 to 0.1.51 and contains anomalyco/opentui#354 which seem to be the cause (I did not had time to try reverting the commit to confirm).

  14. rekram1-node commented on Nov 30, 2025

    @rekram1-node
    Contributor

    ^^ btw @kommander

  15. kommander commented on Nov 30, 2025

    @kommander
    Contributor

    That's odd, that change seems to have fixed it for others. Maybe that worked for 3.5 but not 3.6 anymore. I'll check.

  16. seaweeduk commented on Nov 30, 2025

    @seaweeduk

    I dont use tmux but background transparency in the system theme hasn't worked since this was reverted, is it still on the radar?

    ab07229

  17. malhashemi commented on Nov 30, 2025

    @malhashemi
    ContributorAuthor

    I dont use tmux but background transparency in the system theme hasn't worked since this was reverted, is it still on the radar?

    ab07229

    Yeah man I hate that it is removed, system for sure should get transparent background, I tried to fix it with #4879 plus add hot reloading (I hate having to restart opencode every time my dynamic theme changes) but not sure if it ever going to be merged

  18. noirbizarre commented on Dec 1, 2025

    @noirbizarre

    Transparent background with system theme was working with 1.0.119 and tmux 3.6.
    My hypothesis is that OSC4 palette request was working fine with tmux 3.6 but the escaping added in OpenTUI if for tmux 3.5 and doesn't work with with 3.6 because it has now native support for it.
    I have submited a fix to submit to OpenTUI and I get system theme back in tmux 3.6: anomalyco/opentui#373

  19. added a commit that references this issue on Dec 2, 2025
    b51f722
  20. arthur404dev commented on Dec 3, 2025

    @arthur404dev

    Should add here aswell but Zellij has an odd behavior on OSC0 and OSC1, clearing the zellij cache works but might be an incovenience for anyone using plugins. Just reporting to put under the radar

  21. john-persson-polestar commented on Jan 7, 2026

    @john-persson-polestar

    Thanks to the comments above I was able to get the system theme back by updating tmux from next-3.6 to next-3.7.

    Any update on background transparency?

  22. added a commit that references this issue on Jan 8, 2026
    c1f8ff4
  23. bric3 commented on Sep 1, 2026

    @bric3

    I'm using opencode within the IntelliJ IDEA terminal, but the system doesn't show up.
    This terminal supports true color, but does export COLORTERM, but even forcing it. Opencode just doesn't reveal the system theme.

    After exploring the topic, it seems that opencode is using OSC 4, 10 and 11 to read colors from the emulator. And it happens that the IntelliJ terminal do not support OSC 4 (as of 2026.2.1).

    https://youtrack.jetbrains.com/issue/IJPL-254468/Support-for-Terminal-OSC-4

    There's by the way a PR on the old JediTerm for that JetBrains/jediterm#327, but given the folk at Jetbrains are migrating toward the reworked terminal that use a different rendering engine, a different PR should be done.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions