2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#molokai#palette = {}
|
|
|
|
|
2013-09-17 23:13:32 -04:00
|
|
|
let g:airline#themes#molokai#palette.accents = {
|
|
|
|
\ 'red': [ '#66d9ef' , '' , 81 , '' , '' ],
|
|
|
|
\ }
|
2013-08-17 20:59:49 -04:00
|
|
|
|
2013-07-28 07:12:45 -04:00
|
|
|
|
|
|
|
" Normal mode
|
2013-07-29 03:45:32 -04:00
|
|
|
let s:N1 = [ '#080808' , '#e6db74' , 232 , 144 ] " mode
|
|
|
|
let s:N2 = [ '#f8f8f0' , '#232526' , 253 , 16 ] " info
|
|
|
|
let s:N3 = [ '#f8f8f0' , '#465457' , 253 , 67 ] " statusline
|
2013-07-28 07:12:45 -04:00
|
|
|
|
2013-09-17 23:13:32 -04:00
|
|
|
let g:airline#themes#molokai#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#molokai#palette.normal_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#080808' , '#e6db74' , 232 , 144 , '' ] ,
|
2013-07-28 07:12:45 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
|
|
|
|
" Insert mode
|
2013-07-29 03:45:32 -04:00
|
|
|
let s:I1 = [ '#080808' , '#66d9ef' , 232 , 81 ]
|
|
|
|
let s:I2 = [ '#f8f8f0' , '#232526' , 253 , 16 ]
|
|
|
|
let s:I3 = [ '#f8f8f0' , '#465457' , 253 , 67 ]
|
2013-07-28 07:12:45 -04:00
|
|
|
|
2013-09-17 23:13:32 -04:00
|
|
|
let g:airline#themes#molokai#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#molokai#palette.insert_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#080808' , '#66d9ef' , 232 , 81 , '' ] ,
|
2013-07-28 07:12:45 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
|
|
|
|
" Replace mode
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#molokai#palette.replace = copy(g:airline#themes#molokai#palette.insert)
|
|
|
|
let g:airline#themes#molokai#palette.replace.airline_a = [ s:I1[0] , '#ef5939' , s:I1[2] , 166 , '' ]
|
|
|
|
let g:airline#themes#molokai#palette.replace_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#080808' , '#ef5939' , 232 , 166 , '' ] ,
|
2013-07-28 07:12:45 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
|
|
|
|
" Visual mode
|
2013-07-29 03:45:32 -04:00
|
|
|
let s:V1 = [ '#080808' , '#fd971f' , 232 , 208 ]
|
|
|
|
let s:V2 = [ '#f8f8f0' , '#232526' , 253 , 16 ]
|
|
|
|
let s:V3 = [ '#f8f8f0' , '#465457' , 253 , 67 ]
|
2013-07-28 07:12:45 -04:00
|
|
|
|
2013-09-17 23:13:32 -04:00
|
|
|
let g:airline#themes#molokai#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#molokai#palette.visual_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#080808' , '#fd971f' , 232 , 208 , '' ] ,
|
2013-07-28 07:12:45 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
|
|
|
|
" Inactive
|
|
|
|
let s:IA = [ '#1b1d1e' , '#465457' , 233 , 67 , '' ]
|
2013-09-17 23:13:32 -04:00
|
|
|
let g:airline#themes#molokai#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
2013-09-05 17:34:48 -04:00
|
|
|
let g:airline#themes#molokai#palette.inactive_modified = {
|
|
|
|
\ 'airline_c': [ '#f8f8f0' , '' , 253 , '' , '' ] ,
|
|
|
|
\ }
|
2013-07-28 07:12:45 -04:00
|
|
|
|
2013-07-29 03:45:32 -04:00
|
|
|
|
|
|
|
" CtrlP
|
2013-08-26 11:17:24 -04:00
|
|
|
if !get(g:, 'loaded_ctrlp', 0)
|
|
|
|
finish
|
2013-07-29 03:45:32 -04:00
|
|
|
endif
|
2013-08-26 11:17:24 -04:00
|
|
|
let g:airline#themes#molokai#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
|
|
|
\ [ '#f8f8f0' , '#465457' , 253 , 67 , '' ] ,
|
|
|
|
\ [ '#f8f8f0' , '#232526' , 253 , 16 , '' ] ,
|
|
|
|
\ [ '#080808' , '#e6db74' , 232 , 144 , 'bold' ] )
|
2013-07-29 03:45:32 -04:00
|
|
|
|