]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/colors/molokai.vim
Remove Atom config
[rbdr/dotfiles] / vim / colors / molokai.vim
... / ...
CommitLineData
1
2" Vim color file
3"
4" Author: Tomas Restrepo <tomas@winterdom.com>
5"
6" Note: Based on the monokai theme for textmate
7" by Wimer Hazenberg and its darker variant
8" by Hamish Stuart Macpherson
9"
10
11hi clear
12
13set background=dark
14if version > 580
15 " no guarantees for version 5.8 and below, but this makes it stop
16 " complaining
17 hi clear
18 if exists("syntax_on")
19 syntax reset
20 endif
21endif
22let g:colors_name="molokai"
23
24if exists("g:molokai_original")
25 let s:molokai_original = g:molokai_original
26else
27 let s:molokai_original = 0
28endif
29
30
31hi Boolean guifg=#AE81FF
32hi Character guifg=#E6DB74
33hi Number guifg=#AE81FF
34hi String guifg=#E6DB74
35hi Conditional guifg=#F92672 gui=bold
36hi Constant guifg=#AE81FF gui=bold
37hi Cursor guifg=#000000 guibg=#F8F8F0
38hi Debug guifg=#BCA3A3 gui=bold
39hi Define guifg=#66D9EF
40hi Delimiter guifg=#8F8F8F
41hi DiffAdd guibg=#13354A
42hi DiffChange guifg=#89807D guibg=#4C4745
43hi DiffDelete guifg=#960050 guibg=#1E0010
44hi DiffText guibg=#4C4745 gui=italic,bold
45
46hi Directory guifg=#A6E22E gui=bold
47hi Error guifg=#960050 guibg=#1E0010
48hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
49hi Exception guifg=#A6E22E gui=bold
50hi Float guifg=#AE81FF
51hi FoldColumn guifg=#465457 guibg=#000000
52hi Folded guifg=#465457 guibg=#000000
53hi Function guifg=#A6E22E
54hi Identifier guifg=#FD971F
55hi Ignore guifg=#808080 guibg=bg
56hi IncSearch guifg=#C4BE89 guibg=#000000
57
58hi Keyword guifg=#F92672 gui=bold
59hi Label guifg=#E6DB74 gui=none
60hi Macro guifg=#C4BE89 gui=italic
61hi SpecialKey guifg=#66D9EF gui=italic
62
63hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
64hi ModeMsg guifg=#E6DB74
65hi MoreMsg guifg=#E6DB74
66hi Operator guifg=#F92672
67
68" complete menu
69hi Pmenu guifg=#66D9EF guibg=#000000
70hi PmenuSel guibg=#808080
71hi PmenuSbar guibg=#080808
72hi PmenuThumb guifg=#66D9EF
73
74hi PreCondit guifg=#A6E22E gui=bold
75hi PreProc guifg=#A6E22E
76hi Question guifg=#66D9EF
77hi Repeat guifg=#F92672 gui=bold
78hi Search guifg=#FFFFFF guibg=#455354
79" marks
80hi SignColumn guifg=#A6E22E guibg=#232526
81hi SpecialChar guifg=#F92672 gui=bold
82hi SpecialComment guifg=#7E8E91 gui=bold
83hi Special guifg=#66D9EF guibg=bg gui=italic
84if has("spell")
85 hi SpellBad guisp=#FF0000 gui=undercurl
86 hi SpellCap guisp=#7070F0 gui=undercurl
87 hi SpellLocal guisp=#70F0F0 gui=undercurl
88 hi SpellRare guisp=#FFFFFF gui=undercurl
89endif
90hi Statement guifg=#F92672 gui=bold
91hi StatusLine guifg=#455354 guibg=fg
92hi StatusLineNC guifg=#808080 guibg=#080808
93hi StorageClass guifg=#FD971F gui=italic
94hi Structure guifg=#66D9EF
95hi Tag guifg=#F92672 gui=italic
96hi Title guifg=#ef5939
97hi Todo guifg=#FFFFFF guibg=bg gui=bold
98
99hi Typedef guifg=#66D9EF
100hi Type guifg=#66D9EF gui=none
101hi Underlined guifg=#808080 gui=underline
102
103hi VertSplit guifg=#808080 guibg=#080808 gui=bold
104hi VisualNOS guibg=#403D3D
105hi Visual guibg=#403D3D
106hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
107hi WildMenu guifg=#66D9EF guibg=#000000
108
109if s:molokai_original == 1
110 hi Normal guifg=#F8F8F2 guibg=#272822
111 hi Comment guifg=#75715E
112 hi CursorLine guibg=#3E3D32
113 hi CursorColumn guibg=#3E3D32
114 hi ColorColumn guibg=#3B3A32
115 hi LineNr guifg=#BCBCBC guibg=#3B3A32
116 hi NonText guifg=#75715E
117 hi SpecialKey guifg=#75715E
118else
119 hi Normal guifg=#F8F8F2 guibg=#1B1D1E
120 hi Comment guifg=#7E8E91
121 hi CursorLine guibg=#293739
122 hi CursorColumn guibg=#293739
123 hi ColorColumn guibg=#232526
124 hi LineNr guifg=#465457 guibg=#232526
125 hi NonText guifg=#465457
126 hi SpecialKey guifg=#465457
127end
128
129"
130" Support for 256-color terminal
131"
132if &t_Co > 255
133 if s:molokai_original == 1
134 hi Normal ctermbg=234
135 hi CursorLine ctermbg=235 cterm=none
136 else
137 hi Normal ctermfg=252
138 hi CursorLine ctermbg=234 cterm=none
139 endif
140 hi Boolean ctermfg=135
141 hi Character ctermfg=144
142 hi Number ctermfg=135
143 hi String ctermfg=144
144 hi Conditional ctermfg=161 cterm=bold
145 hi Constant ctermfg=135 cterm=bold
146 hi Cursor ctermfg=16 ctermbg=253
147 hi Debug ctermfg=225 cterm=bold
148 hi Define ctermfg=81
149 hi Delimiter ctermfg=241
150
151 hi DiffAdd ctermbg=24
152 hi DiffChange ctermfg=181 ctermbg=239
153 hi DiffDelete ctermfg=162 ctermbg=53
154 hi DiffText ctermbg=102 cterm=bold
155
156 hi Directory ctermfg=118 cterm=bold
157 hi Error ctermfg=219 ctermbg=89
158 hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
159 hi Exception ctermfg=118 cterm=bold
160 hi Float ctermfg=135
161 hi FoldColumn ctermfg=67 ctermbg=16
162 hi Folded ctermfg=67 ctermbg=16
163 hi Function ctermfg=118
164 hi Identifier ctermfg=208 cterm=none
165 hi Ignore ctermfg=244 ctermbg=232
166 hi IncSearch ctermfg=193 ctermbg=16
167
168 hi keyword ctermfg=161 cterm=bold
169 hi Label ctermfg=229 cterm=none
170 hi Macro ctermfg=193
171 hi SpecialKey ctermfg=81
172
173 hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
174 hi ModeMsg ctermfg=229
175 hi MoreMsg ctermfg=229
176 hi Operator ctermfg=161
177
178 " complete menu
179 hi Pmenu ctermfg=81 ctermbg=16
180 hi PmenuSel ctermbg=244
181 hi PmenuSbar ctermbg=232
182 hi PmenuThumb ctermfg=81
183
184 hi PreCondit ctermfg=118 cterm=bold
185 hi PreProc ctermfg=118
186 hi Question ctermfg=81
187 hi Repeat ctermfg=161 cterm=bold
188 hi Search ctermfg=253 ctermbg=66
189
190 " marks column
191 hi SignColumn ctermfg=118 ctermbg=235
192 hi SpecialChar ctermfg=161 cterm=bold
193 hi SpecialComment ctermfg=245 cterm=bold
194 hi Special ctermfg=81
195 if has("spell")
196 hi SpellBad ctermbg=52
197 hi SpellCap ctermbg=17
198 hi SpellLocal ctermbg=17
199 hi SpellRare ctermfg=none ctermbg=none cterm=reverse
200 endif
201 hi Statement ctermfg=161 cterm=bold
202 hi StatusLine ctermfg=238 ctermbg=253
203 hi StatusLineNC ctermfg=244 ctermbg=232
204 hi StorageClass ctermfg=208
205 hi Structure ctermfg=81
206 hi Tag ctermfg=161
207 hi Title ctermfg=166
208 hi Todo ctermfg=231 ctermbg=232 cterm=bold
209
210 hi Typedef ctermfg=81
211 hi Type ctermfg=81 cterm=none
212 hi Underlined ctermfg=244 cterm=underline
213
214 hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
215 hi VisualNOS ctermbg=240
216 hi Visual ctermbg=238
217 hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
218 hi WildMenu ctermfg=81 ctermbg=16
219
220 hi Comment ctermfg=59
221 hi CursorColumn ctermbg=234
222 hi ColorColumn ctermbg=234
223 hi LineNr ctermfg=250 ctermbg=234
224 hi NonText ctermfg=59
225
226 hi SpecialKey ctermfg=59
227
228 if exists("g:rehash256") && g:rehash256 == 1
229 hi Normal ctermfg=252 ctermbg=234
230 hi CursorLine ctermbg=236 cterm=none
231 hi CursorLineNr ctermfg=226
232
233 hi Boolean ctermfg=141
234 hi Character ctermfg=222
235 hi Number ctermfg=141
236 hi String ctermfg=222
237 hi Conditional ctermfg=197 cterm=bold
238 hi Constant ctermfg=141 cterm=bold
239
240 hi DiffDelete ctermfg=125 ctermbg=233
241
242 hi Directory ctermfg=154 cterm=bold
243 hi Error ctermfg=125 ctermbg=233
244 hi Exception ctermfg=154 cterm=bold
245 hi Float ctermfg=141
246 hi Function ctermfg=154
247 hi Identifier ctermfg=208
248
249 hi Keyword ctermfg=197 cterm=bold
250 hi Operator ctermfg=197
251 hi PreCondit ctermfg=154 cterm=bold
252 hi PreProc ctermfg=154
253 hi Repeat ctermfg=197 cterm=bold
254
255 hi Statement ctermfg=197 cterm=bold
256 hi Tag ctermfg=197
257 hi Title ctermfg=203
258 hi Visual ctermbg=238
259
260 hi Comment ctermfg=244
261 hi LineNr ctermfg=239 ctermbg=235
262 hi NonText ctermfg=239
263 hi SpecialKey ctermfg=239
264 endif
265end