nix/config/nvim/colors/noctis.lua

49 lines
1.1 KiB
Lua

-- Noctis palette (original)
-- Source: https://github.com/liviuschera/noctis
local palette = {
-- UI backgrounds
bg = '#052529',
bg_dark = '#041d20',
bg_darker = '#03191b',
bg_float = '#083d44',
bg_highlight = '#0a4a52',
bg_visual = '#169fb1',
-- Diff backgrounds
diff_add = '#16b67327',
diff_delete = '#e6653341',
diff_change = '#169fb133',
-- Foreground
fg = '#b2cacd',
fg_dark = '#a5b5b5',
fg_gutter = '#4e6b6e',
-- Syntax colors (from tokenColors)
comment = '#5b858b',
keyword = '#df769b',
tag = '#e66533',
variable = '#e4b781',
string = '#49e9a6',
string_escape = '#16b673',
number = '#7060eb',
func = '#16a3b6',
type = '#d67e5c',
constant = '#d5971a',
support = '#49d6e9',
misc = '#49ace9',
error = '#e34e1c',
warning = '#ffa857',
info = '#49ace9',
hint = '#16b673',
-- UI accents
border = '#083d44',
cursor = '#85efff',
search = '#49e9a6',
match = '#e4b781',
}
-- Fix diff backgrounds (remove alpha, blend with bg)
palette.diff_add = '#1a3328'
palette.diff_delete = '#3d2a2a'
palette.diff_change = '#153a5b'
require('raytheme').load(palette, 'noctis')