A cool blue-grey midtone with soft apricot and pale-sky highlights.
A soft mist-grey light theme with deep plum, indigo and moss inks.
Most themes are either near-black or near-white. Halflight lives in the middle. It's soft enough that there's no glare at night, and bright enough to use in a sunny room.
Why your eyes will thank you
Gentle contrast
Main text is 7.5:1 in Slate and 9.6:1 in Mist. That passes WCAG AAA without the 15:1+ glare of white on near-black.
Every token readable
Every syntax colour is at least 4.8:1 and comments are at least 4.5:1, so all code meets WCAG AA. Nothing is faded out.
No pure black or white
Backgrounds sit mid-range, so your eyes adjust less when you glance between the editor, docs and the room.
Muted, calm colour
Colours are kept to roughly half the saturation of typical vivid themes. Nothing competes for your focus.
Colour-blind safe
Tested in simulations of deuteranopia, protanopia and tritanopia. Every syntax pair stays clearly distinct (ΔE ≥ 10).
Checked on every change
tools/verify.py runs in CI and fails the build if any of the rules above break.
It themes the whole workbench, plus semantic highlighting, terminal ANSI colours, git decorations, diff and merge views, bracket pairs, Markdown, HTML/JSX, CSS, JSON and YAML.
Install
VS Code: open Extensions (Ctrl+Shift+X / ⌘⇧X), search Nujtech Halflight and click Install. Then run Preferences: Color Theme and pick Halflight Slate or Halflight Mist.
Cursor, VSCodium, Windsurf: search the same name. These editors install from Open VSX.
Found a token that looks off in your language? Open an issue with a screenshot. Pull requests are welcome. See CONTRIBUTING.md for how the colours are built and checked.
If Halflight makes your day a little easier on the eyes, please ⭐ star the repo. It helps other developers find it.
Made and maintained by Nujtech. Free and open source under the MIT license.