#7905·superset

Terminal: pick a color theme per terminal from the right-click menu

Author: joselopezrosarioCreated Sep 28, 2026Updated Sep 28, 2026

What problem are you trying to solve?

Every terminal pane uses the app theme. When I have several terminals open in a workspace, I can't give one of them different colors, so they all look the same.

Proposed solution

Add a Theme submenu to the terminal's right-click menu. It lists "App theme" plus the built-in light and dark themes and any custom themes, each with a swatch. Picking one changes only that terminal.

The choice is stored on the terminal session in the host-service, so it survives restarts and reattaching:

  • a nullable theme_id column on terminal_sessions (one migration)
  • a terminal.setTheme mutation, and themeId on the create and list paths
  • "App theme" clears the override, and the terminal follows the app theme again

I have this working on a branch and can open a PR. Before I do, I'd like to know if this approach works for you, especially the new column and mutation.

Workarounds you've tried

My first version put the picker in the terminal session dropdown, as a swatch next to each session. The right-click menu felt more natural. Outside of that, the only option is to change the app theme, which changes every terminal at once.