diff options
author | NerdyPepper <[email protected]> | 2018-06-09 07:16:20 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2018-06-09 07:16:20 +0100 |
commit | 45b7758c7346118b227ac98ea68869134987e205 (patch) | |
tree | 16a07f64dc6b4c10d6760cd8b7965bb917907f8a | |
parent | 4de29bec1acae5f97e1a5b243e38fafa47f1a34a (diff) |
Adapt to base 16
-rw-r--r-- | colors/plain.vim | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/colors/plain.vim b/colors/plain.vim index 945ceaa..3731738 100644 --- a/colors/plain.vim +++ b/colors/plain.vim | |||
@@ -21,30 +21,30 @@ endif | |||
21 | let g:colors_name='plain' | 21 | let g:colors_name='plain' |
22 | 22 | ||
23 | let s:black = { "gui": "#222222", "cterm": "0" } | 23 | let s:black = { "gui": "#222222", "cterm": "0" } |
24 | let s:medium_gray = { "gui": "#767676", "cterm": "243" } | 24 | let s:medium_gray = { "gui": "#767676", "cterm": "8" } |
25 | let s:white = { "gui": "#F1F1F1", "cterm": "15" } | 25 | let s:white = { "gui": "#F1F1F1", "cterm": "7" } |
26 | let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" } | 26 | let s:actual_white = { "gui": "#FFFFFF", "cterm": "15" } |
27 | let s:light_black = { "gui": "#424242", "cterm": "8" } | 27 | let s:light_black = { "gui": "#424242", "cterm": "8" } |
28 | let s:lighter_black = { "gui": "#545454", "cterm": "240" } | 28 | let s:lighter_black = { "gui": "#545454", "cterm": "8" } |
29 | let s:subtle_black = { "gui": "#303030", "cterm": "236" } | 29 | let s:subtle_black = { "gui": "#303030", "cterm": "11" } |
30 | let s:light_gray = { "gui": "#999999", "cterm": "249" } | 30 | let s:light_gray = { "gui": "#999999", "cterm": "12" } |
31 | let s:lighter_gray = { "gui": "#CCCCCC", "cterm": "251" } | 31 | let s:lighter_gray = { "gui": "#CCCCCC", "cterm": "7" } |
32 | let s:lightest_gray = { "gui": "#E5E5E5", "cterm": "251" } | 32 | let s:lightest_gray = { "gui": "#E5E5E5", "cterm": "13" } |
33 | let s:pink = { "gui": "#FB007A", "cterm": "9" } | 33 | let s:pink = { "gui": "#FB007A", "cterm": "5" } |
34 | let s:dark_red = { "gui": "#C30771", "cterm": "1" } | 34 | let s:dark_red = { "gui": "#C30771", "cterm": "1" } |
35 | let s:light_red = { "gui": "#E32791", "cterm": "1" } | 35 | let s:light_red = { "gui": "#E32791", "cterm": "1" } |
36 | let s:orange = { "gui": "#D75F5F", "cterm": "167" } | 36 | let s:orange = { "gui": "#D75F5F", "cterm": "9" } |
37 | let s:darker_blue = { "gui": "#005F87", "cterm": "18" } | 37 | let s:darker_blue = { "gui": "#005F87", "cterm": "4" } |
38 | let s:dark_blue = { "gui": "#008EC4", "cterm": "4" } | 38 | let s:dark_blue = { "gui": "#008EC4", "cterm": "4" } |
39 | let s:blue = { "gui": "#20BBFC", "cterm": "12" } | 39 | let s:blue = { "gui": "#20BBFC", "cterm": "4" } |
40 | let s:light_blue = { "gui": "#B6D6FD", "cterm": "153" } | 40 | let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" } |
41 | let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } | 41 | let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } |
42 | let s:light_cyan = { "gui": "#4FB8CC", "cterm": "14" } | 42 | let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" } |
43 | let s:dark_green = { "gui": "#10A778", "cterm": "2" } | 43 | let s:dark_green = { "gui": "#10A778", "cterm": "2" } |
44 | let s:light_green = { "gui": "#5FD7A7", "cterm": "10" } | 44 | let s:light_green = { "gui": "#5FD7A7", "cterm": "2" } |
45 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } | 45 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } |
46 | let s:light_purple = { "gui": "#6855DE", "cterm": "13" } | 46 | let s:light_purple = { "gui": "#6855DE", "cterm": "5" } |
47 | let s:light_yellow = { "gui": "#F3E430", "cterm": "11" } | 47 | let s:light_yellow = { "gui": "#F3E430", "cterm": "3" } |
48 | let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } | 48 | let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } |
49 | 49 | ||
50 | if &background == "dark" | 50 | if &background == "dark" |
@@ -62,8 +62,8 @@ if &background == "dark" | |||
62 | let s:cursor_line = s:subtle_black | 62 | let s:cursor_line = s:subtle_black |
63 | let s:status_line = s:light_gray | 63 | let s:status_line = s:light_gray |
64 | let s:status_line_nc = s:light_black | 64 | let s:status_line_nc = s:light_black |
65 | let s:constant = s:light_blue | 65 | let s:constant = s:light_green |
66 | let s:comment = s:light_gray | 66 | let s:comment = s:lighter_black |
67 | let s:selection = s:light_yellow | 67 | let s:selection = s:light_yellow |
68 | let s:warning = s:yellow | 68 | let s:warning = s:yellow |
69 | else | 69 | else |
@@ -101,8 +101,9 @@ endfunction | |||
101 | 101 | ||
102 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) | 102 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) |
103 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) | 103 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) |
104 | call s:h("Cursor", {"bg": s:blue, "fg": s:norm}) | 104 | call s:h("Cursor", {"bg": s:green, "fg": s:norm}) |
105 | call s:h("Comment", {"fg": s:comment, "gui": "italic"}) | 105 | call s:h("Comment", {"fg": s:comment, "cterm": "bold"}) |
106 | call s:h("Function", {"fg": s:norm, "cterm": "bold"}) | ||
106 | 107 | ||
107 | call s:h("Constant", {"bg": s:bg, "fg": s:constant}) | 108 | call s:h("Constant", {"bg": s:bg, "fg": s:constant}) |
108 | hi! link Character Constant | 109 | hi! link Character Constant |
@@ -110,13 +111,13 @@ hi! link Number Constant | |||
110 | hi! link Boolean Constant | 111 | hi! link Boolean Constant |
111 | hi! link Float Constant | 112 | hi! link Float Constant |
112 | hi! link String Constant | 113 | hi! link String Constant |
114 | hi! link Conceal Constant | ||
113 | 115 | ||
114 | "call s:h("Identifier", {"fg": s:dark_blue}) | 116 | "call s:h("Identifier", {"fg": s:dark_blue}) |
115 | hi! link Identifier Normal | 117 | hi! link Identifier Normal |
116 | hi! link Function Identifier | ||
117 | 118 | ||
118 | "hi! link Statement Normal | 119 | "hi! link Statement Normal |
119 | call s:h("Statement", {"bg": s:bg, "fg": s:norm, "gui": "bold"}) | 120 | call s:h("Statement", {"bg": s:bg, "fg": s:norm_subtle, "gui": "bold"}) |
120 | hi! link Conditonal Statement | 121 | hi! link Conditonal Statement |
121 | hi! link Repeat Statement | 122 | hi! link Repeat Statement |
122 | hi! link Label Statement | 123 | hi! link Label Statement |
@@ -149,19 +150,19 @@ call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline | |||
149 | call s:h("Ignore", {"fg": s:bg}) | 150 | call s:h("Ignore", {"fg": s:bg}) |
150 | call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) | 151 | call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) |
151 | call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) | 152 | call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) |
152 | call s:h("SpecialKey", {"fg": s:light_green}) | 153 | call s:h("SpecialKey", {"fg": s:subtle_black}) |
153 | call s:h("NonText", {"fg": s:medium_gray}) | 154 | call s:h("NonText", {"fg": s:medium_gray}) |
154 | call s:h("Directory", {"fg": s:dark_blue}) | 155 | call s:h("Directory", {"fg": s:dark_green}) |
155 | call s:h("ErrorMsg", {"fg": s:pink}) | 156 | call s:h("ErrorMsg", {"fg": s:pink}) |
156 | call s:h("IncSearch", {"bg": s:selection, "fg": s:light_black}) | 157 | call s:h("IncSearch", {"bg": s:selection, "fg": s:light_black}) |
157 | call s:h("Search", {"bg": s:selection, "fg": s:light_black}) | 158 | call s:h("Search", {"bg": s:selection, "fg": s:light_black}) |
158 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) | 159 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) |
159 | hi! link ModeMsg MoreMsg | 160 | hi! link ModeMsg MoreMsg |
160 | call s:h("LineNr", {"fg": s:bg_subtle}) | 161 | call s:h("LineNr", {"fg": s:bg_subtle}) |
161 | call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle}) | 162 | call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle}) |
162 | call s:h("Question", {"fg": s:red}) | 163 | call s:h("Question", {"fg": s:red}) |
163 | call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) | 164 | call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle}) |
164 | call s:h("Title", {"fg": s:dark_blue}) | 165 | call s:h("Title", {"fg": s:dark_green}) |
165 | call s:h("Visual", {"bg": s:visual}) | 166 | call s:h("Visual", {"bg": s:visual}) |
166 | call s:h("VisualNOS", {"bg": s:bg_subtle}) | 167 | call s:h("VisualNOS", {"bg": s:bg_subtle}) |
167 | call s:h("WarningMsg", {"fg": s:warning}) | 168 | call s:h("WarningMsg", {"fg": s:warning}) |
@@ -171,7 +172,7 @@ call s:h("FoldColumn", {"fg": s:bg_subtle}) | |||
171 | call s:h("DiffAdd", {"fg": s:green}) | 172 | call s:h("DiffAdd", {"fg": s:green}) |
172 | call s:h("DiffDelete", {"fg": s:red}) | 173 | call s:h("DiffDelete", {"fg": s:red}) |
173 | call s:h("DiffChange", {"fg": s:dark_yellow}) | 174 | call s:h("DiffChange", {"fg": s:dark_yellow}) |
174 | call s:h("DiffText", {"fg": s:dark_blue}) | 175 | call s:h("DiffText", {"fg": s:dark_green}) |
175 | call s:h("SignColumn", {"fg": s:light_green}) | 176 | call s:h("SignColumn", {"fg": s:light_green}) |
176 | 177 | ||
177 | if has("gui_running") | 178 | if has("gui_running") |
@@ -192,8 +193,8 @@ hi link helpHyperTextJump String | |||
192 | 193 | ||
193 | """ StatusLine | 194 | """ StatusLine |
194 | 195 | ||
195 | call s:h("StatusLine", {"gui": "underline", "bg": s:bg, "fg": s:status_line}) | 196 | call s:h("StatusLine", {"cterm": "underline", "bg": s:bg, "fg": s:status_line}) |
196 | call s:h("StatusLineNC", {"gui": "underline", "bg": s:bg, "fg": s:status_line_nc}) | 197 | call s:h("StatusLineNC", {"cterm": "underline", "bg": s:bg, "fg": s:status_line_nc}) |
197 | 198 | ||
198 | " Those are not standard but are useful to emphasis different parts of the | 199 | " Those are not standard but are useful to emphasis different parts of the |
199 | " status line. | 200 | " status line. |
@@ -258,3 +259,4 @@ hi link markdownCode Constant | |||
258 | hi link markdownCodeBlock Constant | 259 | hi link markdownCodeBlock Constant |
259 | hi link markdownCodeDelimiter Constant | 260 | hi link markdownCodeDelimiter Constant |
260 | hi link markdownHeadingDelimiter Constant | 261 | hi link markdownHeadingDelimiter Constant |
262 | |||