A VS Code-inspired dark and light color theme for OpenCode.
This repository already places the theme at the project-local path OpenCode scans:
themes/vscode-modern.json
Keep that file in a project to make the theme available only when running OpenCode from that project.
To use the theme in every project, copy vscode-modern.json to OpenCode's user themes directory:
mkdir -p ~/.config/opencode/themes
cp themes/vscode-modern.json ~/.config/opencode/themes/Start OpenCode and run:
/theme
Choose vscode-modern from the picker.
Alternatively, set it as the default in ~/.config/opencode/tui.json (or the project's .opencode/tui.json):
{
"$schema": "https://opencode.ai/tui.json",
"theme": "vscode-modern"
}Restart OpenCode after changing tui.json.
- Dark and light UI palettes
- Syntax highlighting for comments, keywords, functions, variables, strings, numbers, types, operators, and punctuation
- Markdown and Git diff colors

