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
{{ message }}
Repository navigation
The default theme "dark" mode of the system has failed. #23521
configuration:
The system theme is dark, and the terminal is also dark. However, as soon as you open opencode, it automatically switches to a bright theme.
ghostty theme=GitHub Dark
The opencode 1.14.18 and previous versions are all functioning properly.
However, what's interesting is that this issue only occurred in Ghostty. The original terminal and iterm2 were both fine.
Plugins
No response
OpenCode version
1.14.19
Steps to reproduce
1.The system has been set to a dark theme.
2.Ghostty has also been set to a dark theme.
3.ghostty is running opencode
Screenshot and/or share link
Operating System
macOS 26.4.1
Terminal
Ghostty
Reacted by Peak, Kacper Rożniata, Ryan Yip, Fabian Kukuck, Chang Liu, Linus Lehbrink, marcos, Michael Coyne, Emanuel Aguirre, Alex Paredes and 10 more
Please review those issues and add a comment there if your situation matches, rather than filing a new report. If your issue is distinct, feel free to clarify the differences.
I'm also experiencing this. Also, changing the theme inside opencode doesn't seem to be preserved as of 1.14.19, it snaps back to system on next restart (which is incorrectly light mode, Ghostty with dark theme) - in 1.14.18 there was no such issue.
Activity
github-actions commentedon Apr 20, 2026
This issue might be a duplicate of existing issues. Please check:
Please review those issues and add a comment there if your situation matches, rather than filing a new report. If your issue is distinct, feel free to clarify the differences.
xHeaven commentedon Apr 20, 2026
I'm also experiencing this. Also, changing the theme inside opencode doesn't seem to be preserved as of 1.14.19, it snaps back to
systemon next restart (which is incorrectly light mode, Ghostty with dark theme) - in 1.14.18 there was no such issue.GHesericsu commentedon Apr 20, 2026
I am experiencing this too. My system is dark but opencode cli keeps using light mode on any theme.
Cliffback commentedon Apr 20, 2026
Same happens with me now after upgrading
scotthaleen commentedon Apr 20, 2026
Just updated and got flash banged. I also use system default dark mode and ghostty on osx
Just found this on 𝕏 https://x.com/thdxr/status/2045175662130946205?s=20
ctrl+p - Switch to dark mode - seems to at least get it back in to dark mode
at least gets it back to dark mode.
cycle2zhou commentedon Apr 22, 2026
1.14.20 fixed