Skip to content
| Marketplace
Sign in
Visual Studio Code>Themes>Zed One DarkNew to Visual Studio Code? Get it now.
Zed One Dark

Zed One Dark

NaroZeol

|
3 installs
| (0) | Free
A community-maintained VS Code port of Zed's built-in One Dark theme, with matching file icons.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Zed One Dark for VS Code

Zed One Dark extension icon

A community-maintained Visual Studio Code port of Zed's built-in One Dark theme, with a matching file icon theme and carefully aligned syntax colors.

[!IMPORTANT] This repository is a fork of premier213/one-dark-zed. It is not affiliated with, endorsed by, or maintained by Zed Industries, Microsoft, or the original repository owner. “Zed” and “Visual Studio Code” are used only to identify compatibility and the source of the ported theme.

Preview

Zed One Dark theme in VS Code

Included

Contribution ID / label Notes
Color theme Zed One Dark Workbench, editor, terminal, semantic-token, and TextMate colors generated from a pinned Zed One Dark palette.
File icon theme Onedark Zed Icons (onedark-zed-icons) Icons for common languages, tools, and folders.

The extension enables semantic highlighting for Go and gopls so packages, types, parameters, and fields receive the classifications consumed by the theme. A provider-driven context layer keeps type qualifiers namespace-colored while runtime function and value qualifiers use the normal variable color. A small Go-only decoration keeps import paths uniformly string-colored when gopls emits a namespace token inside the import literal. TextMate scopes remain the fallback before a provider loads or where none is available.

Install

VS Code Marketplace

Search for Zed One Dark in the Extensions view or run:

code --install-extension NaroZeol.zed-onedark-vscode

VSIX

Download a .vsix from the repository releases, then run Extensions: Install from VSIX… in the Command Palette. From a terminal:

code --install-extension .\zed-onedark-vscode-1.3.0.vsix --force

To build the package yourself:

npm ci
npm test
npm run package -- --out zed-onedark-vscode-1.3.0.vsix

Activate

Choose Preferences: Color Theme → Zed One Dark and Preferences: File Icon Theme → Onedark Zed Icons, or add:

{
  "workbench.colorTheme": "Zed One Dark",
  "workbench.iconTheme": "onedark-zed-icons"
}

Optional font settings

Fonts are not bundled. Zed's documented monospace default is Lilex, which is available separately under the SIL Open Font License 1.1. A balanced starting point is:

{
  "editor.fontFamily": "Lilex",
  "editor.fontLigatures": true,
  "editor.fontSize": 15,
  "editor.lineHeight": 24,
  "editor.letterSpacing": 0.2
}

Development

The generated theme deliberately has explicit, reproducible inputs:

  • themes/zed-one-theme.upstream.json is a pinned snapshot of Zed's built-in One Dark theme.
  • themes/zed-style-bindings.json, themes/zed-ui-bindings.json, and themes/zed-syntax-mapping.json define how Zed styles map to VS Code.

Run the theme generator only after changing its inputs:

npm run sync:theme
npm test

The pinned VS Code 1.135.0 TextMate integration suite verifies 334 lexical tokens across 61 bundled grammars and records 20 classifications that cannot be derived from those grammars alone. The provider suite separately verifies 223 real semantic symbols across Go, TypeScript/JavaScript, C/C++, and Rust, including declaration/reference pairs and properties on both sides of assignments. It also checks namespace qualifiers in both type and runtime-value contexts. The Go test consumes the same gopls defaults shipped in the extension manifest so test and editor behavior cannot silently diverge. Point the TextMate suite at that VS Code installation's resources/app directory. The provider suite requires gopls, clangd, and rust-analyzer on PATH:

VSCODE_APP_ROOT=/path/to/VSCode/resources/app npm run test:vscode
npm run test:semantic

Python, shell, JSON/JSONC, HTML, CSS/SCSS, Markdown, YAML, SQL, Java, C#, PHP, Ruby, and the remaining bundled languages are exercised through their official VS Code TextMate grammars. An installed language extension may add a semantic overlay on top of that tested fallback. Separate provider contracts keep 109 custom token types and modifier rules from Pylance, C#, C/C++, rust-analyzer, and TOML mapped to the same semantic roles. The provider harness also rejects newly advertised modifiers until their role precedence is explicitly classified.

Do not hand-edit generated colors. See docs/DEVELOPMENT_LOG.md for design constraints and known limitations.

Provenance and licensing

This fork preserves and extends work from premier213/one-dark-zed, whose original portions were published under the MIT License. The palette snapshot and generated theme incorporate material from zed-industries/zed, whose unmarked source and assets are licensed under GPL-3.0-or-later. Some icons include Lucide/Feather material under ISC/MIT terms.

The combined fork is distributed under GPL-3.0-or-later. Required copyright and permission notices are retained in THIRD_PARTY_NOTICES.md and icons/icons/LICENSES. See LICENSE for the full project license.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft