Lilac NightsA dark VS Code theme with a lilac spine — built to be read for eight hours straight. Now with a light variant.
Most purple themes pick a purple and stop there — everything else drifts into whatever hue was lying around. Lilac Nights runs the purple through the parts of the code that carry structure (keywords, properties, decorators) and gives each remaining hue exactly one job. The result stays unmistakably lilac without every line looking the same. The same rules hold across grammars: violet keywords, honey types, azure calls, sage strings, and orchid for whatever the language treats as a directive — decorators in Python, attributes in Rust, annotations in Java, preprocessor lines in C++. PreviewsClick a language to expand it: each one shows Lilac Nights and Lilac Nights Light.
Every image is rendered from the theme files, so it always matches the colors in PythonDark
Light
TypeScriptDark
Light
TSXDark
Light
JavaScriptDark
Light
GoDark
Light
RustDark
Light
C++Dark
Light
JavaDark
Light
C#Dark
Light
PHPDark
Light
HTMLDark
Light
Palette
Three rules it follows1. Purple carries the structure. Keywords, tags, 2. Each hue has exactly one job. No color does double duty in a way that makes two different concepts look alike. If something is azure, it is callable. 3. Brightness tracks importance, not frequency. Strings are the most common
thing in a file and the least worth scanning, so they sit below the names you
actually look for. Every syntax role clears WCAG AA (≥4.5:1) against the editor
background; the one deliberate exception is muted tag punctuation (
Light variantLilac Nights Light is derived from the dark theme with the same rules: the
same hue keeps the same job, and contrast is checked per role in CI. Pick it
with
What it coversBeyond the usual: semantic tokens (including Extra grammar rules for Python, TypeScript, Java, C#, PHP, Vue, Markdown, YAML,
TOML, Dockerfile, shell, SQL, InstallFrom the VS Code Marketplace — search Lilac Nights in the Extensions panel, or:
From Open VSX — in VSCodium, Cursor, Windsurf or Gitpod, search Lilac Nights in the Extensions panel, or:
From a release — download the
From source:
Then TerminalThe terminal gets all 16 ANSI colors mapped to the same palette:
Want to change something? See Making it yours. LicenseMIT — see LICENSE. |