System theme broken with light color schemes #8546

Open
opened 2026-02-16 18:10:14 -05:00 by yindo · 3 comments
Owner

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

Originally assigned to: @rekram1-node on GitHub.

Description

PR #8467 introduced background: transparent in the system theme to support terminal transparency. This breaks some parts of the system theme, especially visible on light themes.

From my understanding transparent background by default messes up contrast calculations as you can see on screens. This happens even on terminals with 100% opacity.

Plugins

No response

OpenCode version

1.1.51

Steps to reproduce

  1. Use a light terminal theme
  2. Set opencode theme to system
  3. Observe: dark overlays, broken contrast, broken logo

Screenshot and/or share link

Image Image

Operating System

macOS 15.7.3

Terminal

Ghostty 1.2.3

Originally created by @akronb on GitHub (Feb 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description PR #8467 introduced `background: transparent` in the system theme to support terminal transparency. This breaks some parts of the system theme, especially visible on light themes. From my understanding transparent background by default messes up contrast calculations as you can see on screens. This happens even on terminals with 100% opacity. ### Plugins _No response_ ### OpenCode version 1.1.51 ### Steps to reproduce 1. Use a light terminal theme 2. Set opencode theme to system 3. Observe: dark overlays, broken contrast, broken logo ### Screenshot and/or share link <img width="944" height="751" alt="Image" src="https://github.com/user-attachments/assets/4fbcaea8-d152-4d01-9652-58844fa232f8" /> <img width="944" height="751" alt="Image" src="https://github.com/user-attachments/assets/a3f08550-b930-40d5-8349-8b8e9958ea79" /> ### Operating System macOS 15.7.3 ### Terminal Ghostty 1.2.3
yindo added the opentuibug labels 2026-02-16 18:10:14 -05:00
Author
Owner

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

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

  • #8480: System theme doesn't apply Ghostty transparency on load (v1.1.10)
  • #4027: System them in macos with ghostty doesn't apply opacity
  • #9920: No text on transparent background in dialog-alert, dialog-confirm & dialog help buttons
  • #11191: Broken logo for CLI on light theme
  • #11866: Add transparency/translucent background support for TUI

These issues all relate to system theme transparency and contrast problems introduced by PR #8467. Feel free to ignore if this describes a different specific case.

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #8480: System theme doesn't apply Ghostty transparency on load (v1.1.10) - #4027: System them in macos with ghostty doesn't apply opacity - #9920: No text on transparent background in dialog-alert, dialog-confirm & dialog help buttons - #11191: Broken logo for CLI on light theme - #11866: Add transparency/translucent background support for TUI These issues all relate to system theme transparency and contrast problems introduced by PR #8467. Feel free to ignore if this describes a different specific case.
Author
Owner

@fozcodes commented on GitHub (Feb 6, 2026):

Might be a duplicate of #10661

In either case, I'm having the same issue:

https://github.com/anomalyco/opencode/issues/10661#issuecomment-3863260216

@fozcodes commented on GitHub (Feb 6, 2026): Might be a duplicate of #10661 In either case, I'm having the same issue: https://github.com/anomalyco/opencode/issues/10661#issuecomment-3863260216
Author
Owner

@GrassBlock1 commented on GitHub (Feb 6, 2026):

Image

same issue here on kitty 0.45 at Arch Linux

@GrassBlock1 commented on GitHub (Feb 6, 2026): <img width="1437" height="1153" alt="Image" src="https://github.com/user-attachments/assets/633dc901-6ba9-4cb9-96ba-cdc9f7b453bf" /> same issue here on kitty 0.45 at Arch Linux
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8546