2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette = {}
|
|
|
|
|
2013-07-07 22:35:39 +08:00
|
|
|
let s:guibg = '#080808'
|
2013-08-18 03:20:40 +08:00
|
|
|
let s:guibg2 = '#1c1c1c'
|
2013-07-07 22:43:53 +08:00
|
|
|
let s:termbg = 232
|
2013-08-18 03:20:40 +08:00
|
|
|
let s:termbg2= 234
|
2013-07-05 03:02:58 +08:00
|
|
|
|
2013-08-10 21:43:12 +08:00
|
|
|
let s:file = [ '#ff0000' , '' , 160 , '' , '' ]
|
2013-08-18 03:20:40 +08:00
|
|
|
let s:N1 = [ s:guibg , '#00dfff' , s:termbg , 45 ]
|
|
|
|
let s:N2 = [ '#ff5f00' , s:guibg2, 202 , s:termbg2 ]
|
|
|
|
let s:N3 = [ '#767676' , s:guibg, 243 , s:termbg]
|
2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file)
|
|
|
|
let g:airline#themes#simple#palette.normal_modified = {
|
2013-08-18 03:20:40 +08:00
|
|
|
\ 'airline_c': [ '#df0000' , s:guibg, 160 , s:termbg , '' ] ,
|
2013-07-06 08:29:41 +08:00
|
|
|
\ }
|
2013-07-05 03:02:58 +08:00
|
|
|
|
2013-07-11 11:03:27 +08:00
|
|
|
|
2013-08-18 03:20:40 +08:00
|
|
|
let s:I1 = [ s:guibg, '#5fff00' , s:termbg , 82 ]
|
|
|
|
let s:I2 = [ '#ff5f00' , s:guibg2, 202 , s:termbg2 ]
|
2013-07-07 22:35:39 +08:00
|
|
|
let s:I3 = [ '#767676' , s:guibg, 243 , s:termbg ]
|
2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3, s:file)
|
|
|
|
let g:airline#themes#simple#palette.insert_modified = copy(g:airline#themes#simple#palette.normal_modified)
|
|
|
|
let g:airline#themes#simple#palette.insert_paste = {
|
2013-08-18 03:20:40 +08:00
|
|
|
\ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] ,
|
2013-07-08 19:51:01 +08:00
|
|
|
\ }
|
2013-07-11 11:03:27 +08:00
|
|
|
|
|
|
|
|
2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette.replace = {
|
2013-08-18 03:20:40 +08:00
|
|
|
\ 'airline_a': [ s:I1[0] , '#af0000' , s:I1[2] , 124 , '' ] ,
|
2013-07-08 19:51:01 +08:00
|
|
|
\ }
|
2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette.replace_modified = copy(g:airline#themes#simple#palette.normal_modified)
|
2013-07-11 11:03:27 +08:00
|
|
|
|
2013-07-05 03:02:58 +08:00
|
|
|
|
2013-08-18 03:20:40 +08:00
|
|
|
let s:V1 = [ s:guibg, '#dfdf00' , s:termbg , 184 ]
|
|
|
|
let s:V2 = [ '#ff5f00' , s:guibg2, 202 , s:termbg2 ]
|
2013-07-07 22:35:39 +08:00
|
|
|
let s:V3 = [ '#767676' , s:guibg, 243 , s:termbg ]
|
2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3, s:file)
|
|
|
|
let g:airline#themes#simple#palette.visual_modified = copy(g:airline#themes#simple#palette.normal_modified)
|
2013-07-13 10:39:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
let s:IA = [ '#4e4e4e' , s:guibg , 239 , s:termbg , '' ]
|
2013-08-18 08:59:49 +08:00
|
|
|
let g:airline#themes#simple#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
2013-07-13 10:39:38 +08:00
|
|
|
|