Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Description
Description
System was the one theme that let the terminal's default colors show through but the most recent change broke that.
Plugins
No response
OpenCode version
1.14.19
Steps to reproduce
- set up wezterm.lua with the following config to color the terminal:
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- "trad" color scheme, converted from iTerm2 trad.json
config.color_schemes = {
['trad'] = {
foreground = '#F4FFF7',
background = '#44406F',
cursor_bg = '#FFEE3E',
cursor_fg = '#000000',
cursor_border = '#FFEE3E',
selection_bg = '#9D7400',
selection_fg = '#E7EBED',
ansi = {
'#435B67', -- black (0)
'#FC3841', -- red (1)
'#5CF19E', -- green (2)
'#FED032', -- yellow (3)
'#37B6FF', -- blue (4)
'#FC226E', -- magenta (5)
'#59FFD1', -- cyan (6)
'#FFFFFF', -- white (7)
},
brights = {
'#A1B0B8', -- bright black (8)
'#FC746D', -- bright red (9)
'#ADF7BE', -- bright green (10)
'#FEE16C', -- bright yellow (11)
'#70CFFF', -- bright blue (12)
'#FC669B', -- bright magenta (13)
'#9AFFE6', -- bright cyan (14)
'#FFFFFF', -- bright white (15)
},
},
}
config.color_scheme = 'trad'
return config
- restart a window of wezterm, color background should be a darker blue.
- start opencode
- set theme to System
in prior versions, the blue backgroudn and coloring of wezterm would be seen still in opencode. Latest update now blocks all that out.
Screenshot and/or share link
Screenshot is of what it looked like BEFORE upgrade, now i get black background.
Operating System
MacOS
Terminal
wezterm
Reacted by brennandai, Santiago Gaona, Andrew, JackIce, Ryan Yip, ergou, Jonah Turner, Axel H., sumbad, Clete Blackwell II and 4 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Activity
github-actions commentedon Apr 20, 2026
This issue might be a duplicate of existing issues. Please check:
pinkli commentedon Apr 21, 2026
my opencode version 1.14.19 with theme "system" in Ghostty terminal themed "Borland" has the same issue, it doesn't show a blue bgcolor nor a light text color, and it makes the visual totally unusable. I have to change the opencode theme to another one to see clear the tui.
sumbad commentedon Apr 21, 2026
I had the same issue with white color inside opencode opened with ghostty
jwkicklighter commentedon Apr 21, 2026
Same issue here in Ghostty with 1.14.19, with or without Tmux. Was previously working.
souvikpng commentedon Apr 21, 2026
I can corroborate this. Right is terminal and how it's supposed to look like with the brown background; middle is opencode with theme set to system. If I switch to another theme and back to system, it gets a purple background or some variant of it resembling my periwinkle accent colors.
Alxndr3 commentedon Apr 21, 2026
For me, system theme transparency is also broken when running Opencode inside Alacritty + Tmux on version 1.14.x.
With the lucent-orng theme (and others), the background becomes solid/opaque instead of showing the terminal's system theme.
It was working fine in previous versions, eg. 1.4.11.
Environment:
zxsleebu commentedon Apr 21, 2026
same issue. 1.14.18 was fine. that's degradation in 1.14.19
ktwbc commentedon Apr 21, 2026
fixed in v1.14.20
uloco commentedon Apr 22, 2026
there is no system theme for me... did this get removed on mac?
jwkicklighter commentedon Apr 23, 2026
It's working correctly for me on Mac both in Ghostty and in tmux within Ghostty. Version 1.14.21
uloco commentedon Aug 21, 2026
@ktwbc i still don't have system theme in my chooser. i am on macOS and version: 1.18.19. I have to switch light dark theme mode every day back and forth because neovim does not forward osc 11 to my sidekick terminal. this would solve all issues regarding theme switching... is there anything i can do on my side? ty