From e98eae3ee713396871304685ff945cf523942a06 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 8 Nov 2025 13:11:58 -0500 Subject: [PATCH] feat(readme): update --- README.md | 58 +++++++------------------------------------------------ 1 file changed, 7 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index 348948f..0192117 100644 --- a/README.md +++ b/README.md @@ -1,64 +1,20 @@ # midnight.nvim -A minimal, scientifically-optimized colorscheme with automatic dark/light variants. - -## Features - -- **Single theme, dual modes**: Automatically detects `vim.o.background` and switches between midnight (dark) and daylight (light) palettes -- **Ultra-minimal syntax**: Only 3 semantic colors - blue for keywords, green for literals, grey for comments, white for everything else -- **Scientific optimization**: Desaturated colors in the 200-50 range, WCAG AAA contrast ratios -- **Eye strain reduction**: No pure black (#121212) or pure white (#e0e0e0) -- **Full terminal support**: Complete 16 ANSI color support -- **Plugin compatibility**: Built-in support for fzf-lua, nvim-cmp, gitsigns, and more +neovim theme for code, not colors. ## Installation -### lazy.nvim - ```lua { 'barrett-ruth/midnight.nvim', - lazy = false, - priority = 1000, config = function() - require('midnight').setup() - vim.cmd('colorscheme midnight') + vim.cmd.colorscheme('midnight') end, } ``` +## Plugin Integration -## Usage - -```vim -colorscheme midnight -``` - -The theme automatically adapts to your background setting: - -```lua -vim.o.background = 'dark' -- uses midnight palette -vim.o.background = 'light' -- uses daylight palette -``` - -## Design Philosophy - -- **Minimal colors**: Only color what's semantically necessary -- **High contrast**: Meet WCAG AAA standards for readability -- **Consistent with terminal**: Matches Ghostty, tmux, and FZF themes -- **No AI comments**: Clean, human-written code - -## Color Palette - -### Midnight (Dark) -- Background: `#121212` (optimal dark gray) -- Foreground: `#e0e0e0` (87% white) -- Blue: `#7aa2f7` (keywords/control) -- Green: `#98c379` (literals/data) -- Grey: `#666666` (comments) - -### Daylight (Light) -- Optimized light variant with similar principles - -## License - -MIT +- [treesitter](https://github.com/nvim-treesitter/nvim-treesitter) +- [fzf-lua](https://github.com/ibhagwan/fzf-lua) +- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) +- [gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim)