Skip to content

CLI colors have low contrast on macOS Terminal (black / Pro theme)Β #6823

Closed as not planned

Description

@huangsen365

Description

Title

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!

Plugins

No response

OpenCode version

1.0.223

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS 15.7.3

Terminal

Terminal (Built-in)

Activity

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

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. DavidGOrtega commented on Jan 6, 2026

    @DavidGOrtega

    This issue is does also happens with the majority of the themes, I can barely see anything

  4. rekram1-node commented on Jan 6, 2026

    @rekram1-node
    Contributor

    What terminal version do u have? I htink they fixed a bunch of color stuff in their latest versions

  5. DavidGOrtega commented on Jan 7, 2026

    @DavidGOrtega

    Terminal Version 2.14 (453)
    MacOS Sonoma 14.5 (23F79)

  6. 0xPT commented on Jan 12, 2026

    @0xPT

    Same issue

  7. pavelhusa commented on Jan 16, 2026

    @pavelhusa

    Same issue happens on:
    Sequoia 15.3.1 (24D70)
    Teminal 2.14 (455)

  8. 0xPT commented on Jan 16, 2026

    @0xPT

    They gave me advice in the Discord channel. You have to upgrade your MacOS or use a different terminal.

  9. radoslawcz commented on Jan 18, 2026

    @radoslawcz

    Why I can't have a theme with simple black font??

  10. sakura-habby commented on Jan 29, 2026

    @sakura-habby

    Same here. I've tried every theme and none of them is easy to read.
    MacOS Version 15.7.2 (24G325)

  11. JayTam commented on Feb 2, 2026

    @JayTam

    It’s the same issue on 15.4.1 (24E263). After updating to 26.2, the problem no longer occurs.

  12. yangjindong commented on Apr 2, 2026

    @yangjindong

    Have a try command: /themes , and switch to another one

  13. quark-idlemind commented on Apr 6, 2026

    @quark-idlemind

    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.

  14. bala-ink commented on Apr 12, 2026

    @bala-ink

    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.

  15. arlaneenalra commented on Apr 17, 2026

    @arlaneenalra

    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.

  16. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  17. github-actions commented on Jul 3, 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.

  18. monroewilliams commented on Jul 7, 2026

    @monroewilliams

    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".

    Image
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