Zed One Dark for VS Code
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.
Preview
Included
The extension keeps semantic highlighting enabled for Go, including packages,
types, parameters, functions, and methods. Current gopls versions do not expose
a 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,
InstallVS Code MarketplaceSearch for Zed One Dark in the Extensions view or run:
VSIXDownload a
To build the package yourself:
For local development on a machine with both the
The command runs the base regression suite, builds a temporary VSIX, installs
it into both editors with ActivateChoose Preferences: Color Theme → Zed One Dark and Preferences: File Icon Theme → Onedark Zed Icons, or add:
Optional font settingsFonts 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:
DevelopmentThe generated theme deliberately has explicit, reproducible inputs:
Run the theme generator only after changing its inputs:
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
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
Provenance and licensingThis fork preserves and extends work from
The combined fork is distributed under GPL-3.0-or-later. Required copyright
and permission notices are retained in |
