https://github.com/thejian/nvim-moonwalk
An accessible color scheme backed by scientific research.
https://github.com/thejian/nvim-moonwalk
alacritty-theme apca colorscheme iterm2-theme neovim neovim-colorscheme
Last synced: 8 months ago
JSON representation
An accessible color scheme backed by scientific research.
- Host: GitHub
- URL: https://github.com/thejian/nvim-moonwalk
- Owner: theJian
- Created: 2023-11-01T14:57:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-04T09:24:07.000Z (about 1 year ago)
- Last Synced: 2025-05-04T10:28:46.068Z (about 1 year ago)
- Topics: alacritty-theme, apca, colorscheme, iterm2-theme, neovim, neovim-colorscheme
- Language: Lua
- Homepage:
- Size: 194 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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

JavaScript

Rust

## ✨ 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.
```lua
vim.o.background = 'light' -- or set to 'dark' for the experimental dark theme
vim.cmd.colorscheme'moonwalk'
```
## 🛠 Options
```lua
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`