aboutsummaryrefslogtreecommitdiff
path: root/colors/off.vim
diff options
context:
space:
mode:
authorAndrey Popp <[email protected]>2018-05-02 16:57:57 +0100
committerAndrey Popp <[email protected]>2018-05-02 16:57:57 +0100
commit97e5b980f2c6180f9d740998ba6ecd0877a04bb9 (patch)
tree8d66088354b30ec4c9da7a60b068ef8c7f475263 /colors/off.vim
parent58d865bd4d67c41562ed3cd6470c976b45c6581b (diff)
Rename
Diffstat (limited to 'colors/off.vim')
-rw-r--r--colors/off.vim240
1 files changed, 0 insertions, 240 deletions
diff --git a/colors/off.vim b/colors/off.vim
deleted file mode 100644
index fce8d45..0000000
--- a/colors/off.vim
+++ /dev/null
@@ -1,240 +0,0 @@
1" Name: off.vim
2" Version: 0.1
3" Maintainer: github.com/pbrisbin
4" License: The MIT License (MIT)
5"
6" A colorscheme meant to look like a more pleasant version of syntax off.
7" Structure and what little color there is is taken from pencil.vim
8"
9" https://github.com/reedes/vim-colors-pencil
10"
11"""
12hi clear
13
14if exists('syntax on')
15 syntax reset
16endif
17
18let g:colors_name='off'
19
20let s:black = { "gui": "#121212", "cterm": "0" }
21let s:medium_gray = { "gui": "#767676", "cterm": "243" }
22let s:white = { "gui": "#F1F1F1", "cterm": "15" }
23let s:actual_white = { "gui": "#FFFFFF", "cterm": "231" }
24let s:light_black = { "gui": "#424242", "cterm": "8" }
25let s:lighter_black = { "gui": "#545454", "cterm": "240" }
26let s:subtle_black = { "gui": "#303030", "cterm": "236" }
27let s:light_gray = { "gui": "#999999", "cterm": "249" }
28let s:lighter_gray = { "gui": "#E1E1E1", "cterm": "251" }
29let s:pink = { "gui": "#fb007a", "cterm": "9" }
30let s:dark_red = { "gui": "#C30771", "cterm": "1" }
31let s:light_red = { "gui": "#E32791", "cterm": "1" }
32let s:orange = { "gui": "#D75F5F", "cterm": "167" }
33let s:darker_blue = { "gui": "#005F87", "cterm": "18" }
34let s:dark_blue = { "gui": "#008EC4", "cterm": "4" }
35let s:blue = { "gui": "#20BBFC", "cterm": "12" }
36let s:light_blue = { "gui": "#b6d6fd", "cterm": "153" }
37let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" }
38let s:light_cyan = { "gui": "#4FB8CC", "cterm": "14" }
39let s:dark_green = { "gui": "#10A778", "cterm": "2" }
40let s:light_green = { "gui": "#5FD7A7", "cterm": "10" }
41let s:dark_purple = { "gui": "#523C79", "cterm": "5" }
42let s:light_purple = { "gui": "#6855DE", "cterm": "13" }
43let s:light_yellow = { "gui": "#F3E430", "cterm": "11" }
44let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" }
45
46if &background == "dark"
47 let s:bg = s:black
48 let s:bg_subtle = s:light_black
49 let s:bg_very_subtle = s:subtle_black
50 let s:norm = s:lighter_gray
51 let s:norm_subtle = s:light_gray
52 let s:purple = s:light_purple
53 let s:cyan = s:light_cyan
54 let s:green = s:light_green
55 let s:red = s:light_red
56 let s:yellow = s:light_yellow
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
62else
63 let s:bg = s:white
64 let s:bg_subtle = s:lighter_gray
65 let s:bg_very_subtle = s:light_gray
66 let s:norm = s:light_black
67 let s:norm_subtle = s:lighter_black
68 let s:purple = s:dark_purple
69 let s:cyan = s:dark_cyan
70 let s:green = s:dark_green
71 let s:red = s:dark_red
72 let s:yellow = s:dark_yellow
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
78endif
79
80" https://github.com/noahfrederick/vim-hemisu/
81function! s:h(group, style)
82 execute "highlight" a:group
83 \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
84 \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE")
85 \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE")
86 \ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE")
87 \ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
88 \ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
89 \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE")
90endfunction
91
92call s:h("Normal", {"bg": s:bg, "fg": s:norm})
93call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle})
94call s:h("Cursor", {"bg": s:blue, "fg": s:norm})
95call s:h("Comment", {"fg": s:comment, "gui": "italic"})
96
97call s:h("Constant", {"bg": s:bg, "fg": s:constant})
98hi! link Character Constant
99hi! link Number Constant
100hi! link Boolean Constant
101hi! link Float Constant
102hi! link String Constant
103
104"call s:h("Identifier", {"fg": s:dark_blue})
105hi! link Identifier Normal
106hi! link Function Identifier
107
108"hi! link Statement Normal
109call s:h("Statement", {"bg": s:bg, "fg": s:norm, "gui": "bold"})
110hi! link Conditonal Statement
111hi! link Repeat Statement
112hi! link Label Statement
113hi! link Operator Noise
114hi! link Keyword Statement
115hi! link Exception Statement
116
117"call s:h("PreProc", {"fg": s:red})
118hi! link PreProc Normal
119hi! link Include Statement
120hi! link Define PreProc
121hi! link Macro PreProc
122hi! link PreCondit PreProc
123
124"call s:h("Type", {"fg": s:purple})
125hi! link Type Normal
126hi! link StorageClass Type
127hi! link Structure Type
128hi! link Typedef Type
129
130"call s:h("Special", {"fg": s:pink})
131hi! link Special Normal
132hi! link SpecialChar Special
133hi! link Tag Special
134hi! link Delimiter Special
135hi! link SpecialComment Special
136hi! link Debug Special
137
138call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"})
139call s:h("Ignore", {"fg": s:bg})
140call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"})
141call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"})
142call s:h("SpecialKey", {"fg": s:light_green})
143call s:h("NonText", {"fg": s:medium_gray})
144call s:h("Directory", {"fg": s:dark_blue})
145call s:h("ErrorMsg", {"fg": s:pink})
146call s:h("IncSearch", {"bg": s:yellow, "fg": s:light_black})
147call s:h("Search", {"bg": s:yellow, "fg": s:light_black})
148call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"})
149hi! link ModeMsg MoreMsg
150call s:h("LineNr", {"fg": s:bg_subtle})
151call s:h("CursorLineNr", {"fg": s:blue, "bg": s:bg_very_subtle})
152call s:h("Question", {"fg": s:red})
153call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle})
154call s:h("Title", {"fg": s:dark_blue})
155call s:h("Visual", {"bg": s:visual})
156call s:h("VisualNOS", {"bg": s:bg_subtle})
157call s:h("WarningMsg", {"fg": s:red})
158call s:h("WildMenu", {"fg": s:black, "bg": s:bg_very_subtle})
159call s:h("Folded", {"fg": s:medium_gray})
160call s:h("FoldColumn", {"fg": s:bg_subtle})
161call s:h("DiffAdd", {"fg": s:green})
162call s:h("DiffDelete", {"fg": s:red})
163call s:h("DiffChange", {"fg": s:dark_yellow})
164call s:h("DiffText", {"fg": s:dark_blue})
165call s:h("SignColumn", {"fg": s:light_green})
166
167if has("gui_running")
168 call s:h("SpellBad", {"gui": "underline", "sp": s:red})
169 call s:h("SpellCap", {"gui": "underline", "sp": s:light_green})
170 call s:h("SpellRare", {"gui": "underline", "sp": s:pink})
171 call s:h("SpellLocal", {"gui": "underline", "sp": s:dark_green})
172else
173 call s:h("SpellBad", {"cterm": "underline", "fg": s:red})
174 call s:h("SpellCap", {"cterm": "underline", "fg": s:light_green})
175 call s:h("SpellRare", {"cterm": "underline", "fg": s:pink})
176 call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green})
177endif
178
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})
186call s:h("PmenuSel", {"fg": s:norm, "bg": s:blue})
187call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_subtle})
188call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_subtle})
189call s:h("TabLine", {"fg": s:norm, "bg": s:bg_very_subtle})
190call s:h("TabLineSel", {"fg": s:blue, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"})
191call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_very_subtle})
192call s:h("CursorColumn", {"bg": s:bg_very_subtle})
193call s:h("CursorLine", {"bg": s:cursor_line})
194call s:h("ColorColumn", {"bg": s:bg_subtle})
195
196call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:norm})
197call s:h("qfLineNr", {"fg": s:medium_gray})
198
199call s:h("htmlH1", {"bg": s:bg, "fg": s:norm})
200call s:h("htmlH2", {"bg": s:bg, "fg": s:norm})
201call s:h("htmlH3", {"bg": s:bg, "fg": s:norm})
202call s:h("htmlH4", {"bg": s:bg, "fg": s:norm})
203call s:h("htmlH5", {"bg": s:bg, "fg": s:norm})
204call s:h("htmlH6", {"bg": s:bg, "fg": s:norm})
205
206hi link diffRemoved DiffDelete
207hi link diffAdded DiffAdd
208
209" Signify, git-gutter
210hi link SignifySignAdd LineNr
211hi link SignifySignDelete LineNr
212hi link SignifySignChange LineNr
213hi link GitGutterAdd LineNr
214hi link GitGutterDelete LineNr
215hi link GitGutterChange LineNr
216hi link GitGutterChangeDelete LineNr
217
218hi link jsFlowTypeKeyword Statement
219hi link jsFlowImportType Statement
220hi link jsFunction Statement
221hi link jsGlobalObjects Normal
222hi link jsGlobalNodeObjects Normal
223hi link jsArrowFunction Noise
224hi link StorageClass Statement
225
226call s:h("xmlTag", {"bg": s:bg, "fg": s:dark_blue, "gui": "italic"})
227hi link xmlTagName xmlTag
228hi link xmlEndTag xmlTag
229hi link xmlAttrib xmlTag
230
231hi link markdownH1 Statement
232hi link markdownH2 Statement
233hi link markdownH3 Statement
234hi link markdownH4 Statement
235hi link markdownH5 Statement
236hi link markdownH6 Statement
237hi link markdownListMarker Statement
238hi link markdownCode Statement
239hi link markdownCodeDelimiter Statement
240hi link markdownHeadingDelimiter Statement