2013-09-05 00:15:57 +00:00
|
|
|
let g:airline#themes#zenburn#palette = {}
|
|
|
|
|
2013-09-28 01:43:32 +00:00
|
|
|
function! airline#themes#zenburn#refresh()
|
2013-09-18 03:13:32 +00:00
|
|
|
let g:airline#themes#zenburn#palette.accents = {
|
|
|
|
\ 'red': airline#themes#get_highlight('Constant'),
|
|
|
|
\ }
|
|
|
|
|
2013-09-05 00:15:57 +00:00
|
|
|
let s:N1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['Folded', 'fg'], 'bold')
|
|
|
|
let s:N2 = airline#themes#get_highlight('Folded')
|
|
|
|
let s:N3 = airline#themes#get_highlight('NonText')
|
2018-04-18 07:23:03 +00:00
|
|
|
let s:Nmod = airline#themes#get_highlight('Comment')
|
2013-09-05 00:15:57 +00:00
|
|
|
|
2013-09-18 03:13:32 +00:00
|
|
|
let g:airline#themes#zenburn#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
2018-04-18 07:23:03 +00:00
|
|
|
let g:airline#themes#zenburn#palette.normal.airline_c = s:Nmod
|
2013-09-05 00:15:57 +00:00
|
|
|
let g:airline#themes#zenburn#palette.normal_modified = {
|
|
|
|
\ 'airline_c': s:Nmod
|
|
|
|
\ }
|
|
|
|
|
|
|
|
let s:I1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['String', 'fg'], 'bold')
|
|
|
|
let s:I2 = airline#themes#get_highlight2(['String', 'fg'], ['Folded', 'bg'])
|
|
|
|
let s:I3 = s:N3
|
2013-09-18 03:13:32 +00:00
|
|
|
let g:airline#themes#zenburn#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
2018-04-18 07:23:03 +00:00
|
|
|
let g:airline#themes#zenburn#palette.insert.airline_c = s:Nmod
|
2013-09-05 00:15:57 +00:00
|
|
|
let g:airline#themes#zenburn#palette.insert_modified = g:airline#themes#zenburn#palette.normal_modified
|
|
|
|
|
|
|
|
let s:R1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['Comment', 'fg'], 'bold')
|
|
|
|
let s:R2 = airline#themes#get_highlight2(['Comment', 'fg'], ['Folded', 'bg'])
|
|
|
|
let s:R3 = s:N3
|
2013-09-18 03:13:32 +00:00
|
|
|
let g:airline#themes#zenburn#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
2013-09-05 00:15:57 +00:00
|
|
|
let g:airline#themes#zenburn#palette.replace_modified = g:airline#themes#zenburn#palette.normal_modified
|
|
|
|
|
|
|
|
let s:V1 = airline#themes#get_highlight2(['DbgCurrent', 'bg'], ['Identifier', 'fg'], 'bold')
|
|
|
|
let s:V2 = airline#themes#get_highlight2(['Identifier', 'fg'], ['Folded', 'bg'])
|
|
|
|
let s:V3 = s:N3
|
2013-09-18 03:13:32 +00:00
|
|
|
let g:airline#themes#zenburn#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
2013-09-05 00:15:57 +00:00
|
|
|
let g:airline#themes#zenburn#palette.visual_modified = g:airline#themes#zenburn#palette.normal_modified
|
|
|
|
|
|
|
|
let s:IA = airline#themes#get_highlight('NonText')
|
2013-09-18 03:13:32 +00:00
|
|
|
let g:airline#themes#zenburn#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
2013-09-05 21:34:48 +00:00
|
|
|
let g:airline#themes#zenburn#palette.inactive_modified = {
|
|
|
|
\ 'airline_c': s:Nmod
|
|
|
|
\ }
|
2013-09-05 00:15:57 +00:00
|
|
|
endfunction
|
|
|
|
|
2013-09-28 01:43:32 +00:00
|
|
|
call airline#themes#zenburn#refresh()
|