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"
This commit is contained in:
Lifepillar
2019-10-06 13:00:05 +02:00
parent 9afbe12f68
commit cd5e87ccfa
9 changed files with 21 additions and 21 deletions

View File

@@ -4,7 +4,7 @@
" Maintainer: Lifepillar <lifepillar@lifepillar.me> " Maintainer: Lifepillar <lifepillar@lifepillar.me>
" Website: https://github.com/lifepillar/vim-solarized8 " Website: https://github.com/lifepillar/vim-solarized8
" License: OSI approved MIT license " 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 " 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 SpellCap guifg=#6c71c4 guibg=NONE guisp=#6c71c4 gui=undercurl cterm=undercurl
hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 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 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr guibg=NONE hi CursorLineNr guibg=NONE
@@ -827,7 +827,7 @@ if s:t_Co >= 256
hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=37 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr ctermbg=NONE hi CursorLineNr ctermbg=NONE
@@ -1513,7 +1513,7 @@ if s:t_Co >= 16
hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=6 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr ctermbg=NONE hi CursorLineNr ctermbg=NONE

View File

@@ -4,7 +4,7 @@
" Maintainer: Lifepillar <lifepillar@lifepillar.me> " Maintainer: Lifepillar <lifepillar@lifepillar.me>
" Website: https://github.com/lifepillar/vim-solarized8 " Website: https://github.com/lifepillar/vim-solarized8
" License: OSI approved MIT license " 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 " 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 SpellCap guifg=#6c71c4 guibg=NONE guisp=#6c71c4 gui=undercurl cterm=undercurl
hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 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 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 endif
if get(g:, 'solarized_old_cursor_style', 0) if get(g:, 'solarized_old_cursor_style', 0)
hi Cursor guifg=#002b36 guibg=#839496 guisp=NONE gui=NONE cterm=NONE 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 SpellCap ctermfg=61 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=37 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 endif
if get(g:, 'solarized_old_cursor_style', 0) if get(g:, 'solarized_old_cursor_style', 0)
hi Cursor ctermfg=235 ctermbg=246 cterm=NONE 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 SpellCap ctermfg=13 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=6 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 endif
if get(g:, 'solarized_old_cursor_style', 0) if get(g:, 'solarized_old_cursor_style', 0)
hi Cursor ctermfg=8 ctermbg=12 cterm=NONE hi Cursor ctermfg=8 ctermbg=12 cterm=NONE

View File

@@ -4,7 +4,7 @@
" Maintainer: Lifepillar <lifepillar@lifepillar.me> " Maintainer: Lifepillar <lifepillar@lifepillar.me>
" Website: https://github.com/lifepillar/vim-solarized8 " Website: https://github.com/lifepillar/vim-solarized8
" License: OSI approved MIT license " 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 " 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 SpellCap guifg=#6c71c4 guibg=NONE guisp=#cb4b16 gui=undercurl cterm=undercurl
hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 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 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr guibg=NONE hi CursorLineNr guibg=NONE
@@ -814,7 +814,7 @@ if s:t_Co >= 256
hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=37 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr ctermbg=NONE hi CursorLineNr ctermbg=NONE
@@ -1492,7 +1492,7 @@ if s:t_Co >= 16
hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=6 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr ctermbg=NONE hi CursorLineNr ctermbg=NONE

View File

@@ -4,7 +4,7 @@
" Maintainer: Lifepillar <lifepillar@lifepillar.me> " Maintainer: Lifepillar <lifepillar@lifepillar.me>
" Website: https://github.com/lifepillar/vim-solarized8 " Website: https://github.com/lifepillar/vim-solarized8
" License: OSI approved MIT license " 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 " 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 SpellCap guifg=#6c71c4 guibg=NONE guisp=#6c71c4 gui=undercurl cterm=undercurl
hi SpellLocal guifg=#b58900 guibg=NONE guisp=#b58900 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 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr guibg=NONE hi CursorLineNr guibg=NONE
@@ -818,7 +818,7 @@ if s:t_Co >= 256
hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline hi SpellCap ctermfg=61 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=136 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=37 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr ctermbg=NONE hi CursorLineNr ctermbg=NONE
@@ -1496,7 +1496,7 @@ if s:t_Co >= 16
hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline hi SpellCap ctermfg=13 ctermbg=NONE cterm=underline
hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline hi SpellLocal ctermfg=3 ctermbg=NONE cterm=underline
hi SpellRare ctermfg=6 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 endif
if s:termtrans if s:termtrans
hi CursorLineNr ctermbg=NONE hi CursorLineNr ctermbg=NONE

View File

@@ -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 Solarized 8 color scheme

View File

@@ -88,7 +88,7 @@ Include: _fix-256-palette.colortemplate
SpellCap violet none t=underline g=undercurl s=violet SpellCap violet none t=underline g=undercurl s=violet
SpellLocal yellow none t=underline g=undercurl s=yellow SpellLocal yellow none t=underline g=undercurl s=yellow
SpellRare cyan none t=underline g=undercurl s=cyan SpellRare cyan none t=underline g=undercurl s=cyan
Title yellow none bold Title orange none bold
#endif #endif
# }}} # }}}
# [Cursor]LineNr transparency (dark) {{{ # [Cursor]LineNr transparency (dark) {{{

View File

@@ -77,7 +77,7 @@ Include: _dark_terminal.colortemplate
SpellCap violet none t=underline g=undercurl s=violet SpellCap violet none t=underline g=undercurl s=violet
SpellLocal yellow none t=underline g=undercurl s=yellow SpellLocal yellow none t=underline g=undercurl s=yellow
SpellRare cyan none t=underline g=undercurl s=cyan SpellRare cyan none t=underline g=undercurl s=cyan
Title yellow none bold Title orange none bold
#endif #endif
# }}} # }}}
# Cursor style (dark) {{{ # Cursor style (dark) {{{

View File

@@ -77,7 +77,7 @@ Include: _dark_terminal.colortemplate
SpellCap violet none t=underline g=undercurl s=orange SpellCap violet none t=underline g=undercurl s=orange
SpellLocal yellow none t=underline g=undercurl s=yellow SpellLocal yellow none t=underline g=undercurl s=yellow
SpellRare cyan none t=underline g=undercurl s=cyan SpellRare cyan none t=underline g=undercurl s=cyan
Title yellow none bold Title orange none bold
#endif #endif
# }}} # }}}
# CursorLineNr transparency (dark) {{{ # CursorLineNr transparency (dark) {{{

View File

@@ -81,7 +81,7 @@ Include: _dark_terminal.colortemplate
SpellCap violet none t=underline g=undercurl s=violet SpellCap violet none t=underline g=undercurl s=violet
SpellLocal yellow none t=underline g=undercurl s=yellow SpellLocal yellow none t=underline g=undercurl s=yellow
SpellRare cyan none t=underline g=undercurl s=cyan SpellRare cyan none t=underline g=undercurl s=cyan
Title yellow none bold Title orange none bold
#endif #endif
# }}} # }}}
# CursorLineNr transparency (dark) {{{ # CursorLineNr transparency (dark) {{{