System theme makes dialogs/overlays look black on light terminals #9195

Open
opened 2026-02-16 18:11:52 -05:00 by yindo · 2 comments
Owner

Originally created by @akronb on GitHub (Feb 12, 2026).

Originally assigned to: @kommander on GitHub.

Description

Since #8467 introduced background transparency, dialog backgrounds have been rendering incorrectly. The dimmer appears to be rendering against a black buffer rather than the terminal background, breaking contrast on light themes.

Plugins

No response

OpenCode version

1.1.63

Steps to reproduce

  1. Use a light terminal theme
  2. Set opencode theme to system
  3. Open any dialog in app to see a problem

Screenshot and/or share link

That's a light theme!

Image

Operating System

macOS 15.7.3

Terminal

Ghostty 1.2.3

Originally created by @akronb on GitHub (Feb 12, 2026). Originally assigned to: @kommander on GitHub. ### Description Since #8467 introduced background transparency, dialog backgrounds have been rendering incorrectly. The dimmer appears to be rendering against a black buffer rather than the terminal background, breaking contrast on light themes. ### Plugins _No response_ ### OpenCode version 1.1.63 ### Steps to reproduce 1. Use a light terminal theme 2. Set opencode theme to system 3. Open any dialog in app to see a problem ### Screenshot and/or share link That's a light theme! <img width="1011" height="613" alt="Image" src="https://github.com/user-attachments/assets/f322b53b-7508-437c-be70-1a28ba8921d4" /> ### Operating System macOS 15.7.3 ### Terminal Ghostty 1.2.3
yindo added the help-wantedopentuibuggood first issue labels 2026-02-16 18:11:52 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2026):

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

  • #12184: System theme broken with light color schemes (exact same issue with the same reproduction steps and root cause from PR #8467)
@github-actions[bot] commented on GitHub (Feb 12, 2026): This issue might be a duplicate of an existing issue. Please check: - #12184: System theme broken with light color schemes (exact same issue with the same reproduction steps and root cause from PR #8467)
Author
Owner

@kommander commented on GitHub (Feb 16, 2026):

That seems to be only an overlay color issue. I don't know if that overlay color is actually in the theme and if that is a regression. Should be a simple fix.

@kommander commented on GitHub (Feb 16, 2026): That seems to be only an overlay color issue. I don't know if that overlay color is actually in the theme and if that is a regression. Should be a simple fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9195