Skip to content

1.0.2 - Themes in opencode.json files not respected. #3634

@ariane-emory

Description

@ariane-emory

Description

My ~/.config/opencode/opencode.json contains:

"theme": "mellow",

My project local theproject/opencode.json contains:

"theme": "matrix",

When launching opencode, neither of these was respected and neither theme was applied.

Please fix this. When you're running 5-6 instances of opencode simultaneously, being able to set project local themes to make them visually distinct from one another made it much easier to quickly determine which directory a particular opencode instance is running in.

OpenCode version

1.0.2

Steps to reproduce

  1. Configure the opencode.json files in ~/.config/opencode and theproject as described above.
  2. Start opencode in theproject directory. Observe that the matrix theme was not applied.
  3. Start opencode in some other directory. Observe that the mellow theme was not applied.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia

Terminal

iTerm2

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions