theJian / nvim-moonwalk

A highly accessible colorscheme for neovim and many other applications.
8 stars 1 forks source link
alacritty-theme apca colorscheme iterm2-theme neovim neovim-colorscheme

MOONWALK

A highly accessible colorscheme for neovim and many other applications, with APCA-based accessibility testing to ensure a sufficient contrast ratio. APCA stands for Accessible Perceptual Contrast Algorithm, a new color contrast method that provides a more accurate estimation of color contrast perception.

Screenshots

go
lua
javascript
python
html
terminal colors Screen Shot 2023-12-07 at 14 13 16

✨ Features

📦 Installation

Install it with your favorite package manager and add this to your configuration.

vim.o.background = 'light'
vim.cmd.colorscheme'moonwalk'

🛠 Options

require'moonwalk'.setup({
  transparent = false,      -- Boolean, default: false. Toggle transparency.
  terminal_color = true,    -- Boolean, default: true. Toggle terminal color.
})

🙌 Contributing

We use APCA to compute the contrast of highlight groups and test to ensure readability. Your PR needs to pass the accessibility test, you can run the test locally with make test.