Change the TUI theme
configuration
// what it does
/themes opens a live theme picker; the default follows your terminal, and the system theme adapts to light/dark automatically. Built-ins include tokyonight, catppuccin, gruvbox, nord, everforest, and kanagawa. Persist a choice with "theme" in ~/.config/opencode/tui.json, and drop custom JSON themes in ~/.config/opencode/themes/.
// shortcut
Ctrl+X T
// shell
$ /themes$ ~/.config/opencode/tui.json$ { "$schema": "https://opencode.ai/tui.json", "theme": "tokyonight" }// gotcha
Theme lives in tui.json, not opencode.json — setting it in the wrong file does nothing. A custom theme can use "none" for any color to fall through to your terminal's own palette.