pick highlight groups that are also compatible with the light variant
This commit is contained in:
parent
99179d806b
commit
cf3473a8a3
|
@ -1,6 +1,7 @@
|
|||
function! s:generate()
|
||||
let s:file = airline#themes#get_highlight('Constant')
|
||||
let s:N1 = airline#themes#get_highlight('DiffDelete', 'bold')
|
||||
|
||||
let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['SpellLocal', 'bg'], 'bold')
|
||||
let s:N2 = airline#themes#get_highlight('Pmenu')
|
||||
let s:N3 = airline#themes#get_highlight('CursorLine')
|
||||
let g:airline#themes#tomorrow#normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file)
|
||||
|
@ -10,7 +11,7 @@ function! s:generate()
|
|||
\ 'statusline': [ group[0], '', group[2], '', '' ]
|
||||
\ }
|
||||
|
||||
let s:I1 = airline#themes#get_highlight2(['Ignore', 'fg'], ['MoreMsg', 'fg'], 'bold')
|
||||
let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['MoreMsg', 'fg'], 'bold')
|
||||
let s:I2 = airline#themes#get_highlight2(['MoreMsg', 'fg'], ['Normal', 'bg'])
|
||||
let s:I3 = s:N3
|
||||
let g:airline#themes#tomorrow#insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3, s:file)
|
||||
|
@ -23,7 +24,7 @@ function! s:generate()
|
|||
let g:airline#themes#tomorrow#replace_modified = g:airline#themes#tomorrow#normal_modified
|
||||
|
||||
let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Constant', 'fg'], 'bold')
|
||||
let s:V2 = airline#themes#get_highlight('WarningMsg')
|
||||
let s:V2 = airline#themes#get_highlight2(['Constant', 'fg'], ['Normal', 'bg'])
|
||||
let s:V3 = s:N3
|
||||
let g:airline#themes#tomorrow#visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3, s:file)
|
||||
let g:airline#themes#tomorrow#visual_modified = g:airline#themes#tomorrow#normal_modified
|
||||
|
|
Loading…
Reference in New Issue