Skip to content

Type to search extensions

OC-2 Theme

v0.0.1

A light and dark Zed theme based on the OC-2 color palette.

Updated 4 months ago
204 downloads 1 star Repository ↗
zedext main
// Load settings, retrying a few times
fn load_config(path: &str) -> Result<Config, Error> {
let retries = 3;
let text = fs::read_to_string(path)?;
let name = "settings.json";
Ok(Config { text, retries, name })
}

OC-2 Theme for Zed

OC-2 Theme preview inside Zed

OC-2 is a warm, expressive theme for Zed, adapted from the original OpenCode OC-2 color palette. It pairs soft neutral surfaces with vivid syntax accents, keeping the editor calm without making code feel muted.

Zed Variants License

Variants

  • OC-2 Dark
  • OC-2 Light

Palette

#fab283 #edb2f1 #00ceb9 #8cb0ff #fcd53a #fc533a

Install

Once published in the Zed extension registry, install it from Zed's Extensions view by searching for OC-2 Theme.

For local development or manual testing:

  1. Clone this repository.
  2. Open Zed.
  3. Run zed: install dev extension from the command palette.
  4. Select this repository directory.
  5. Choose OC-2 Dark or OC-2 Light from the theme picker.

Manual Theme File

You can also copy the theme JSON directly into Zed's user themes directory:

mkdir -p ~/.config/zed/themes
cp themes/oc-2.json ~/.config/zed/themes/oc-2.json

Then reload Zed and select one of the OC-2 themes.

Credits

The original OC-2 theme and color palette were created by OpenCode. This repository is an unofficial Zed editor adaptation by nstlgy.

License

MIT

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated