Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VS Code Modern for OpenCode

A VS Code-inspired dark and light color theme for OpenCode.

Install

Project-only

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.

User-wide

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/

Apply

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.

Theme Coverage

  • Dark and light UI palettes
  • Syntax highlighting for comments, keywords, functions, variables, strings, numbers, types, operators, and punctuation
  • Markdown and Git diff colors

Screenshots

About

VSCode Modern Theme color port for OpenCode, available in dark and light theme

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors