aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Popp <[email protected]>2018-04-27 20:02:37 +0100
committerAndrey Popp <[email protected]>2018-04-27 20:02:37 +0100
commit2532928143bc3a8ff8a06f1c10cc1b1396e59353 (patch)
treef2f647e31bd62651f2903730789b6a37845c9113
parentbdb471e8a3823648e983d015ce68df456dcd2b99 (diff)
Add colors back a bit
-rw-r--r--colors/off.vim61
1 files changed, 43 insertions, 18 deletions
diff --git a/colors/off.vim b/colors/off.vim
index 142bbb5..d912625 100644
--- a/colors/off.vim
+++ b/colors/off.vim
@@ -24,8 +24,8 @@ let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" }
24let s:light_black = { "gui": "#424242", "cterm": "8" } 24let s:light_black = { "gui": "#424242", "cterm": "8" }
25let s:lighter_black = { "gui": "#545454", "cterm": "240" } 25let s:lighter_black = { "gui": "#545454", "cterm": "240" }
26let s:subtle_black = { "gui": "#303030", "cterm": "236" } 26let s:subtle_black = { "gui": "#303030", "cterm": "236" }
27let s:light_gray = { "gui": "#B2B2B2", "cterm": "249" } 27let s:light_gray = { "gui": "#999999", "cterm": "249" }
28let s:lighter_gray = { "gui": "#C6C6C6", "cterm": "251" } 28let s:lighter_gray = { "gui": "#E1E1E1", "cterm": "251" }
29let s:pink = { "gui": "#fb007a", "cterm": "9" } 29let s:pink = { "gui": "#fb007a", "cterm": "9" }
30let s:dark_red = { "gui": "#C30771", "cterm": "1" } 30let s:dark_red = { "gui": "#C30771", "cterm": "1" }
31let s:light_red = { "gui": "#E32791", "cterm": "1" } 31let s:light_red = { "gui": "#E32791", "cterm": "1" }
@@ -55,9 +55,9 @@ if &background == "dark"
55 let s:red = s:light_red 55 let s:red = s:light_red
56 let s:visual = s:lighter_black 56 let s:visual = s:lighter_black
57else 57else
58 let s:bg = s:actual_white 58 let s:bg = s:white
59 let s:bg_subtle = s:light_gray 59 let s:bg_subtle = s:light_black
60 let s:bg_very_subtle = s:lighter_gray 60 let s:bg_very_subtle = s:light_gray
61 let s:norm = s:light_black 61 let s:norm = s:light_black
62 let s:norm_subtle = s:lighter_black 62 let s:norm_subtle = s:lighter_black
63 let s:purple = s:dark_purple 63 let s:purple = s:dark_purple
@@ -80,11 +80,12 @@ function! s:h(group, style)
80endfunction 80endfunction
81 81
82call s:h("Normal", {"bg": s:bg, "fg": s:norm}) 82call s:h("Normal", {"bg": s:bg, "fg": s:norm})
83call s:h("Cursor", {"bg": s:blue, "fg": s:norm }) 83call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle})
84call s:h("Comment", {"fg": s:bg_subtle, "gui": "italic"}) 84call s:h("Cursor", {"bg": s:blue, "fg": s:norm})
85call s:h("Comment", {"fg": s:bg_very_subtle, "gui": "italic"})
85 86
86"call s:h("Constant", {"fg": s:cyan}) 87"call s:h("Constant", {"fg": s:cyan})
87hi! link Constant Normal 88call s:h("Constant", {"bg": s:bg, "fg": s:dark_blue})
88hi! link Character Constant 89hi! link Character Constant
89hi! link Number Constant 90hi! link Number Constant
90hi! link Boolean Constant 91hi! link Boolean Constant
@@ -95,18 +96,18 @@ hi! link String Constant
95hi! link Identifier Normal 96hi! link Identifier Normal
96hi! link Function Identifier 97hi! link Function Identifier
97 98
98"call s:h("Statement", {"fg": s:green}) 99"hi! link Statement Normal
99hi! link Statement Normal 100call s:h("Statement", {"bg": s:bg, "fg": s:norm, "gui": "bold"})
100hi! link Conditonal Statement 101hi! link Conditonal Statement
101hi! link Repeat Statement 102hi! link Repeat Statement
102hi! link Label Statement 103hi! link Label Statement
103hi! link Operator Statement 104hi! link Operator Noise
104hi! link Keyword Statement 105hi! link Keyword Statement
105hi! link Exception Statement 106hi! link Exception Statement
106 107
107"call s:h("PreProc", {"fg": s:red}) 108"call s:h("PreProc", {"fg": s:red})
108hi! link PreProc Normal 109hi! link PreProc Normal
109hi! link Include PreProc 110hi! link Include Statement
110hi! link Define PreProc 111hi! link Define PreProc
111hi! link Macro PreProc 112hi! link Macro PreProc
112hi! link PreCondit PreProc 113hi! link PreCondit PreProc
@@ -127,14 +128,14 @@ hi! link Debug Special
127 128
128call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) 129call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"})
129call s:h("Ignore", {"fg": s:bg}) 130call s:h("Ignore", {"fg": s:bg})
130call s:h("Error", {"fg": s:actual_white, "bg": s:red, "cterm": "bold"}) 131call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"})
131call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) 132call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"})
132call s:h("SpecialKey", {"fg": s:light_green}) 133call s:h("SpecialKey", {"fg": s:light_green})
133call s:h("NonText", {"fg": s:medium_gray}) 134call s:h("NonText", {"fg": s:medium_gray})
134call s:h("Directory", {"fg": s:dark_blue}) 135call s:h("Directory", {"fg": s:dark_blue})
135call s:h("ErrorMsg", {"fg": s:pink}) 136call s:h("ErrorMsg", {"fg": s:pink})
136call s:h("IncSearch", {"bg": s:yellow, "fg": s:light_black}) 137call s:h("IncSearch", {"bg": s:yellow, "fg": s:light_black})
137call s:h("Search", {"bg": s:bg_subtle, "fg": s:norm}) 138call s:h("Search", {"bg": s:yellow, "fg": s:light_black})
138call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) 139call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"})
139hi! link ModeMsg MoreMsg 140hi! link ModeMsg MoreMsg
140call s:h("LineNr", {"fg": s:bg_subtle}) 141call s:h("LineNr", {"fg": s:bg_subtle})
@@ -147,7 +148,7 @@ call s:h("Title", {"fg": s:dark_blue})
147call s:h("Visual", {"bg": s:visual}) 148call s:h("Visual", {"bg": s:visual})
148call s:h("VisualNOS", {"bg": s:bg_subtle}) 149call s:h("VisualNOS", {"bg": s:bg_subtle})
149call s:h("WarningMsg", {"fg": s:red}) 150call s:h("WarningMsg", {"fg": s:red})
150call s:h("WildMenu", {"fg": s:bg, "bg": s:norm}) 151call s:h("WildMenu", {"fg": s:black, "bg": s:bg_very_subtle})
151call s:h("Folded", {"fg": s:medium_gray}) 152call s:h("Folded", {"fg": s:medium_gray})
152call s:h("FoldColumn", {"fg": s:bg_subtle}) 153call s:h("FoldColumn", {"fg": s:bg_subtle})
153call s:h("DiffAdd", {"fg": s:green}) 154call s:h("DiffAdd", {"fg": s:green})
@@ -168,7 +169,7 @@ else
168 call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green}) 169 call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green})
169endif 170endif
170 171
171call s:h("Pmenu", {"fg": s:norm, "bg": s:bg_subtle}) 172call s:h("Pmenu", {"fg": s:norm, "bg": s:lighter_gray})
172call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) 173call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue})
173call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) 174call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle})
174call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) 175call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle})
@@ -176,10 +177,10 @@ call s:h("TabLine", {"fg": s:norm, "bg": s:bg_very_subtle})
176call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) 177call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"})
177call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) 178call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle})
178call s:h("CursorColumn", {"bg": s:bg_very_subtle}) 179call s:h("CursorColumn", {"bg": s:bg_very_subtle})
179call s:h("CursorLine", {"fg": s:norm, "bg": s:bg_very_subtle}) 180call s:h("CursorLine", {"bg": s:lighter_gray})
180call s:h("ColorColumn", {"bg": s:bg_subtle}) 181call s:h("ColorColumn", {"bg": s:bg_subtle})
181 182
182call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm}) 183call s:h("MatchParen", {"bg": s:lighter_gray, "fg": s:norm})
183call s:h("qfLineNr", {"fg": s:medium_gray}) 184call s:h("qfLineNr", {"fg": s:medium_gray})
184 185
185call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) 186call s:h("htmlH1", {"bg": s:bg, "fg": s:norm})
@@ -200,3 +201,27 @@ hi link GitGutterAdd LineNr
200hi link GitGutterDelete LineNr 201hi link GitGutterDelete LineNr
201hi link GitGutterChange LineNr 202hi link GitGutterChange LineNr
202hi link GitGutterChangeDelete LineNr 203hi link GitGutterChangeDelete LineNr
204
205hi link jsFlowTypeKeyword Statement
206hi link jsFlowImportType Statement
207hi link jsFunction Statement
208hi link jsGlobalObjects Normal
209hi link jsGlobalNodeObjects Normal
210hi link jsArrowFunction Noise
211hi link StorageClass Statement
212
213call s:h("xmlTag", {"bg": s:bg, "fg": s:dark_blue, "gui": "italic"})
214hi link xmlTagName xmlTag
215hi link xmlEndTag xmlTag
216hi link xmlAttrib xmlTag
217
218hi link markdownH1 Statement
219hi link markdownH2 Statement
220hi link markdownH3 Statement
221hi link markdownH4 Statement
222hi link markdownH5 Statement
223hi link markdownH6 Statement
224hi link markdownListMarker Statement
225hi link markdownCode Statement
226hi link markdownCodeDelimiter Statement
227hi link markdownHeadingDelimiter Statement