Skip to content

Chosen theme not persisted #27784

@stephfh

Description

@stephfh

Description

Hi!

In v1.15 the theme chosen via /themes doesn't seem to be persisted and only seems to be active for the current session.

Steps to reproduce:

  1. Launch opencode
  2. /themes and choose a theme (system in my case) => theme active
  3. close opencode and relaunch => default theme active again

Versions:

Opencode: 1.15
Terminal: Ghostty, v1.3.1
Operating System: macOS 26.5

I also set "theme": "system" in my opencode.json (according to the docs). Weirdly enough I don't see the property in the output of opencode debug config, but it seems to be set correctly in ~/.local/state/opencode/kv.json (at least I see a "theme": "system" in there).

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

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