diff options
-rw-r--r-- | colors/off.vim | 61 |
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" } | |||
24 | let s:light_black = { "gui": "#424242", "cterm": "8" } | 24 | let s:light_black = { "gui": "#424242", "cterm": "8" } |
25 | let s:lighter_black = { "gui": "#545454", "cterm": "240" } | 25 | let s:lighter_black = { "gui": "#545454", "cterm": "240" } |
26 | let s:subtle_black = { "gui": "#303030", "cterm": "236" } | 26 | let s:subtle_black = { "gui": "#303030", "cterm": "236" } |
27 | let s:light_gray = { "gui": "#B2B2B2", "cterm": "249" } | 27 | let s:light_gray = { "gui": "#999999", "cterm": "249" } |
28 | let s:lighter_gray = { "gui": "#C6C6C6", "cterm": "251" } | 28 | let s:lighter_gray = { "gui": "#E1E1E1", "cterm": "251" } |
29 | let s:pink = { "gui": "#fb007a", "cterm": "9" } | 29 | let s:pink = { "gui": "#fb007a", "cterm": "9" } |
30 | let s:dark_red = { "gui": "#C30771", "cterm": "1" } | 30 | let s:dark_red = { "gui": "#C30771", "cterm": "1" } |
31 | let s:light_red = { "gui": "#E32791", "cterm": "1" } | 31 | let 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 |
57 | else | 57 | else |
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) | |||
80 | endfunction | 80 | endfunction |
81 | 81 | ||
82 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) | 82 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) |
83 | call s:h("Cursor", {"bg": s:blue, "fg": s:norm }) | 83 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) |
84 | call s:h("Comment", {"fg": s:bg_subtle, "gui": "italic"}) | 84 | call s:h("Cursor", {"bg": s:blue, "fg": s:norm}) |
85 | call 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}) |
87 | hi! link Constant Normal | 88 | call s:h("Constant", {"bg": s:bg, "fg": s:dark_blue}) |
88 | hi! link Character Constant | 89 | hi! link Character Constant |
89 | hi! link Number Constant | 90 | hi! link Number Constant |
90 | hi! link Boolean Constant | 91 | hi! link Boolean Constant |
@@ -95,18 +96,18 @@ hi! link String Constant | |||
95 | hi! link Identifier Normal | 96 | hi! link Identifier Normal |
96 | hi! link Function Identifier | 97 | hi! link Function Identifier |
97 | 98 | ||
98 | "call s:h("Statement", {"fg": s:green}) | 99 | "hi! link Statement Normal |
99 | hi! link Statement Normal | 100 | call s:h("Statement", {"bg": s:bg, "fg": s:norm, "gui": "bold"}) |
100 | hi! link Conditonal Statement | 101 | hi! link Conditonal Statement |
101 | hi! link Repeat Statement | 102 | hi! link Repeat Statement |
102 | hi! link Label Statement | 103 | hi! link Label Statement |
103 | hi! link Operator Statement | 104 | hi! link Operator Noise |
104 | hi! link Keyword Statement | 105 | hi! link Keyword Statement |
105 | hi! link Exception Statement | 106 | hi! link Exception Statement |
106 | 107 | ||
107 | "call s:h("PreProc", {"fg": s:red}) | 108 | "call s:h("PreProc", {"fg": s:red}) |
108 | hi! link PreProc Normal | 109 | hi! link PreProc Normal |
109 | hi! link Include PreProc | 110 | hi! link Include Statement |
110 | hi! link Define PreProc | 111 | hi! link Define PreProc |
111 | hi! link Macro PreProc | 112 | hi! link Macro PreProc |
112 | hi! link PreCondit PreProc | 113 | hi! link PreCondit PreProc |
@@ -127,14 +128,14 @@ hi! link Debug Special | |||
127 | 128 | ||
128 | call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) | 129 | call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) |
129 | call s:h("Ignore", {"fg": s:bg}) | 130 | call s:h("Ignore", {"fg": s:bg}) |
130 | call s:h("Error", {"fg": s:actual_white, "bg": s:red, "cterm": "bold"}) | 131 | call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) |
131 | call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) | 132 | call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) |
132 | call s:h("SpecialKey", {"fg": s:light_green}) | 133 | call s:h("SpecialKey", {"fg": s:light_green}) |
133 | call s:h("NonText", {"fg": s:medium_gray}) | 134 | call s:h("NonText", {"fg": s:medium_gray}) |
134 | call s:h("Directory", {"fg": s:dark_blue}) | 135 | call s:h("Directory", {"fg": s:dark_blue}) |
135 | call s:h("ErrorMsg", {"fg": s:pink}) | 136 | call s:h("ErrorMsg", {"fg": s:pink}) |
136 | call s:h("IncSearch", {"bg": s:yellow, "fg": s:light_black}) | 137 | call s:h("IncSearch", {"bg": s:yellow, "fg": s:light_black}) |
137 | call s:h("Search", {"bg": s:bg_subtle, "fg": s:norm}) | 138 | call s:h("Search", {"bg": s:yellow, "fg": s:light_black}) |
138 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) | 139 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) |
139 | hi! link ModeMsg MoreMsg | 140 | hi! link ModeMsg MoreMsg |
140 | call s:h("LineNr", {"fg": s:bg_subtle}) | 141 | call s:h("LineNr", {"fg": s:bg_subtle}) |
@@ -147,7 +148,7 @@ call s:h("Title", {"fg": s:dark_blue}) | |||
147 | call s:h("Visual", {"bg": s:visual}) | 148 | call s:h("Visual", {"bg": s:visual}) |
148 | call s:h("VisualNOS", {"bg": s:bg_subtle}) | 149 | call s:h("VisualNOS", {"bg": s:bg_subtle}) |
149 | call s:h("WarningMsg", {"fg": s:red}) | 150 | call s:h("WarningMsg", {"fg": s:red}) |
150 | call s:h("WildMenu", {"fg": s:bg, "bg": s:norm}) | 151 | call s:h("WildMenu", {"fg": s:black, "bg": s:bg_very_subtle}) |
151 | call s:h("Folded", {"fg": s:medium_gray}) | 152 | call s:h("Folded", {"fg": s:medium_gray}) |
152 | call s:h("FoldColumn", {"fg": s:bg_subtle}) | 153 | call s:h("FoldColumn", {"fg": s:bg_subtle}) |
153 | call s:h("DiffAdd", {"fg": s:green}) | 154 | call 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}) |
169 | endif | 170 | endif |
170 | 171 | ||
171 | call s:h("Pmenu", {"fg": s:norm, "bg": s:bg_subtle}) | 172 | call s:h("Pmenu", {"fg": s:norm, "bg": s:lighter_gray}) |
172 | call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) | 173 | call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) |
173 | call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) | 174 | call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) |
174 | call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) | 175 | call 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}) | |||
176 | call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) | 177 | call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) |
177 | call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) | 178 | call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) |
178 | call s:h("CursorColumn", {"bg": s:bg_very_subtle}) | 179 | call s:h("CursorColumn", {"bg": s:bg_very_subtle}) |
179 | call s:h("CursorLine", {"fg": s:norm, "bg": s:bg_very_subtle}) | 180 | call s:h("CursorLine", {"bg": s:lighter_gray}) |
180 | call s:h("ColorColumn", {"bg": s:bg_subtle}) | 181 | call s:h("ColorColumn", {"bg": s:bg_subtle}) |
181 | 182 | ||
182 | call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm}) | 183 | call s:h("MatchParen", {"bg": s:lighter_gray, "fg": s:norm}) |
183 | call s:h("qfLineNr", {"fg": s:medium_gray}) | 184 | call s:h("qfLineNr", {"fg": s:medium_gray}) |
184 | 185 | ||
185 | call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) | 186 | call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) |
@@ -200,3 +201,27 @@ hi link GitGutterAdd LineNr | |||
200 | hi link GitGutterDelete LineNr | 201 | hi link GitGutterDelete LineNr |
201 | hi link GitGutterChange LineNr | 202 | hi link GitGutterChange LineNr |
202 | hi link GitGutterChangeDelete LineNr | 203 | hi link GitGutterChangeDelete LineNr |
204 | |||
205 | hi link jsFlowTypeKeyword Statement | ||
206 | hi link jsFlowImportType Statement | ||
207 | hi link jsFunction Statement | ||
208 | hi link jsGlobalObjects Normal | ||
209 | hi link jsGlobalNodeObjects Normal | ||
210 | hi link jsArrowFunction Noise | ||
211 | hi link StorageClass Statement | ||
212 | |||
213 | call s:h("xmlTag", {"bg": s:bg, "fg": s:dark_blue, "gui": "italic"}) | ||
214 | hi link xmlTagName xmlTag | ||
215 | hi link xmlEndTag xmlTag | ||
216 | hi link xmlAttrib xmlTag | ||
217 | |||
218 | hi link markdownH1 Statement | ||
219 | hi link markdownH2 Statement | ||
220 | hi link markdownH3 Statement | ||
221 | hi link markdownH4 Statement | ||
222 | hi link markdownH5 Statement | ||
223 | hi link markdownH6 Statement | ||
224 | hi link markdownListMarker Statement | ||
225 | hi link markdownCode Statement | ||
226 | hi link markdownCodeDelimiter Statement | ||
227 | hi link markdownHeadingDelimiter Statement | ||