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

|
58 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 keeps semantic highlighting enabled for Go, including packages, types, parameters, functions, and methods. Current gopls versions do not expose a property token and classify both ordinary variables and fields such as config.Security.Captcha.Secret as variable. The shipped gopls default therefore disables only that lossy token type; all other semantic roles remain enabled.

A pinned Go TextMate grammar owns variables, struct fields, selectors, qualified constants, and composite-literal keys. Member chains consequently start with their final Zed property color on the first frame instead of being recolored after navigation. The activation layer remains limited to import strings, synchronous package-qualifier previews, and the language-neutral namespace-role correction used by other providers. It no longer applies an asynchronous Go property decoration.

Package qualifiers follow the role of the symbol they introduce. In Go, dal.Instance and dal.FindInstanceOption{} emphasize dal because the qualified symbols are types, while dal.FindInstanceById(...) renders dal as an ordinary variable and leaves the callable itself emphasized. Strong lexical forms are classified on the first frame; semantic tokens provide the final answer for ambiguous contexts.

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.1.vsix --force

To build the package yourself:

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

For local development on a machine with both the code and trae CLIs, install the current working tree into VS Code and Trae CN through their supported VSIX installer:

npm run install:local

The command runs the base regression suite, builds a temporary VSIX, installs it into both editors with --force, and removes the temporary package. Reload open editor windows afterward. This is intentionally preferred over symlinking Marketplace-managed extension directories, whose names and active versions can change during editor updates.

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 340 lexical tokens across 61 bundled grammars and records 18 classifications that cannot be derived from those grammars alone. The provider suite separately verifies 238 provider contracts across Go, TypeScript/JavaScript, C/C++, and Rust, including declaration/reference pairs and properties on both sides of assignments. Go variable-shaped tokens are intentionally absent from the gopls stream and covered by the first-frame grammar suite instead. 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
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft