mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-11 16:26:58 +00:00
Update status line colors for low status line.
Make it easier to distinguish between the active and inactive status lines.
This commit is contained in:
@@ -283,17 +283,25 @@ for s:solarized_background in ["dark", "light"]
|
||||
call s:put(" hi! StatusLine" .s:fg_base02 .s:bg_base1 .s:fmt_revbb)
|
||||
call s:put(" hi! TabLineSel" .s:fg_base1 .s:bg_base02 .s:fmt_none)
|
||||
else " no flat
|
||||
if s:solarized_background == "dark"
|
||||
if s:solarized_contrast == "high"
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
else
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=7 guibg=#eee8d5" .s:fmt_revbb)
|
||||
endif
|
||||
call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base1 .s:fmt_revbb)
|
||||
else " light
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base02 .s:fmt_revbb)
|
||||
endif
|
||||
call s:put(" hi! StatusLine" .s:fg_base01 .s:bg_base2 .s:fmt_revbb)
|
||||
call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base02 .s:fmt_revbb)
|
||||
" if s:solarized_background == "dark"
|
||||
" if s:solarized_contrast == "high"
|
||||
" call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
" call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base02 .s:fmt_revbb)
|
||||
" else
|
||||
" call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=7 guibg=#eee8d5" .s:fmt_revbb)
|
||||
" call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base1 .s:fmt_revbb)
|
||||
" endif
|
||||
" else " light
|
||||
" if s:solarized_contrast == "high"
|
||||
" call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
" call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base2 .s:fmt_revbb)
|
||||
" else
|
||||
" call s:put(" hi! StatusLine" .s:fg_base01 ." ctermbg=15 guibg=#fdf6e3" .s:fmt_revbb)
|
||||
" call s:put(" hi! StatusLineNC" .s:fg_base01 .s:bg_base02 .s:fmt_revbb)
|
||||
" endif
|
||||
" endif
|
||||
endif
|
||||
call s:put('else') " solarized_statusline !=# 'low'
|
||||
if s:solarized_contrast == "flat"
|
||||
|
||||
Reference in New Issue
Block a user