DEV Community

Florian Rand
Florian Rand

Posted on

Lightdark: A minimal Neovim colorscheme focused on readability

I've been working on Lightdark, a small Neovim colorscheme built around a simple idea: syntax highlighting should help you read code, not turn your editor into a rainbow. 🌈

The theme uses a restrained color palette inspired by modern Visual Studio Code, with an emphasis on semantic highlighting, contrast, and visual hierarchy.

The main goals are pretty straightforward:

  • Readability first. Colors should communicate meaning rather than add decoration.
  • Comfort during long coding sessions. Restrained saturation, readable comments, and minimal visual noise.
  • Keep it simple. No complicated configuration API or endless customization options.
  • Easy to hack. The code is intentionally small and approachable. If something doesn't suit your preferences, change it!

Lightdark builds on Neovim's native highlighting capabilities, including Tree-sitter and semantic tokens, without trying to support every plugin under the sun.

Preview

Lightdark Neovim colorscheme

Installation

Using lazy.nvim:

{
  "flrnd/lightdark.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("lightdark")
  end,
}
Enter fullscreen mode Exit fullscreen mode

There's also a light variant called lightdark-paper, although that's still a work in progress.

Give it a try!

It's a small personal project, but I figured others might find it useful.

The project is open source under the MIT license.

GitHub: https://github.com/flrnd/lightdark.nvim

Feedback, suggestions, and contributions are welcome!

Top comments (0)