Skip to content

mosaddiqdev/vscode-0xnight-theme

Repository files navigation

0xNight VS Code Theme

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.

Features

  • Twin color palettes – Choose between 0xNight Dark for deep focus or 0xNight Light for 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.

Previews

Screenshots coming soon.

Requirements

  • Visual Studio Code 1.105.0 or newer

Installation

  1. Marketplace (recommended) Search for “0xNight” in the VS Code Extensions view once the theme is published, then click Install.
  2. From a VSIX package Download the release file, press Ctrl+Shift+P, run Extensions: Install from VSIX..., and select the package.
  3. From source Clone this repository, run npm install, then press F5 to launch the Extension Development Host and test locally.

Usage

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  2. Run Preferences: Color Theme.
  3. Select 0xNight Dark or 0xNight Light.
  4. (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.

Recommended settings

Replicate the clean, low-distraction workspace shown in the screenshots with this lean preset (tweak as needed):

// settings.json
{
  // ===== THEME & APPEARANCE =====
  "workbench.colorTheme": "0xNight Dark", // or "0xNight Light"
  "workbench.iconTheme": "gruvbox-material-icon-theme",
  "window.title": " ",

  "editor.fontFamily": "JetBrains Mono",
  "editor.fontSize": 14,
  "editor.fontLigatures": true,
  "editor.lineHeight": 1.5,

  "breadcrumbs.enabled": false,
  "editor.minimap.enabled": false,
  "workbench.layoutControl.enabled": false,
  "workbench.sideBar.location": "right",
  "explorer.openEditors.visible": 0,

  "editor.glyphMargin": false,
  "editor.lineNumbers": "off",
  "editor.renderLineHighlight": "none",
  "editor.guides.indentation": false,
  "editor.bracketPairColorization.enabled": false,

  "workbench.editor.showTabs": "single",
  "workbench.editor.tabCloseButton": "off",

  "editor.wordWrap": "on",
  "editor.renderWhitespace": "selection"
}

Tip: Install the JetBrains Mono font and the gruvbox-material icon theme for best results. Vim users can optionally map jk to <Esc> in insert mode for smoother navigation.

Development

  • Update colors in themes/0xnight-dark.json and themes/0xnight-light.json.
  • Adjust comment keyword scopes in syntaxes/0xnight-comment-keywords.tmLanguage.json.
  • Run npm run lint (if configured) and npm run package to build a distributable VSIX.
  • Use F5 to open the Extension Development Host and iterate quickly.

Contributing

Issues and pull requests are welcome. If you have palette ideas, accessibility suggestions, or additional comment keywords to support, open a discussion to collaborate.

License

Released under the MIT License. See the license file for details.

About

0xNight delivers a clean, minimalist workspace built for long coding sessions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published