aboutsummaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorAndrey Popp <[email protected]>2018-05-01 21:00:02 +0100
committerAndrey Popp <[email protected]>2018-05-01 21:00:02 +0100
commit58d865bd4d67c41562ed3cd6470c976b45c6581b (patch)
tree6e658f1215482d444081205bd0e892d95b0a60f9 /colors
parent2532928143bc3a8ff8a06f1c10cc1b1396e59353 (diff)
Fixes for dark variant
Diffstat (limited to 'colors')
-rw-r--r--colors/off.vim35
1 files changed, 24 insertions, 11 deletions
diff --git a/colors/off.vim b/colors/off.vim
index d912625..fce8d45 100644
--- a/colors/off.vim
+++ b/colors/off.vim
@@ -17,7 +17,7 @@ endif
17 17
18let g:colors_name='off' 18let g:colors_name='off'
19 19
20let s:black = { "gui": "#212121", "cterm": "0" } 20let s:black = { "gui": "#121212", "cterm": "0" }
21let s:medium_gray = { "gui": "#767676", "cterm": "243" } 21let s:medium_gray = { "gui": "#767676", "cterm": "243" }
22let s:white = { "gui": "#F1F1F1", "cterm": "15" } 22let s:white = { "gui": "#F1F1F1", "cterm": "15" }
23let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" } 23let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" }
@@ -40,7 +40,7 @@ let s:dark_green = { "gui": "#10A778", "cterm": "2" }
40let s:light_green = { "gui": "#5FD7A7", "cterm": "10" } 40let s:light_green = { "gui": "#5FD7A7", "cterm": "10" }
41let s:dark_purple = { "gui": "#523C79", "cterm": "5" } 41let s:dark_purple = { "gui": "#523C79", "cterm": "5" }
42let s:light_purple = { "gui": "#6855DE", "cterm": "13" } 42let s:light_purple = { "gui": "#6855DE", "cterm": "13" }
43let s:yellow = { "gui": "#F3E430", "cterm": "11" } 43let s:light_yellow = { "gui": "#F3E430", "cterm": "11" }
44let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } 44let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" }
45 45
46if &background == "dark" 46if &background == "dark"
@@ -53,10 +53,15 @@ if &background == "dark"
53 let s:cyan = s:light_cyan 53 let s:cyan = s:light_cyan
54 let s:green = s:light_green 54 let s:green = s:light_green
55 let s:red = s:light_red 55 let s:red = s:light_red
56 let s:yellow = s:light_yellow
56 let s:visual = s:lighter_black 57 let s:visual = s:lighter_black
58 let s:cursor_line = s:light_black
59 let s:status_line = s:light_black
60 let s:constant = s:light_blue
61 let s:comment = s:light_gray
57else 62else
58 let s:bg = s:white 63 let s:bg = s:white
59 let s:bg_subtle = s:light_black 64 let s:bg_subtle = s:lighter_gray
60 let s:bg_very_subtle = s:light_gray 65 let s:bg_very_subtle = s:light_gray
61 let s:norm = s:light_black 66 let s:norm = s:light_black
62 let s:norm_subtle = s:lighter_black 67 let s:norm_subtle = s:lighter_black
@@ -64,7 +69,12 @@ else
64 let s:cyan = s:dark_cyan 69 let s:cyan = s:dark_cyan
65 let s:green = s:dark_green 70 let s:green = s:dark_green
66 let s:red = s:dark_red 71 let s:red = s:dark_red
72 let s:yellow = s:dark_yellow
67 let s:visual = s:light_blue 73 let s:visual = s:light_blue
74 let s:cursor_line = s:lighter_gray
75 let s:status_line = s:lighter_gray
76 let s:constant = s:dark_blue
77 let s:comment = s:light_gray
68endif 78endif
69 79
70" https://github.com/noahfrederick/vim-hemisu/ 80" https://github.com/noahfrederick/vim-hemisu/
@@ -82,10 +92,9 @@ endfunction
82call s:h("Normal", {"bg": s:bg, "fg": s:norm}) 92call s:h("Normal", {"bg": s:bg, "fg": s:norm})
83call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) 93call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle})
84call s:h("Cursor", {"bg": s:blue, "fg": s:norm}) 94call s:h("Cursor", {"bg": s:blue, "fg": s:norm})
85call s:h("Comment", {"fg": s:bg_very_subtle, "gui": "italic"}) 95call s:h("Comment", {"fg": s:comment, "gui": "italic"})
86 96
87"call s:h("Constant", {"fg": s:cyan}) 97call s:h("Constant", {"bg": s:bg, "fg": s:constant})
88call s:h("Constant", {"bg": s:bg, "fg": s:dark_blue})
89hi! link Character Constant 98hi! link Character Constant
90hi! link Number Constant 99hi! link Number Constant
91hi! link Boolean Constant 100hi! link Boolean Constant
@@ -141,8 +150,6 @@ hi! link ModeMsg MoreMsg
141call s:h("LineNr", {"fg": s:bg_subtle}) 150call s:h("LineNr", {"fg": s:bg_subtle})
142call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle}) 151call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle})
143call s:h("Question", {"fg": s:red}) 152call s:h("Question", {"fg": s:red})
144call s:h("StatusLine", {"bg": s:bg_very_subtle})
145call s:h("StatusLineNC", {"bg": s:bg_very_subtle, "fg": s:medium_gray})
146call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) 153call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle})
147call s:h("Title", {"fg": s:dark_blue}) 154call s:h("Title", {"fg": s:dark_blue})
148call s:h("Visual", {"bg": s:visual}) 155call s:h("Visual", {"bg": s:visual})
@@ -169,7 +176,13 @@ else
169 call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green}) 176 call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green})
170endif 177endif
171 178
172call s:h("Pmenu", {"fg": s:norm, "bg": s:lighter_gray}) 179call s:h("StatusLine", {"gui": "underline", "bg": s:bg, "fg": s:light_gray})
180call s:h("StatusLineOk", {"gui": "underline", "bg": s:bg, "fg": s:green})
181call s:h("StatusLineError", {"gui": "underline", "bg": s:bg, "fg": s:pink})
182call s:h("StatusLineWarning", {"gui": "underline", "bg": s:bg, "fg": s:dark_yellow})
183call s:h("StatusLineNC", {"gui": "underline", "bg": s:bg, "fg": s:light_black})
184
185call s:h("Pmenu", {"fg": s:norm, "bg": s:cursor_line})
173call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) 186call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue})
174call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) 187call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle})
175call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) 188call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle})
@@ -177,10 +190,10 @@ call s:h("TabLine", {"fg": s:norm, "bg": s:bg_very_subtle})
177call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) 190call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"})
178call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) 191call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle})
179call s:h("CursorColumn", {"bg": s:bg_very_subtle}) 192call s:h("CursorColumn", {"bg": s:bg_very_subtle})
180call s:h("CursorLine", {"bg": s:lighter_gray}) 193call s:h("CursorLine", {"bg": s:cursor_line})
181call s:h("ColorColumn", {"bg": s:bg_subtle}) 194call s:h("ColorColumn", {"bg": s:bg_subtle})
182 195
183call s:h("MatchParen", {"bg": s:lighter_gray, "fg": s:norm}) 196call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm})
184call s:h("qfLineNr", {"fg": s:medium_gray}) 197call s:h("qfLineNr", {"fg": s:medium_gray})
185 198
186call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) 199call s:h("htmlH1", {"bg": s:bg, "fg": s:norm})