Create (Neo)vim color schemes by defining colors and their transformations. This uses the Oklab color space to make the perceptual effects of transformations predictable.
A hosted version is available here.
- Color schemes are compiled to (Neo)vim configurations with no startup overhead
- Specify colors using lightness, chromacity and hue in the Oklch color space
- If you're creating a dark theme, you get the inverse light theme for free, and vice versa
- A curated set of opinionated default Neovim highlight groups is provided, requiring only a few theme definitions to get a consistent color scheme
- Theme colors definitions refer to colors with optional transformations (such as lightness and chromacity)
- Override or add any highlight group
- Vim is supported as a secondary target
Normal | Inverse |
---|---|
highlow: a color scheme with high contrast between background and foreground, low color saturation, and low contrast between foreground elements.
Normal | Inverse |
---|---|
twocolor: a color scheme using (mostly) just two hues.
To run the CLI version, run
$ cargo install hi-nvim-rs
$ hi-nvim-rs --help
$ hi-nvim-rs ./path/to/colorscheme.toml > ~/.config/nvim/colors/a-colorscheme-name.vim