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

Closed
opened 2026-02-16 17:35:28 -05:00 by yindo · 2 comments
Owner

Originally created by @ariane-emory on GitHub (Oct 31, 2025).

Originally assigned to: @thdxr on GitHub.

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

Originally created by @ariane-emory on GitHub (Oct 31, 2025). Originally assigned to: @thdxr on GitHub. ### 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
yindo added the opentuibug labels 2026-02-16 17:35:28 -05:00
yindo closed this issue 2026-02-16 17:35:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3633: Custom themes from config directory not loading in 1.0+ versions
  • #3632: Missing /theme command that was used to test themes before adding to opencode.json

Both issues are related to theme functionality being broken or missing in the 1.0+ releases. Issue #3633 specifically deals with custom themes not loading, while #3632 mentions the missing /theme command that was useful for testing themes before adding them to opencode.json files.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 31, 2025): This issue might be a duplicate of existing issues. Please check: - #3633: Custom themes from config directory not loading in 1.0+ versions - #3632: Missing /theme command that was used to test themes before adding to opencode.json Both issues are related to theme functionality being broken or missing in the 1.0+ releases. Issue #3633 specifically deals with custom themes not loading, while #3632 mentions the missing /theme command that was useful for testing themes before adding them to opencode.json files. Feel free to ignore if none of these address your specific case.
Author
Owner

@thdxr commented on GitHub (Oct 31, 2025):

fixed, will release soon

@thdxr commented on GitHub (Oct 31, 2025): fixed, will release soon
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2401