Theme selected within opencode isn't saved when closed and reopened #2390

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

Originally created by @AKTheKnight on GitHub (Oct 31, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Pre 1.0.0: Selecting a theme via /theme would save that as the active theme. Closing and reopening would keep that same theme.

1.0.0: Selecting a theme is only active for the lifetime of that opencode instance. Closing and reopening resets back to the default

OpenCode version

1.0.0

Steps to reproduce

  1. Select a theme via ctrl+p -> theme
  2. Close opencode
  3. Open opencode
  4. Where did my theme go?

Screenshot and/or share link

No response

Operating System

Ubuntu 20.04

Terminal

Windows terminal via ssh

Originally created by @AKTheKnight on GitHub (Oct 31, 2025). Originally assigned to: @thdxr on GitHub. ### Description Pre 1.0.0: Selecting a theme via /theme would save that as the active theme. Closing and reopening would keep that same theme. 1.0.0: Selecting a theme is only active for the lifetime of that opencode instance. Closing and reopening resets back to the default ### OpenCode version 1.0.0 ### Steps to reproduce 1. Select a theme via ctrl+p -> theme 2. Close opencode 3. Open opencode 4. Where did my theme go? ### Screenshot and/or share link _No response_ ### Operating System Ubuntu 20.04 ### Terminal Windows terminal via ssh
yindo added the opentuibug labels 2026-02-16 17:35:26 -05:00
yindo closed this issue 2026-02-16 17:35:26 -05:00
Author
Owner

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

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

  • #3: feat: model config persistence - Original issue requesting persistence of model selection, similar concept for theme persistence
  • #1414: Build/Plan mode toggle (TAB) resets model selection - Shows similar pattern of configuration not persisting (though different trigger)
  • #1228: My configured ~/.opencode.json is immediately overwritten and reset upon launching opencode - Similar issue with configuration being reset/overwritten on startup

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: - #3: feat: model config persistence - Original issue requesting persistence of model selection, similar concept for theme persistence - #1414: Build/Plan mode toggle (TAB) resets model selection - Shows similar pattern of configuration not persisting (though different trigger) - #1228: My configured ~/.opencode.json is immediately overwritten and reset upon launching opencode - Similar issue with configuration being reset/overwritten on startup Feel free to ignore if none of these address your specific case.
Author
Owner

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

fixed in 1.0.1

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

No dependencies set.

Reference: anomalyco/opencode#2390