theJian/nvim-moonwalk

An accessible color scheme backed by scientific research.

โ˜… 15Forks 1LuaGitHub โ†—Compare
alacritty-themeapcacolorschemeiterm2-themeneovimneovim-colorscheme

README

MOONWALK

A Neovim color scheme designed for optimal readability and visual comfort, leveraging modern color science to ensure accessibility across diverse environments.

What is this?

moonwalk is a code highlighting theme that prioritizes perceptual accessibility through two advanced algorithms:

  • APCA (Accessible Perceptual Contrast Algorithm): Dynamically adjusts foreground/background contrast for human visual perception.
  • CIEDE2000 Color-Difference Formula: Ensures perceptually uniform color differentiation between syntax elements.

Built for developers who value both aesthetics and eye comfort, this theme maintains readability in varying lighting conditions and minimizes visual fatigue during extended coding sessions.

Screenshots

Python Screenshot 2025-05-04 at 17 21 12
JavaScript Screenshot 2025-05-04 at 17 20 47
Rust Screenshot 2025-05-04 at 17 21 30

โœจ Features

  • Enhanced Readability
  • Treesitter, lsp, and diagnostic highlights
  • Terminal color
  • Lualine support
  • Extra configurations for other applications

๐Ÿ“ฆ Installation

Install via your preferred package manager then enable the theme.

vim.o.background = 'light' -- or set to 'dark' for the experimental dark theme
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

Reporting Issues

Open a GitHub Issue for:

  • Perceptual contrast problems

  • Color differentiation ambiguities

  • Highlight group inconsistencies

Code Contributions

Ensure changes pass accessibility tests: make test

Contributors

theJian

Issues