3 " Author: Tomas Restrepo <tomas@winterdom.com>
5 " Note: Based on the monokai theme for textmate
6 " by Wimer Hazenberg and its darker variant
7 " by Hamish Stuart Macpherson
14 " no guarantees for version 5.8 and below, but this makes it stop
17 if exists("syntax_on")
21 let g:colors_name="molokai"
23 if exists("g:molokai_original")
24 let s:molokai_original = g:molokai_original
26 let s:molokai_original = 0
30 hi Boolean guifg=#AE81FF
31 hi Character guifg=#E6DB74
32 hi Number guifg=#AE81FF
33 hi String guifg=#E6DB74
34 hi Conditional guifg=#FC2748 gui=bold
35 hi Constant guifg=#AE81FF gui=bold
36 hi Cursor guifg=#000000 guibg=#F35FBC
37 hi Debug guifg=#BCA3A3 gui=bold
38 hi Define guifg=#66D9EF
39 hi Delimiter guifg=#8F8F8F
40 hi DiffAdd guibg=#0F1D0B
41 hi DiffChange guifg=#89807D guibg=#322F2D
42 hi DiffDelete guifg=#960050 guibg=#1E0010
43 hi DiffText guibg=#4A4340 gui=italic,bold
45 hi Directory guifg=#A6E22E gui=bold
46 hi Error guifg=#960050 guibg=#1E0010
47 hi ErrorMsg guifg=#FC2748 guibg=#232526 gui=bold
48 hi Exception guifg=#A6E22E gui=bold
49 hi Float guifg=#AE81FF
50 hi FoldColumn guifg=#465457 guibg=#000000
51 hi Folded guifg=#465457 guibg=#000000
52 hi Function guifg=#A6E22E
53 hi Identifier guifg=#FD971F
54 hi Ignore guifg=#808080 guibg=bg
55 hi IncSearch guifg=#C4BE89 guibg=#000000
57 hi Keyword guifg=#FC2748 gui=bold
58 hi Label guifg=#E6DB74 gui=none
59 hi Macro guifg=#C4BE89 gui=italic
60 hi SpecialKey guifg=#66D9EF gui=italic
62 hi MatchParen guifg=#CD5907 guibg=#232728 gui=bold
63 hi ModeMsg guifg=#E6DB74
64 hi MoreMsg guifg=#E6DB74
65 hi Operator guifg=#FC2748
68 hi Pmenu guifg=#66D9EF guibg=#000000
69 hi PmenuSel guibg=#808080
70 hi PmenuSbar guibg=#080808
71 hi PmenuThumb guifg=#66D9EF
73 hi PreCondit guifg=#A6E22E gui=bold
74 hi PreProc guifg=#A6E22E
75 hi Question guifg=#66D9EF
76 hi Repeat guifg=#FC2748 gui=bold
77 hi Search guifg=#FFFFFF guibg=#455354
79 hi SignColumn guifg=#A6E22E guibg=#232526
80 hi SpecialChar guifg=#FC2748 gui=bold
81 hi SpecialComment guifg=#465457 gui=bold
82 hi Special guifg=#66D9EF guibg=bg gui=italic
83 hi SpecialKey guifg=#888A85 gui=italic
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
90 hi Statement guifg=#FC2748 gui=bold
91 hi StatusLine guifg=#CD5907 guibg=fg
92 hi StatusLineNC guifg=#808080 guibg=#080808
93 hi StorageClass guifg=#FD971F gui=italic
94 hi Structure guifg=#66D9EF
95 hi Tag guifg=#FC2748 gui=italic
96 hi Title guifg=#ef5939
97 hi Todo guifg=#FFFFFF guibg=bg gui=bold
99 hi Typedef guifg=#66D9EF
100 hi Type guifg=#66D9EF gui=none
101 hi Underlined guifg=#808080 gui=underline
103 hi VertSplit guifg=#808080 guibg=#080808 gui=bold
104 hi VisualNOS guibg=#403D3D
105 hi Visual guibg=#403D3D
106 hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
107 hi WildMenu guifg=#66D9EF guibg=#000000
111 if s:molokai_original == 1
112 hi Normal guifg=#F8F8F2 guibg=#272822
113 hi Comment guifg=#75715E
114 hi CursorLine guibg=#3E3D32
115 hi CursorColumn guibg=#3E3D32
116 hi ColorColumn guibg=#3E3D32
117 hi LineNr guifg=#AAAAAA guibg=#3B3A32
118 hi NonText guifg=#BCBCBC guibg=#3B3A32
120 hi Normal guifg=#F8F8F2 guibg=#1B1D1E
121 hi Folded guifg=#666666 guibg=#1B1D1E
122 hi Comment guifg=#465457
123 hi CursorLine guibg=#232728
124 hi CursorColumn guibg=#232728
125 hi ColorColumn guibg=#232728
126 hi LineNr guifg=#AAAAAA guibg=#1B1D1E
128 " Invisible character colors
129 highlight NonText guifg=#444444 guibg=#1a1c1d
130 highlight SpecialKey guifg=#444444 guibg=#1a1c1d
134 " Support for 256-color terminal
137 hi Boolean ctermfg=135
138 hi Character ctermfg=144
139 hi Number ctermfg=135
140 hi String ctermfg=144
141 hi Conditional ctermfg=161 cterm=bold
142 hi Constant ctermfg=135 cterm=bold
143 hi Cursor ctermfg=16 ctermbg=253
144 hi Debug ctermfg=225 cterm=bold
146 hi Delimiter ctermfg=241
148 hi DiffAdd ctermbg=24
149 hi DiffChange ctermfg=181 ctermbg=239
150 hi DiffDelete ctermfg=162 ctermbg=53
151 hi DiffText ctermbg=102 cterm=bold
153 hi Directory ctermfg=118 cterm=bold
154 hi Error ctermfg=219 ctermbg=89
155 hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
156 hi Exception ctermfg=118 cterm=bold
158 hi FoldColumn ctermfg=67 ctermbg=16
159 hi Folded ctermfg=67 ctermbg=16
160 hi Function ctermfg=118
161 hi Identifier ctermfg=208
162 hi Ignore ctermfg=244 ctermbg=232
163 hi IncSearch ctermfg=193 ctermbg=16
165 hi Keyword ctermfg=161 cterm=bold
166 hi Label ctermfg=229 cterm=none
168 hi SpecialKey ctermfg=81
170 hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
171 hi ModeMsg ctermfg=229
172 hi MoreMsg ctermfg=229
173 hi Operator ctermfg=161
176 hi Pmenu ctermfg=81 ctermbg=16
177 hi PmenuSel ctermbg=244
178 hi PmenuSbar ctermbg=232
179 hi PmenuThumb ctermfg=81
181 hi PreCondit ctermfg=118 cterm=bold
182 hi PreProc ctermfg=118
183 hi Question ctermfg=81
184 hi Repeat ctermfg=161 cterm=bold
185 hi Search ctermfg=253 ctermbg=66
188 hi SignColumn ctermfg=118 ctermbg=235
189 hi SpecialChar ctermfg=161 cterm=bold
190 hi SpecialComment ctermfg=245 cterm=bold
191 hi Special ctermfg=81 ctermbg=232
192 hi SpecialKey ctermfg=245
194 hi Statement ctermfg=161 cterm=bold
195 hi StatusLine ctermfg=238 ctermbg=253
196 hi StatusLineNC ctermfg=244 ctermbg=232
197 hi StorageClass ctermfg=208
198 hi Structure ctermfg=81
201 hi Todo ctermfg=231 ctermbg=232 cterm=bold
203 hi Typedef ctermfg=81
204 hi Type ctermfg=81 cterm=none
205 hi Underlined ctermfg=244 cterm=underline
207 hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
208 hi VisualNOS ctermbg=238
209 hi Visual ctermbg=235
210 hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
211 hi WildMenu ctermfg=81 ctermbg=16
213 hi Normal ctermfg=252 ctermbg=233
214 hi Comment ctermfg=59
215 hi CursorLine ctermbg=234 cterm=none
216 hi CursorColumn ctermbg=234
217 hi LineNr ctermfg=250 ctermbg=234
218 hi NonText ctermfg=250 ctermbg=234