aboutsummaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-09-13 18:15:27 +0100
committerNerdyPepper <[email protected]>2019-09-13 18:15:27 +0100
commit5b261052b435db343e9b09f286805c293402e3b8 (patch)
tree62e3873dc730a350ce070b716dff858909586d6b /colors
parent4a68b533cfe5e46c627d4c95885b2074fe661c62 (diff)
add duotonic scheme
Diffstat (limited to 'colors')
-rw-r--r--colors/plain.vim54
1 files changed, 44 insertions, 10 deletions
diff --git a/colors/plain.vim b/colors/plain.vim
index 8077693..1f7209d 100644
--- a/colors/plain.vim
+++ b/colors/plain.vim
@@ -40,8 +40,8 @@ let s:blue = { "gui": "#20BBFC", "cterm": "4" }
40let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" } 40let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" }
41let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } 41let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" }
42let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" } 42let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" }
43let s:dark_green = { "gui": "#10A778", "cterm": "2" } 43let s:dark_green = { "gui": "#10A778", "cterm": "6" }
44let s:light_green = { "gui": "#5FD7A7", "cterm": "2" } 44let s:light_green = { "gui": "#5FD7A7", "cterm": "6" }
45let s:dark_purple = { "gui": "#523C79", "cterm": "5" } 45let s:dark_purple = { "gui": "#523C79", "cterm": "5" }
46let s:light_purple = { "gui": "#6855DE", "cterm": "5" } 46let s:light_purple = { "gui": "#6855DE", "cterm": "5" }
47let s:light_yellow = { "gui": "#F3E430", "cterm": "3" } 47let s:light_yellow = { "gui": "#F3E430", "cterm": "3" }
@@ -99,7 +99,7 @@ function! s:h(group, style)
99 \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") 99 \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE")
100endfunction 100endfunction
101 101
102call s:h("Normal", {"bg": s:bg, "fg": s:norm}) 102call s:h("Normal", {"bg": s:bg, "fg": s:norm,})
103call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) 103call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle})
104call s:h("Cursor", {"bg": s:green, "fg": s:norm}) 104call s:h("Cursor", {"bg": s:green, "fg": s:norm})
105call s:h("Comment", {"fg": s:comment, "cterm": "italic"}) 105call s:h("Comment", {"fg": s:comment, "cterm": "italic"})
@@ -150,7 +150,7 @@ hi! link Conceal NonText
150call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) 150call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"})
151call s:h("Ignore", {"fg": s:bg}) 151call s:h("Ignore", {"fg": s:bg})
152call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) 152call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"})
153call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) 153call s:h("Todo", {"fg": s:actual_white, "bg": s:black, "gui": "bold", "cterm": "bold"})
154call s:h("SpecialKey", {"fg": s:subtle_black}) 154call s:h("SpecialKey", {"fg": s:subtle_black})
155call s:h("NonText", {"fg": s:bg_very_subtle}) 155call s:h("NonText", {"fg": s:bg_very_subtle})
156call s:h("Directory", {"fg": s:dark_green}) 156call s:h("Directory", {"fg": s:dark_green})
@@ -159,7 +159,7 @@ call s:h("IncSearch", {"bg": s:selection, "fg": s:black})
159call s:h("Search", {"bg": s:selection, "fg": s:black}) 159call s:h("Search", {"bg": s:selection, "fg": s:black})
160call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) 160call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"})
161hi! link ModeMsg MoreMsg 161hi! link ModeMsg MoreMsg
162call s:h("LineNr", {"fg": s:light_black}) 162call s:h("LineNr", {"fg": s:medium_gray})
163call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle}) 163call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle})
164call s:h("Question", {"fg": s:red}) 164call s:h("Question", {"fg": s:red})
165call s:h("VertSplit", {"bg": s:bg, "fg": s:bg_very_subtle}) 165call s:h("VertSplit", {"bg": s:bg, "fg": s:bg_very_subtle})
@@ -174,7 +174,7 @@ call s:h("DiffAdd", {"fg": s:green})
174call s:h("DiffDelete", {"fg": s:red}) 174call s:h("DiffDelete", {"fg": s:red})
175call s:h("DiffChange", {"fg": s:dark_yellow}) 175call s:h("DiffChange", {"fg": s:dark_yellow})
176call s:h("DiffText", {"fg": s:dark_green}) 176call s:h("DiffText", {"fg": s:dark_green})
177call s:h("SignColumn", {"fg": s:light_green}) 177call s:h("SignColumn", {"fg": s:medium_gray})
178 178
179if has("gui_running") 179if has("gui_running")
180 call s:h("SpellBad", {"gui": "underline", "sp": s:red}) 180 call s:h("SpellBad", {"gui": "underline", "sp": s:red})
@@ -195,7 +195,7 @@ hi link helpHyperTextJump String
195""" StatusLine 195""" StatusLine
196 196
197call s:h("StatusLine", {"bg": s:bg, "fg": s:status_line}) 197call s:h("StatusLine", {"bg": s:bg, "fg": s:status_line})
198call s:h("StatusLineNC", {"cterm": "underline", "bg": s:bg, "fg": s:status_line_nc}) 198call s:h("StatusLineNC", {"bg": s:bg, "fg": s:status_line_nc})
199 199
200" Those are not standard but are useful to emphasis different parts of the 200" Those are not standard but are useful to emphasis different parts of the
201" status line. 201" status line.
@@ -224,6 +224,20 @@ call s:h("htmlH4", {"bg": s:bg, "fg": s:norm})
224call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) 224call s:h("htmlH5", {"bg": s:bg, "fg": s:norm})
225call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) 225call s:h("htmlH6", {"bg": s:bg, "fg": s:norm})
226 226
227call s:h("htmlBold", {"bg": s:bg, "fg": s:norm})
228call s:h("htmlItalic", {"bg": s:bg, "fg": s:norm})
229call s:h("htmlEndTag", {"bg": s:bg, "fg": s:norm})
230call s:h("htmlTag", {"bg": s:bg, "fg": s:norm})
231call s:h("htmlTagName", {"bg": s:bg, "fg": s:norm})
232call s:h("htmlArg", {"bg": s:bg, "fg": s:norm})
233call s:h("htmlError", {"bg": s:bg, "fg": s:red})
234
235" JavaScript highlighting
236"
237call s:h("javaScript", {"bg": s:bg, "fg": s:norm})
238call s:h("javaScriptBraces", {"bg": s:bg, "fg": s:norm})
239call s:h("javaScriptNumber", {"bg": s:bg, "fg": s:green})
240
227hi link diffRemoved DiffDelete 241hi link diffRemoved DiffDelete
228hi link diffAdded DiffAdd 242hi link diffAdded DiffAdd
229 243
@@ -238,10 +252,27 @@ hi link GitGutterChangeDelete LineNr
238 252
239hi link jsFlowTypeKeyword Statement 253hi link jsFlowTypeKeyword Statement
240hi link jsFlowImportType Statement 254hi link jsFlowImportType Statement
241hi link jsFunction Statement 255hi link jsFunction Function
242hi link jsGlobalObjects Normal 256hi link jsGlobalObjects Noise
243hi link jsGlobalNodeObjects Normal 257hi link jsGlobalNodeObjects Normal
244hi link jsArrowFunction Noise 258hi link jsSwitchCase Constant
259
260call s:h("jsSpreadOperator ", {"bg": s:bg, "fg": s:selection})
261hi link jsReturn jsSpreadOperator
262hi link jsExport jsSpreadOperator
263
264call s:h("rustModPath ", {"bg": s:bg, "fg": s:lightest_gray})
265hi link rustMacro jsSpreadOperator
266hi link rustKeyword Noise
267hi link rustDerive jsSpreadOperator
268hi link rustDeriveTrait jsSpreadOperator
269hi link rustAttribute jsSpreadOperator
270hi link rustLifetime jsSpreadOperator
271
272hi link shCommandSub jsSpreadOperator
273
274hi link cFormat jsSpreadOperator
275
245hi link StorageClass Statement 276hi link StorageClass Statement
246 277
247call s:h("xmlTag", {"bg": s:bg, "fg": s:constant}) 278call s:h("xmlTag", {"bg": s:bg, "fg": s:constant})
@@ -261,3 +292,6 @@ hi link markdownCodeBlock Constant
261hi link markdownCodeDelimiter Constant 292hi link markdownCodeDelimiter Constant
262hi link markdownHeadingDelimiter Constant 293hi link markdownHeadingDelimiter Constant
263 294
295call s:h("cssBraces", {"bg": s:bg, "fg": s:selection})
296hi link cssTextProp Noise
297hi link cssTagName Normal