A minimalist, low-distraction Visual Studio Code theme designed for long coding sessions. 0xNight pairs a neutral UI with carefully tuned syntax colors so you can stay focused without eye strain.
- Twin color palettes – Choose between
0xNight Darkfor deep focus or0xNight Lightfor bright environments while keeping the same balanced syntax story. - Purposeful contrast – Subtle UI chrome, gentle highlights, and precise accent colors make panels and tabs easy to scan without harsh borders.
- Comment keyword accents – Automatically highlights keywords such as TODO, FIXME, NOTE, WARN, and INFO with semantic colors so action items pop in any language.
- Terminal harmony – ANSI colors align with the editor palette for a cohesive terminal experience inside VS Code.
Screenshots coming soon.
- Visual Studio Code 1.105.0 or newer
- Marketplace (recommended) Search for “0xNight” in the VS Code Extensions view once the theme is published, then click Install.
- From a VSIX package
Download the release file, press
Ctrl+Shift+P, run Extensions: Install from VSIX..., and select the package. - From source
Clone this repository, run
npm install, then pressF5to launch the Extension Development Host and test locally.
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). - Run Preferences: Color Theme.
- Select 0xNight Dark or 0xNight Light.
- (Optional) The bundled grammar injection will colorize comment keywords automatically—just keep writing TODO, FIXME, NOTE, WARN, or INFO in your comments and they will stand out.
Replicate the clean, low-distraction workspace shown in the screenshots with this lean preset (tweak as needed):
Tip: Install the JetBrains Mono font and the gruvbox-material icon theme for best results. Vim users can optionally map
jkto<Esc>in insert mode for smoother navigation.
- Update colors in
themes/0xnight-dark.jsonandthemes/0xnight-light.json. - Adjust comment keyword scopes in
syntaxes/0xnight-comment-keywords.tmLanguage.json. - Run
npm run lint(if configured) andnpm run packageto build a distributable VSIX. - Use
F5to open the Extension Development Host and iterate quickly.
Issues and pull requests are welcome. If you have palette ideas, accessibility suggestions, or additional comment keywords to support, open a discussion to collaborate.
Released under the MIT License. See the license file for details.