Skip to content

Themes always render light variant on macOS regardless of terminal dark background (OSC 11 detection broken) #23196

@jepachecoam

Description

@jepachecoam

Description

Since April 17, 2026, OpenCode renders the light variant of all themes
regardless of the terminal's actual background color. The dark variant
never loads. This happens across multiple terminals on macOS.

This appears to be related to #21870, #19254, and #20926 but with a
broader scope — it is not limited to one terminal or theme.

Plugins

engram, "plugin": ["@mohak34/opencode-notifier@latest"],

OpenCode version

1.4.10

Steps to reproduce

open opencode.

Screenshot and/or share link

Image

Operating System

mac

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions