blob: 77508146773094ec7b1492b8518e1a85b151b91f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
(local colors {:bg "#202020"
:nvimbg "#151515"
:fg "#cbc0ab"
:white "#e8e8d3"
:black "#181818"
:black2 "#101010"
:bblack "#252525"
:dgrey "#333333"
:mgrey "#444444"
:grey2 "#666666"
:grey "#888888"
:bgrey "#999999"
:red "#cf6a4c"
:orange "#fabb6e"
:yellow "#fad07a"
:lyellow "#ffe2a9"
:green "#99ad6a"
:skyblue "#8fbfdc"
:blue "#8197bf"
:violet "#c6b6ee"
:magenta "#f0a0c0"})
(lambda colors.apply [colorscheme]
(local {: highlight} (require :nvrc.macro.color))
(vim.cmd (.. "colorscheme " colorscheme))
; Buffer
(highlight :EndOfBuffer {:fg (. colors :bg)})
(highlight :FloatBorder {:fg (. colors :blue)})
(highlight :NormalFloat {:bg (. colors :bblack)})
; Pmenu
(highlight :Pmenu {:bg (. colors :bblack)})
(highlight :PmenuSbar {:bg (. colors :bblack)})
(highlight :PmenuSel {:fg (. colors :orange) :bg (. colors :dgrey)})
(highlight :PmenuThumb {:bg (. colors :skyblue)})
(highlight :CmpItemAbbr {:fg (. colors :fg)})
(highlight :CmpItemAbbrMatch {:fg (. colors :fg)})
(highlight :CmpItemKind {:fg (. colors :fg)})
(highlight :CmpItemMenu {:fg (. colors :fg)})
; Misc
(highlight :StatusLine {:bg (. colors :black)})
(highlight :StatusLineNC {:fg (. colors :grey) :bg (. colors :black) :underline true})
(highlight :TabLine {:fg (. colors :fg) :bg (. colors :mgrey)})
(highlight :TabLineFill {:fg (. colors :fg) :bg (. colors :bg)})
(highlight :TabLineSel {:fg (. colors :fg) :bg (. colors :grey2)})
(highlight :LineNr {:fg (. colors :grey)})
(highlight :NvimInternalError {:fg (. colors :red)})
(highlight :VertSplit {:fg (. colors :grey2)})
; Gitdgreys
(highlight :DiffAdd {:fg (. colors :green) :bg (. colors :dgrey)})
(highlight :DiffChange {:fg (. colors :yellow) :bg (. colors :dgrey)})
(highlight :DiffChangeDelete {:fg (. colors :red) :bg (. colors :dgrey)})
(highlight :DiffModified {:fg (. colors :red) :bg (. colors :dgrey)})
(highlight :DiffDelete {:fg (. colors :red) :bg (. colors :dgrey)})
; Nvimtree
(highlight :NvimTreeNormal {:bg (. colors :black)})
(highlight :NvimTreeNormalNC {:bg (. colors :black)})
(highlight :NvimTreeStatuslineNC {:fg (. colors :black) :bg (. colors :black)})
(highlight :NvimTreeVertSplit {:fg (. colors :black) :bg (. colors :black)})
(highlight :NvimTreeWindowPicker {:fg (. colors :red) :bg (. colors :black2)})
(highlight :NvimTreeIndentMarker {:fg (. colors :grey)})
(highlight :NvimTreeGitDirty {:fg (. colors :red)})
(highlight :NvimTreeRootFolder {:fg (. colors :red) :underline true})
(highlight :NvimTreeEmptyFolderName {:fg (. colors :skyblue)})
(highlight :NvimTreeFolderIcon {:fg (. colors :skyblue)})
(highlight :NvimTreeFolderName {:fg (. colors :skyblue)})
(highlight :NvimTreeOpenedFolderName {:fg (. colors :magenta)})
(highlight :NvimTreeEndOfBuffer {:fg (. colors :black2)}))
colors
|