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
CLI colors have low contrast on macOS Terminal (black / Pro theme)Β #6823
CLI colors have low contrast on macOS Terminal (black / Pro theme)
Description
Hi, thanks for OpenCode β great tool π
Iβm using OpenCode on macOS with the built-in Terminal and the default Pro (black background) theme. The current CLI color scheme has low contrast, making some text and UI elements hard to read on a black background.
Environment
OS: macOS (MacBook)
Terminal: macOS Terminal
Theme: Pro (black)
Install: npm i -g opencode-ai
Issue
Some text colors are too dim on black backgrounds
Readability suffers in dark terminal themes
No obvious option to switch or customize CLI colors
Expected
Better contrast for dark terminals, or
A dark/high-contrast theme option, or
Configurable CLI color settings
Happy to help test or provide screenshots if needed. Thanks!
I have just spent several hours trying to make the text of opencode readable. Contrast is very important. Those who don't think so will find out it is when they get older. I use the standard terminal program on macOS with nearly white background and nearly black text. I had the white text on black background in the 80's when that is all terminals could do. I have tried themes, rewriting them to only use #000000 and #ffffff as well as trying to replace the "theme.textMuted" instance with black. It appears text color processing is scattered throughout the tui code and the theme concepts simply don't seem to work. I think it would be a benefit to have a mode that turns off all attempt to change font/background color and just let the terminal be a terminal. It is really too bad because this is a good tool but it is very hard to use due to the limited ability to create a theme that a) has good contrast and b) is honored.
Same issue here. When system is in dark mode, the text editor background becomes black and the text is invisible - black text on black background makes letters completely unreadable.
Environment:
macOS (dark mode enabled)
opencode version 1.4.3
Using default macOS Terminal
This makes editing files very difficult since I cannot see what I'm typing. Would appreciate a fix or workaround.
I run opencode on a vm via ssh and gnu screen and run into this the moment I start up screen on the remote machine.
Ubuntu 25.10
Screen version 4.09.01 (GNU) 20-Aug-23
Opencode version 1.4.8
I'm sshing in from iterm2 Build 3.6.9 on a mac
It's fine with just bare SSH but screen does something that forces it into a low contrast mode no mater what I do.
I was able to fix this by telling Terminal to declare its terminal type as "xterm-256color" in Profiles -> Advanced -> TermInfo. I'd previously had it set to "xterm".
Activity
github-actions commentedon Jan 4, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
DavidGOrtega commentedon Jan 6, 2026
This issue is does also happens with the majority of the themes, I can barely see anything
rekram1-node commentedon Jan 6, 2026
What terminal version do u have? I htink they fixed a bunch of color stuff in their latest versions
DavidGOrtega commentedon Jan 7, 2026
Terminal Version 2.14 (453)
MacOS Sonoma 14.5 (23F79)
0xPT commentedon Jan 12, 2026
Same issue
pavelhusa commentedon Jan 16, 2026
Same issue happens on:
Sequoia 15.3.1 (24D70)
Teminal 2.14 (455)
0xPT commentedon Jan 16, 2026
They gave me advice in the Discord channel. You have to upgrade your MacOS or use a different terminal.
radoslawcz commentedon Jan 18, 2026
Why I can't have a theme with simple black font??
sakura-habby commentedon Jan 29, 2026
Same here. I've tried every theme and none of them is easy to read.
MacOS Version 15.7.2 (24G325)
JayTam commentedon Feb 2, 2026
Itβs the same issue on 15.4.1 (24E263). After updating to 26.2, the problem no longer occurs.
yangjindong commentedon Apr 2, 2026
Have a try command: /themes , and switch to another one
quark-idlemind commentedon Apr 6, 2026
I have just spent several hours trying to make the text of opencode readable. Contrast is very important. Those who don't think so will find out it is when they get older. I use the standard terminal program on macOS with nearly white background and nearly black text. I had the white text on black background in the 80's when that is all terminals could do. I have tried themes, rewriting them to only use #000000 and #ffffff as well as trying to replace the "theme.textMuted" instance with black. It appears text color processing is scattered throughout the tui code and the theme concepts simply don't seem to work. I think it would be a benefit to have a mode that turns off all attempt to change font/background color and just let the terminal be a terminal. It is really too bad because this is a good tool but it is very hard to use due to the limited ability to create a theme that a) has good contrast and b) is honored.
bala-ink commentedon Apr 12, 2026
Same issue here. When system is in dark mode, the text editor background becomes black and the text is invisible - black text on black background makes letters completely unreadable.
Environment:
This makes editing files very difficult since I cannot see what I'm typing. Would appreciate a fix or workaround.
arlaneenalra commentedon Apr 17, 2026
I run opencode on a vm via ssh and gnu screen and run into this the moment I start up screen on the remote machine.
Ubuntu 25.10
Screen version 4.09.01 (GNU) 20-Aug-23
Opencode version 1.4.8
I'm sshing in from iterm2 Build 3.6.9 on a mac
It's fine with just bare SSH but screen does something that forces it into a low contrast mode no mater what I do.
github-actions commentedon Jul 3, 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.
monroewilliams commentedon Jul 7, 2026
I was able to fix this by telling Terminal to declare its terminal type as "xterm-256color" in Profiles -> Advanced -> TermInfo. I'd previously had it set to "xterm".