anomalyco / anomalyco/opencode

Theme commands missing from command palette in new web layout

Open
#48,977 2 comments 0 reactions 1 assignee View on GitHub

@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
  1. Run opencode web and open it in the browser (new layout, newLayoutDesigns default on).
  2. Open the command palette (ctrl+p).
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.