Skip to content

[bug] built-in theme in tui.json not loading on startup #16199

@nvimcraft

Description

@nvimcraft

Description

Theme configured in tui.json is not applied on startup. Created ~/.config/opencode/tui.json with "theme": "everforest" but OpenCode always starts with the default "opencode" theme. Using /theme command works, but the config should be read automatically.

Plugins

None

OpenCode version

Version: 1.2.10

Steps to reproduce

  1. Create ~/.config/opencode/tui.json:
   {
     "$schema": "https://opencode.ai/tui.json",
     "theme": "everforest"
   }
  1. Run opencode (from any directory)
  2. Theme is still default "opencode" instead of everforest

Expected: Theme should be everforest
Actual: Default opencode theme is used (or whatever was previously set using /theme)

Screenshot and/or share link

No response

Operating System

macOS Tahoe 26.3

Terminal

WezTerm

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions