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
- Treesitter, lsp, and diagnostic highlights
- Terminal color
- Lualine support
- Extra configurations for other applications
Install it with your favorite package manager and add this to your configuration.
vim.o.background = 'light'
vim.cmd.colorscheme'moonwalk'
require'moonwalk'.setup({
transparent = false, -- Boolean, default: false. Toggle transparency.
terminal_color = true, -- Boolean, default: true. Toggle terminal color.
})
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
.