An open API service indexing awesome lists of open source software.

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.

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
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.
```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`