diff options
-rw-r--r-- | colors/off.vim | 35 |
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 | ||
18 | let g:colors_name='off' | 18 | let g:colors_name='off' |
19 | 19 | ||
20 | let s:black = { "gui": "#212121", "cterm": "0" } | 20 | let s:black = { "gui": "#121212", "cterm": "0" } |
21 | let s:medium_gray = { "gui": "#767676", "cterm": "243" } | 21 | let s:medium_gray = { "gui": "#767676", "cterm": "243" } |
22 | let s:white = { "gui": "#F1F1F1", "cterm": "15" } | 22 | let s:white = { "gui": "#F1F1F1", "cterm": "15" } |
23 | let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" } | 23 | let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" } |
@@ -40,7 +40,7 @@ let s:dark_green = { "gui": "#10A778", "cterm": "2" } | |||
40 | let s:light_green = { "gui": "#5FD7A7", "cterm": "10" } | 40 | let s:light_green = { "gui": "#5FD7A7", "cterm": "10" } |
41 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } | 41 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } |
42 | let s:light_purple = { "gui": "#6855DE", "cterm": "13" } | 42 | let s:light_purple = { "gui": "#6855DE", "cterm": "13" } |
43 | let s:yellow = { "gui": "#F3E430", "cterm": "11" } | 43 | let s:light_yellow = { "gui": "#F3E430", "cterm": "11" } |
44 | let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } | 44 | let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } |
45 | 45 | ||
46 | if &background == "dark" | 46 | if &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 | ||
57 | else | 62 | else |
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 | ||
68 | endif | 78 | endif |
69 | 79 | ||
70 | " https://github.com/noahfrederick/vim-hemisu/ | 80 | " https://github.com/noahfrederick/vim-hemisu/ |
@@ -82,10 +92,9 @@ endfunction | |||
82 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) | 92 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) |
83 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) | 93 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) |
84 | call s:h("Cursor", {"bg": s:blue, "fg": s:norm}) | 94 | call s:h("Cursor", {"bg": s:blue, "fg": s:norm}) |
85 | call s:h("Comment", {"fg": s:bg_very_subtle, "gui": "italic"}) | 95 | call s:h("Comment", {"fg": s:comment, "gui": "italic"}) |
86 | 96 | ||
87 | "call s:h("Constant", {"fg": s:cyan}) | 97 | call s:h("Constant", {"bg": s:bg, "fg": s:constant}) |
88 | call s:h("Constant", {"bg": s:bg, "fg": s:dark_blue}) | ||
89 | hi! link Character Constant | 98 | hi! link Character Constant |
90 | hi! link Number Constant | 99 | hi! link Number Constant |
91 | hi! link Boolean Constant | 100 | hi! link Boolean Constant |
@@ -141,8 +150,6 @@ hi! link ModeMsg MoreMsg | |||
141 | call s:h("LineNr", {"fg": s:bg_subtle}) | 150 | call s:h("LineNr", {"fg": s:bg_subtle}) |
142 | call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle}) | 151 | call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle}) |
143 | call s:h("Question", {"fg": s:red}) | 152 | call s:h("Question", {"fg": s:red}) |
144 | call s:h("StatusLine", {"bg": s:bg_very_subtle}) | ||
145 | call s:h("StatusLineNC", {"bg": s:bg_very_subtle, "fg": s:medium_gray}) | ||
146 | call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) | 153 | call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) |
147 | call s:h("Title", {"fg": s:dark_blue}) | 154 | call s:h("Title", {"fg": s:dark_blue}) |
148 | call s:h("Visual", {"bg": s:visual}) | 155 | call 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}) |
170 | endif | 177 | endif |
171 | 178 | ||
172 | call s:h("Pmenu", {"fg": s:norm, "bg": s:lighter_gray}) | 179 | call s:h("StatusLine", {"gui": "underline", "bg": s:bg, "fg": s:light_gray}) |
180 | call s:h("StatusLineOk", {"gui": "underline", "bg": s:bg, "fg": s:green}) | ||
181 | call s:h("StatusLineError", {"gui": "underline", "bg": s:bg, "fg": s:pink}) | ||
182 | call s:h("StatusLineWarning", {"gui": "underline", "bg": s:bg, "fg": s:dark_yellow}) | ||
183 | call s:h("StatusLineNC", {"gui": "underline", "bg": s:bg, "fg": s:light_black}) | ||
184 | |||
185 | call s:h("Pmenu", {"fg": s:norm, "bg": s:cursor_line}) | ||
173 | call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) | 186 | call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue}) |
174 | call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) | 187 | call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle}) |
175 | call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle}) | 188 | call 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}) | |||
177 | call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) | 190 | call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"}) |
178 | call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) | 191 | call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle}) |
179 | call s:h("CursorColumn", {"bg": s:bg_very_subtle}) | 192 | call s:h("CursorColumn", {"bg": s:bg_very_subtle}) |
180 | call s:h("CursorLine", {"bg": s:lighter_gray}) | 193 | call s:h("CursorLine", {"bg": s:cursor_line}) |
181 | call s:h("ColorColumn", {"bg": s:bg_subtle}) | 194 | call s:h("ColorColumn", {"bg": s:bg_subtle}) |
182 | 195 | ||
183 | call s:h("MatchParen", {"bg": s:lighter_gray, "fg": s:norm}) | 196 | call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm}) |
184 | call s:h("qfLineNr", {"fg": s:medium_gray}) | 197 | call s:h("qfLineNr", {"fg": s:medium_gray}) |
185 | 198 | ||
186 | call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) | 199 | call s:h("htmlH1", {"bg": s:bg, "fg": s:norm}) |