mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
(Re)add support for transparent bg in terminals.
This commit is contained in:
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_dark"
|
||||
set background=dark
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=8 guibg=#002b36
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=8 guibg=#002b36
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_dark_flat"
|
||||
set background=dark
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=8 guibg=#002b36
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=8 guibg=#002b36
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_dark_high"
|
||||
set background=dark
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=14 guifg=#93a1a1 ctermbg=8 guibg=#002b36
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=14 guifg=#93a1a1 ctermbg=8 guibg=#002b36
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_dark_low"
|
||||
set background=dark
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=0 guibg=#073642
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=0 guibg=#073642
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_light"
|
||||
set background=light
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=15 guibg=#fdf6e3
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=15 guibg=#fdf6e3
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_light_flat"
|
||||
set background=light
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=15 guibg=#fdf6e3
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=15 guibg=#fdf6e3
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_light_high"
|
||||
set background=light
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=10 guifg=#586e75 ctermbg=15 guibg=#fdf6e3
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=10 guifg=#586e75 ctermbg=15 guibg=#fdf6e3
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -10,7 +10,11 @@ endif
|
||||
let colors_name = "solarized8_light_low"
|
||||
set background=light
|
||||
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
else
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5
|
||||
endif
|
||||
hi! Comment cterm=NONE gui=NONE,italic ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE
|
||||
hi! Constant cterm=NONE gui=NONE ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE
|
||||
hi! Identifier cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
|
||||
|
||||
Reference in New Issue
Block a user