Skip to content

The default theme "dark" mode of the system has failed. #23521

@cycle2zhou

Description

@cycle2zhou

Description

configuration:
Image
The system theme is dark, and the terminal is also dark. However, as soon as you open opencode, it automatically switches to a bright theme.

ghostty theme=GitHub Dark
The opencode 1.14.18 and previous versions are all functioning properly.
However, what's interesting is that this issue only occurred in Ghostty. The original terminal and iterm2 were both fine.

Plugins

No response

OpenCode version

1.14.19

Steps to reproduce

1.The system has been set to a dark theme.
2.Ghostty has also been set to a dark theme.
3.ghostty is running opencode

Screenshot and/or share link

Image

Operating System

macOS 26.4.1

Terminal

Ghostty

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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