It's Dracula-o-ween! Dracula Pro with 40% OFF until Oct 31 →

opencode - Theme Preview

§OpenCode

§Install using Git

If you are a git user, you can install the theme and keep up to date by cloning the repo:

git clone https://github.com/dracula/opencode.git

§Install manually

Download using the GitHub .zip download option and unzip them.

§Activating theme

  1. Create the OpenCode themes directory if it doesn't exist:

    mkdir -p ~/.config/opencode/themes
  2. Symlink the theme file to the OpenCode themes directory:

    ln -s /path/to/opencode-dracula-theme/dracula.json ~/.config/opencode/themes/dracula.json

    Replace /path/to/opencode-dracula-theme with the actual path where you cloned/downloaded the theme.

  3. Edit your OpenCode configuration file (~/.config/opencode/config.json) and set the theme:

    {
      "theme": "dracula"
    }
  4. Restart OpenCode