anomalyco / anomalyco/opencode
Theme commands missing from command palette in new web layout
@Brendonovich is already working on this.
Since Sep 14, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
In opencode web (v1.18.29, new default layout), the theme/color-scheme commands are gone from the command palette. Filtering for "theme" returns nothing.
Cause: the whole layout command group (theme, project, server, workspace, session-nav) is registered only in packages/app/src/pages/layout.tsx via command.register("layout", ...). The new layout packages/app/src/pages/layout-new.tsx is a thin wrapper and never registers it. With newLayoutDesigns on by default, the group is unavailable.
mod+shift+t (previously "cycle theme") now triggers tab.reopenClosed (titlebar.tsx:353), which stays registered in both layouts.
Expected: register the layout command group under the new layout too (e.g. extract into a shared hook used by both layouts), so theme commands are available again.
Plugins
No response
OpenCode version
1.18.29
Steps to reproduce
- Run
opencode weband open it in the browser (new layout,newLayoutDesignsdefault on). - Open the command palette (
ctrl+p). - Type "theme".
Expected: theme / color-scheme commands. Actual: no results. Also ctrl+shift+t (formerly "cycle theme") now reopens a closed tab (which in itself is nice).
Screenshot and/or share link
No response
Operating System
Ubuntu 24.04
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.