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