a neovim colorscheme descended from fairyfloss and sister to moonqueen.nvim. built with lush.
this repository is mirrored to github from codeberg.
- gitsigns.nvim
- indent-blankline.nvim
- mini.nvim diff, statusline, and tabline
- render-markdown.nvim
- trouble.nvim
with lazy:
return {
"https://codeberg.org/sailorfe/luna.nvim",
-- init = function()
-- vim.cmd.colorscheme("luna")
-- end,
}alternately, you can skip init = function() and declare vim.cmd.colorscheme('luna') somewhere in your init.lua after plugin load.
it has just two options:
| name | type | default | description |
|---|---|---|---|
transparent |
boolean | false | sets Normal and linked hl groups to none to show terminal background. |
overrides |
table / boolean | false | override any hl groups you don't like or to add new ones. |
with vim-plug:
Plug 'https://codeberg.org/sailorfe/luna.nvim', { 'as': 'luna', 'branch': 'main' }or you can place colors/luna.vim anywhere in your runtimepath:
curl -LO https://codeberg.org/sailorfe/luna.nvim/raw/branch/main/extras/vim/luna.vimthen set colorscheme with colorscheme luna either in your vimrc or temporarily with a command:
" .vimrc
set background=dark
syntax on
colorscheme lunagit clone https://codeberg.org/sailorfe/luna.nvim
cd luna.nvimmake pull requests to codeberg.
- install lush and shipwright.
nvim lua/luna/lush.lua:Lushify- append new highlight groups to the bottom of the table
./build.sh lua
Warning
make sure you do not have luna installed from this repository while developing. point neovim or your plugin manager to your local clone or else shipwright will get lost.
theme generation is helped by the Makefile at project root.
- create
templates/$APP.*:- for hex codes prefixed with hashes (
#B27DE8), use[[key]]. examples:alacritty.toml,wezterm.toml. - for hex codes without hashes (
B27DE8), use{{key}}. examples:foot.ini,tty.conf.
- for hex codes prefixed with hashes (
- add the output path
$APP/luna.*to theoutputsdictionary inscripts/generator.py. - (optional) ensure
palette.jsonis up to date:make palette. - run the python script:
make generate.
- fairyfloss for inspiring this journey into colorschemes to begin with, and the low-contrast, magical girl vibes
- evangelion.nvim for weeb +
build.shinspiration - tokyonight.nvim for repository structure
