solarized: use VertSplit bg for inactive statusline

Adjust foreground color accordingly, also for non-active modified
filename (to stand out).
This commit is contained in:
Daniel Hahler 2014-01-10 22:47:33 +01:00
parent 7a1801e9c4
commit 41a148f1e6
1 changed files with 6 additions and 5 deletions

View File

@ -47,9 +47,9 @@ function! airline#themes#solarized#refresh()
let s:NF = [s:orange, s:N3[1], '']
let s:NW = [s:base3, s:orange, '']
if s:background == 'dark'
let s:NM = [s:base1, s:N3[1], '']
let s:NM = [s:base2, s:N3[1], '']
else
let s:NM = [s:base01, s:N3[1], '']
let s:NM = [s:base02, s:N3[1], '']
endif
" Insert mode
@ -73,11 +73,12 @@ function! airline#themes#solarized#refresh()
let s:RM = s:NM
let s:RF = s:NF
" Inactive
" Inactive, according to VertSplit in solarized
" (bg dark: base00; bg light: base0)
if s:background == 'dark'
let s:IA = [s:base00, s:base02, '']
let s:IA = [s:base02, s:base00, '']
else
let s:IA = [s:base1, s:base2, '']
let s:IA = [s:base2, s:base0, '']
endif
""""""""""""""""""""""""""""""""""""""""""""""""