Skip to content

Type to search extensions

Obsidian Theme

v0.1.0

A faithful port of Obsidian's default theme (dark and light) for Zed.

Updated 2 weeks ago
76 downloads 0 stars 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 })
}

Obsidian Theme for Zed

A faithful port of Obsidian's default theme for the Zed editor, in both dark and light variants.

Colors are derived from Obsidian's official CSS variables — the base color palette, extended colors, and the default theme's syntax highlighting mapping:

Obsidian variable Zed syntax scope
--code-keyword (--color-pink) keyword
--code-string (--color-green) string
--code-function (--color-yellow) function
--code-value (--color-purple) number, boolean, constant
--code-property (--color-cyan) property, type
--code-operator / --code-tag (--color-red) operator, tag
--code-important (--color-orange) string.regex, preproc
--code-comment (--text-faint) comment
--code-punctuation (--text-muted) punctuation

Themes

  • Obsidian Dark — editor background #1e1e1e, text #dcddde, accent hsl(254, 80%, 68%)
  • Obsidian Light — editor background #ffffff, text #222222, accent hsl(254, 80%, 68%)

Install

From the Zed extension registry

Once published, open the command palette (cmd-shift-p) → zed: extensions → search for "Obsidian Theme".

As a dev extension

  1. Clone this repository.
  2. In Zed, open the command palette (cmd-shift-p) → zed: install dev extension.
  3. Select this repository's directory.
  4. Open the theme selector (cmd-k cmd-t) and choose Obsidian Dark or Obsidian Light.

License

MIT

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

Data from Zed’s extension registry and GitHub · updated