mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-05 08:30:03 +08:00
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:
parent
7a1801e9c4
commit
41a148f1e6
|
@ -47,9 +47,9 @@ function! airline#themes#solarized#refresh()
|
||||||
let s:NF = [s:orange, s:N3[1], '']
|
let s:NF = [s:orange, s:N3[1], '']
|
||||||
let s:NW = [s:base3, s:orange, '']
|
let s:NW = [s:base3, s:orange, '']
|
||||||
if s:background == 'dark'
|
if s:background == 'dark'
|
||||||
let s:NM = [s:base1, s:N3[1], '']
|
let s:NM = [s:base2, s:N3[1], '']
|
||||||
else
|
else
|
||||||
let s:NM = [s:base01, s:N3[1], '']
|
let s:NM = [s:base02, s:N3[1], '']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Insert mode
|
" Insert mode
|
||||||
|
@ -73,11 +73,12 @@ function! airline#themes#solarized#refresh()
|
||||||
let s:RM = s:NM
|
let s:RM = s:NM
|
||||||
let s:RF = s:NF
|
let s:RF = s:NF
|
||||||
|
|
||||||
" Inactive
|
" Inactive, according to VertSplit in solarized
|
||||||
|
" (bg dark: base00; bg light: base0)
|
||||||
if s:background == 'dark'
|
if s:background == 'dark'
|
||||||
let s:IA = [s:base00, s:base02, '']
|
let s:IA = [s:base02, s:base00, '']
|
||||||
else
|
else
|
||||||
let s:IA = [s:base1, s:base2, '']
|
let s:IA = [s:base2, s:base0, '']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user