From cd5e87ccfa6a782e8058255b91af94a45b7603e0 Mon Sep 17 00:00:00 2001 From: Lifepillar Date: Sun, 6 Oct 2019 13:00:05 +0200 Subject: [PATCH] Set Title's color to orange for dark background. When visibility is "normal", set the Title highlight group's foreground color to orange instead of yellow, as it was in the original Solarized. This change addresses https://github.com/lifepillar/vim-solarized8/issues/76. A yellow Title can be obtained by setting let g:solarized_visibility = "high" --- colors/solarized8.vim | 8 ++++---- colors/solarized8_flat.vim | 8 ++++---- colors/solarized8_high.vim | 8 ++++---- colors/solarized8_low.vim | 8 ++++---- doc/solarized8.txt | 2 +- templates/solarized8.colortemplate | 2 +- templates/solarized8_flat.colortemplate | 2 +- templates/solarized8_high.colortemplate | 2 +- templates/solarized8_low.colortemplate | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/colors/solarized8.vim b/colors/solarized8.vim index c1ac9c8..43f7e56 100644 --- a/colors/solarized8.vim +++ b/colors/solarized8.vim @@ -4,7 +4,7 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Sun Jul 14 22:06:30 2019 +" Last Updated: Sun Oct 6 12:55:59 2019 " Generated by Colortemplate v2.0.0 @@ -117,7 +117,7 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi SpellCap guifg=#6c71c4 guibg=NONE guisp=#6c71c4 gui=undercurl cterm=undercurl hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 gui=undercurl cterm=undercurl hi SpellRare guifg=#2aa198 guibg=NONE guisp=#2aa198 gui=undercurl cterm=undercurl - hi Title guifg=#b58900 guibg=NONE guisp=NONE gui=bold cterm=bold + hi Title guifg=#cb4b16 guibg=NONE guisp=NONE gui=bold cterm=bold endif if s:termtrans hi CursorLineNr guibg=NONE @@ -827,7 +827,7 @@ if s:t_Co >= 256 hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellRare ctermfg=37 ctermbg=NONE cterm=underline - hi Title ctermfg=136 ctermbg=NONE cterm=bold + hi Title ctermfg=166 ctermbg=NONE cterm=bold endif if s:termtrans hi CursorLineNr ctermbg=NONE @@ -1513,7 +1513,7 @@ if s:t_Co >= 16 hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellRare ctermfg=6 ctermbg=NONE cterm=underline - hi Title ctermfg=3 ctermbg=NONE cterm=bold + hi Title ctermfg=9 ctermbg=NONE cterm=bold endif if s:termtrans hi CursorLineNr ctermbg=NONE diff --git a/colors/solarized8_flat.vim b/colors/solarized8_flat.vim index bc4ad44..f1492c3 100644 --- a/colors/solarized8_flat.vim +++ b/colors/solarized8_flat.vim @@ -4,7 +4,7 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Sun Jul 14 22:06:32 2019 +" Last Updated: Sun Oct 6 12:56:00 2019 " Generated by Colortemplate v2.0.0 @@ -112,7 +112,7 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi SpellCap guifg=#6c71c4 guibg=NONE guisp=#6c71c4 gui=undercurl cterm=undercurl hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 gui=undercurl cterm=undercurl hi SpellRare guifg=#2aa198 guibg=NONE guisp=#2aa198 gui=undercurl cterm=undercurl - hi Title guifg=#b58900 guibg=NONE guisp=NONE gui=bold cterm=bold + hi Title guifg=#cb4b16 guibg=NONE guisp=NONE gui=bold cterm=bold endif if get(g:, 'solarized_old_cursor_style', 0) hi Cursor guifg=#002b36 guibg=#839496 guisp=NONE gui=NONE cterm=NONE @@ -788,7 +788,7 @@ if s:t_Co >= 256 hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellRare ctermfg=37 ctermbg=NONE cterm=underline - hi Title ctermfg=136 ctermbg=NONE cterm=bold + hi Title ctermfg=166 ctermbg=NONE cterm=bold endif if get(g:, 'solarized_old_cursor_style', 0) hi Cursor ctermfg=235 ctermbg=246 cterm=NONE @@ -1440,7 +1440,7 @@ if s:t_Co >= 16 hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellRare ctermfg=6 ctermbg=NONE cterm=underline - hi Title ctermfg=3 ctermbg=NONE cterm=bold + hi Title ctermfg=9 ctermbg=NONE cterm=bold endif if get(g:, 'solarized_old_cursor_style', 0) hi Cursor ctermfg=8 ctermbg=12 cterm=NONE diff --git a/colors/solarized8_high.vim b/colors/solarized8_high.vim index 0b5c701..a71eda9 100644 --- a/colors/solarized8_high.vim +++ b/colors/solarized8_high.vim @@ -4,7 +4,7 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Sun Jul 14 22:06:34 2019 +" Last Updated: Sun Oct 6 12:56:02 2019 " Generated by Colortemplate v2.0.0 @@ -112,7 +112,7 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi SpellCap guifg=#6c71c4 guibg=NONE guisp=#cb4b16 gui=undercurl cterm=undercurl hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 gui=undercurl cterm=undercurl hi SpellRare guifg=#2aa198 guibg=NONE guisp=#2aa198 gui=undercurl cterm=undercurl - hi Title guifg=#b58900 guibg=NONE guisp=NONE gui=bold cterm=bold + hi Title guifg=#cb4b16 guibg=NONE guisp=NONE gui=bold cterm=bold endif if s:termtrans hi CursorLineNr guibg=NONE @@ -814,7 +814,7 @@ if s:t_Co >= 256 hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellRare ctermfg=37 ctermbg=NONE cterm=underline - hi Title ctermfg=136 ctermbg=NONE cterm=bold + hi Title ctermfg=166 ctermbg=NONE cterm=bold endif if s:termtrans hi CursorLineNr ctermbg=NONE @@ -1492,7 +1492,7 @@ if s:t_Co >= 16 hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellRare ctermfg=6 ctermbg=NONE cterm=underline - hi Title ctermfg=3 ctermbg=NONE cterm=bold + hi Title ctermfg=9 ctermbg=NONE cterm=bold endif if s:termtrans hi CursorLineNr ctermbg=NONE diff --git a/colors/solarized8_low.vim b/colors/solarized8_low.vim index 410acc1..0b8f355 100644 --- a/colors/solarized8_low.vim +++ b/colors/solarized8_low.vim @@ -4,7 +4,7 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Sun Jul 14 22:06:35 2019 +" Last Updated: Sun Oct 6 12:56:03 2019 " Generated by Colortemplate v2.0.0 @@ -116,7 +116,7 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi SpellCap guifg=#6c71c4 guibg=NONE guisp=#6c71c4 gui=undercurl cterm=undercurl hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 gui=undercurl cterm=undercurl hi SpellRare guifg=#2aa198 guibg=NONE guisp=#2aa198 gui=undercurl cterm=undercurl - hi Title guifg=#b58900 guibg=NONE guisp=NONE gui=bold cterm=bold + hi Title guifg=#cb4b16 guibg=NONE guisp=NONE gui=bold cterm=bold endif if s:termtrans hi CursorLineNr guibg=NONE @@ -818,7 +818,7 @@ if s:t_Co >= 256 hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellRare ctermfg=37 ctermbg=NONE cterm=underline - hi Title ctermfg=136 ctermbg=NONE cterm=bold + hi Title ctermfg=166 ctermbg=NONE cterm=bold endif if s:termtrans hi CursorLineNr ctermbg=NONE @@ -1496,7 +1496,7 @@ if s:t_Co >= 16 hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellRare ctermfg=6 ctermbg=NONE cterm=underline - hi Title ctermfg=3 ctermbg=NONE cterm=bold + hi Title ctermfg=9 ctermbg=NONE cterm=bold endif if s:termtrans hi CursorLineNr ctermbg=NONE diff --git a/doc/solarized8.txt b/doc/solarized8.txt index 304afcf..13cacac 100644 --- a/doc/solarized8.txt +++ b/doc/solarized8.txt @@ -1,4 +1,4 @@ -*solarized8.txt* For Vim version 8.1 Last change: 2019 Jul 14 +*solarized8.txt* For Vim version 8.1 Last change: 2019 Oct 06 Solarized 8 color scheme diff --git a/templates/solarized8.colortemplate b/templates/solarized8.colortemplate index 60d301b..448bbff 100644 --- a/templates/solarized8.colortemplate +++ b/templates/solarized8.colortemplate @@ -88,7 +88,7 @@ Include: _fix-256-palette.colortemplate SpellCap violet none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan - Title yellow none bold + Title orange none bold #endif # }}} # [Cursor]LineNr transparency (dark) {{{ diff --git a/templates/solarized8_flat.colortemplate b/templates/solarized8_flat.colortemplate index 71f863a..f0826c0 100644 --- a/templates/solarized8_flat.colortemplate +++ b/templates/solarized8_flat.colortemplate @@ -77,7 +77,7 @@ Include: _dark_terminal.colortemplate SpellCap violet none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan - Title yellow none bold + Title orange none bold #endif # }}} # Cursor style (dark) {{{ diff --git a/templates/solarized8_high.colortemplate b/templates/solarized8_high.colortemplate index cbd4399..f0418d3 100644 --- a/templates/solarized8_high.colortemplate +++ b/templates/solarized8_high.colortemplate @@ -77,7 +77,7 @@ Include: _dark_terminal.colortemplate SpellCap violet none t=underline g=undercurl s=orange SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan - Title yellow none bold + Title orange none bold #endif # }}} # CursorLineNr transparency (dark) {{{ diff --git a/templates/solarized8_low.colortemplate b/templates/solarized8_low.colortemplate index 12d2b21..a40ddf9 100644 --- a/templates/solarized8_low.colortemplate +++ b/templates/solarized8_low.colortemplate @@ -81,7 +81,7 @@ Include: _dark_terminal.colortemplate SpellCap violet none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan - Title yellow none bold + Title orange none bold #endif # }}} # CursorLineNr transparency (dark) {{{