mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
Add colortemplate for light theme.
This commit is contained in:
@@ -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: Sat Oct 28 14:10:20 2017
|
" Last Updated: Sat Oct 28 14:51:46 2017
|
||||||
|
|
||||||
if !(has('termguicolors') && &termguicolors) && !has('gui_running')
|
if !(has('termguicolors') && &termguicolors) && !has('gui_running')
|
||||||
\ && (!exists('&t_Co') || &t_Co < (get(g:, 'solarized_use16', 0) ? 16 : 256))
|
\ && (!exists('&t_Co') || &t_Co < (get(g:, 'solarized_use16', 0) ? 16 : 256))
|
||||||
@@ -43,9 +43,15 @@ let g:colors_name = 'solarized8_dark'
|
|||||||
if get(g:, 'solarized_use16', 1)
|
if get(g:, 'solarized_use16', 1)
|
||||||
if !has('gui_running') && get(g:, 'solarized8_dark_transp_bg', 0)
|
if !has('gui_running') && get(g:, 'solarized8_dark_transp_bg', 0)
|
||||||
hi Normal ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
hi Normal ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||||
|
hi CursorLineNr ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=10 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi LineNr ctermfg=10 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
hi LineNr ctermfg=10 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||||
else
|
else
|
||||||
hi Normal ctermfg=12 ctermbg=8 guifg=#839496 guibg=#002b36 guisp=NONE cterm=NONE gui=NONE
|
hi Normal ctermfg=12 ctermbg=8 guifg=#839496 guibg=#002b36 guisp=NONE cterm=NONE gui=NONE
|
||||||
|
hi CursorLineNr ctermfg=9 ctermbg=bg guifg=#cb4b16 guibg=bg guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=10 ctermbg=bg guifg=#586e75 guibg=bg guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=12 ctermbg=bg guifg=#839496 guibg=bg guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi LineNr ctermfg=10 ctermbg=bg guifg=#586e75 guibg=bg guisp=NONE cterm=NONE gui=NONE
|
hi LineNr ctermfg=10 ctermbg=bg guifg=#586e75 guibg=bg guisp=NONE cterm=NONE gui=NONE
|
||||||
endif
|
endif
|
||||||
hi ColorColumn ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
hi ColorColumn ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||||
@@ -58,17 +64,14 @@ endif
|
|||||||
hi CursorColumn ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
hi CursorColumn ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||||
hi CursorLine ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=#93a1a1 cterm=NONE gui=NONE
|
hi CursorLine ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=#93a1a1 cterm=NONE gui=NONE
|
||||||
if get(g:, "solarized_visibility", "") == "high"
|
if get(g:, "solarized_visibility", "") == "high"
|
||||||
hi CursorLineNr ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
|
||||||
hi NonText ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi NonText ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi SpecialKey ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
hi SpecialKey ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||||
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
elseif get(g:, "solarized_visibility", "") == "low"
|
elseif get(g:, "solarized_visibility", "") == "low"
|
||||||
hi CursorLineNr ctermfg=10 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
|
||||||
hi NonText ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi NonText ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi SpecialKey ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
hi SpecialKey ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||||
hi Title ctermfg=10 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi Title ctermfg=10 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
else
|
else
|
||||||
hi CursorLineNr ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
|
||||||
hi NonText ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi NonText ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi SpecialKey ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi SpecialKey ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
@@ -381,9 +384,15 @@ endif
|
|||||||
if !get(g:, 'solarized_use16', 1)
|
if !get(g:, 'solarized_use16', 1)
|
||||||
if !has('gui_running') && get(g:, 'solarized8_dark_transp_bg', 0)
|
if !has('gui_running') && get(g:, 'solarized8_dark_transp_bg', 0)
|
||||||
hi Normal ctermfg=246 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
hi Normal ctermfg=246 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||||
|
hi CursorLineNr ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=242 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=246 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi LineNr ctermfg=242 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
hi LineNr ctermfg=242 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||||
else
|
else
|
||||||
hi Normal ctermfg=246 ctermbg=235 guifg=#839496 guibg=#002b36 guisp=NONE cterm=NONE gui=NONE
|
hi Normal ctermfg=246 ctermbg=235 guifg=#839496 guibg=#002b36 guisp=NONE cterm=NONE gui=NONE
|
||||||
|
hi CursorLineNr ctermfg=166 ctermbg=bg guifg=#cb4b16 guibg=bg guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=242 ctermbg=bg guifg=#586e75 guibg=bg guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
|
hi CursorLineNr ctermfg=246 ctermbg=bg guifg=#839496 guibg=bg guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi LineNr ctermfg=242 ctermbg=bg guifg=#586e75 guibg=bg guisp=NONE cterm=NONE gui=NONE
|
hi LineNr ctermfg=242 ctermbg=bg guifg=#586e75 guibg=bg guisp=NONE cterm=NONE gui=NONE
|
||||||
endif
|
endif
|
||||||
hi ColorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
hi ColorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||||
@@ -396,17 +405,14 @@ endif
|
|||||||
hi CursorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
hi CursorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||||
hi CursorLine ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=#93a1a1 cterm=NONE gui=NONE
|
hi CursorLine ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=#93a1a1 cterm=NONE gui=NONE
|
||||||
if get(g:, "solarized_visibility", "") == "high"
|
if get(g:, "solarized_visibility", "") == "high"
|
||||||
hi CursorLineNr ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
|
||||||
hi NonText ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi NonText ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi SpecialKey ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
hi SpecialKey ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||||
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
elseif get(g:, "solarized_visibility", "") == "low"
|
elseif get(g:, "solarized_visibility", "") == "low"
|
||||||
hi CursorLineNr ctermfg=242 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
|
||||||
hi NonText ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi NonText ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi SpecialKey ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
hi SpecialKey ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||||
hi Title ctermfg=242 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi Title ctermfg=242 ctermbg=NONE guifg=#586e75 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
else
|
else
|
||||||
hi CursorLineNr ctermfg=246 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
|
||||||
hi NonText ctermfg=66 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi NonText ctermfg=66 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi SpecialKey ctermfg=66 ctermbg=236 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi SpecialKey ctermfg=66 ctermbg=236 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||||
@@ -752,20 +758,20 @@ endif
|
|||||||
" CursorLine none base02 s=base1
|
" CursorLine none base02 s=base1
|
||||||
" verbatim
|
" verbatim
|
||||||
" endverbatim
|
" endverbatim
|
||||||
" CursorLineNr orange none bold
|
" CursorLineNr orange bg bold
|
||||||
" NonText orange none bold
|
" NonText orange none bold
|
||||||
" SpecialKey orange none reverse
|
" SpecialKey orange none reverse
|
||||||
" Title yellow none bold
|
" Title yellow none bold
|
||||||
" verbatim
|
" verbatim
|
||||||
" endverbatim
|
" endverbatim
|
||||||
" CursorLineNr base01 none bold
|
" CursorLineNr base01 bg bold
|
||||||
" NonText base02 none bold
|
" NonText base02 none bold
|
||||||
" SpecialKey base02 none reverse
|
" SpecialKey base02 none reverse
|
||||||
" Title base01 none bold
|
" Title base01 none bold
|
||||||
" verbatim
|
" verbatim
|
||||||
" else
|
" else
|
||||||
" endverbatim
|
" endverbatim
|
||||||
" CursorLineNr base0 none bold
|
" CursorLineNr base0 bg bold
|
||||||
" NonText base00 none bold
|
" NonText base00 none bold
|
||||||
" SpecialKey base00 base02 bold
|
" SpecialKey base00 base02 bold
|
||||||
" Title yellow none bold
|
" Title yellow none bold
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
47
doc/solarized8_light.txt
Normal file
47
doc/solarized8_light.txt
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
|
||||||
|
==============================================================================
|
||||||
|
Solarized8 Light colorscheme *solarized8_light*
|
||||||
|
|
||||||
|
*g:solarized_diffmode*
|
||||||
|
Tweak the way diffs are displayed. Allowed values are `"normal"` (default),
|
||||||
|
`"high"`, and `"low"`.
|
||||||
|
>
|
||||||
|
let g:solarized_diffmode = "normal"
|
||||||
|
<
|
||||||
|
*g:solarized_old_cursor_style*
|
||||||
|
Set to 1 if you want to use the original Solarized's cursor style. By default,
|
||||||
|
the cursor is blue. NOTE: your terminal may override the cursor's color.
|
||||||
|
>
|
||||||
|
let g:solarized_old_cursor_style = 0
|
||||||
|
<
|
||||||
|
*g:solarized_statusline*
|
||||||
|
Set to `"low"` to reduce the contrast in the status line.
|
||||||
|
>
|
||||||
|
let g:solarized_statusline = "normal"
|
||||||
|
<
|
||||||
|
*g:solarized_term_italics*
|
||||||
|
Set to 0 if you want to disable italics in the terminal.
|
||||||
|
>
|
||||||
|
let g:solarized_term_italics = 1
|
||||||
|
<
|
||||||
|
*g:solarized_visibility*
|
||||||
|
Tweak the visibility of a few elements. Allowed values are `"normal"`
|
||||||
|
(default), `"high"`, and `"low"`.
|
||||||
|
>
|
||||||
|
let g:solarized_visibility = "normal"
|
||||||
|
<
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
Solarized8 Light other options *solarized8_light-other-options*
|
||||||
|
|
||||||
|
*g:solarized_transp_bg*
|
||||||
|
Set to 1 if you want a transparent background. Takes effect only in the
|
||||||
|
terminal.
|
||||||
|
>
|
||||||
|
let g:solarized_transp_bg = 0
|
||||||
|
<
|
||||||
|
*g:solarized_use16*
|
||||||
|
Set to 0 if you want to use 256 colors.
|
||||||
|
>
|
||||||
|
let g:solarized_use16 = 1
|
||||||
|
<
|
||||||
543
solarized8_light.colortemplate
Normal file
543
solarized8_light.colortemplate
Normal file
@@ -0,0 +1,543 @@
|
|||||||
|
# vim: ft=colortemplate fdm=marker
|
||||||
|
|
||||||
|
# Information {{{
|
||||||
|
Full name: Solarized8 Light
|
||||||
|
Short name: solarized8_light
|
||||||
|
Author: Ethan Schoonover
|
||||||
|
Maintainer: Lifepillar <lifepillar@lifepillar.me>
|
||||||
|
Website: https://github.com/lifepillar/vim-solarized8
|
||||||
|
Description: Precision colors for machines and people
|
||||||
|
Terminal Colors: 16, 256
|
||||||
|
Option Prefix: solarized
|
||||||
|
License: OSI approved MIT license
|
||||||
|
# Copyright (c) 2011 Ethan Schoonover
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
|
# the Software without restriction, including without limitation the rights to
|
||||||
|
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
# of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
# so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
|
# copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# Documentation {{{
|
||||||
|
documentation
|
||||||
|
==============================================================================
|
||||||
|
@fullname colorscheme *@shortname*
|
||||||
|
|
||||||
|
*g:@optionprefix_diffmode*
|
||||||
|
Tweak the way diffs are displayed. Allowed values are `"normal"` (default),
|
||||||
|
`"high"`, and `"low"`.
|
||||||
|
>
|
||||||
|
let g:@optionprefix_diffmode = "normal"
|
||||||
|
<
|
||||||
|
*g:@optionprefix_old_cursor_style*
|
||||||
|
Set to 1 if you want to use the original Solarized's cursor style. By default,
|
||||||
|
the cursor is blue. NOTE: your terminal may override the cursor's color.
|
||||||
|
>
|
||||||
|
let g:@optionprefix_old_cursor_style = 0
|
||||||
|
<
|
||||||
|
*g:@optionprefix_statusline*
|
||||||
|
Set to `"low"` to reduce the contrast in the status line.
|
||||||
|
>
|
||||||
|
let g:@optionprefix_statusline = "normal"
|
||||||
|
<
|
||||||
|
*g:@optionprefix_term_italics*
|
||||||
|
Set to 0 if you want to disable italics in the terminal.
|
||||||
|
>
|
||||||
|
let g:@optionprefix_term_italics = 1
|
||||||
|
<
|
||||||
|
*g:@optionprefix_visibility*
|
||||||
|
Tweak the visibility of a few elements. Allowed values are `"normal"`
|
||||||
|
(default), `"high"`, and `"low"`.
|
||||||
|
>
|
||||||
|
let g:@optionprefix_visibility = "normal"
|
||||||
|
<
|
||||||
|
|
||||||
|
enddocumentation
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# Color palette {{{
|
||||||
|
# Color name GUI Base256 Base16 (optional)
|
||||||
|
Color: base3 #002b36 ~ 8
|
||||||
|
Color: base2 #073642 ~ 0
|
||||||
|
Color: base1 #586e75 ~ 10
|
||||||
|
Color: base0 #657b83 ~ 11
|
||||||
|
Color: base00 #839496 ~ 12
|
||||||
|
Color: base01 #93a1a1 ~ 14
|
||||||
|
Color: base02 #eee8d5 ~ 7
|
||||||
|
Color: base03 #fdf6e3 ~ 15
|
||||||
|
Color: yellow #b58900 ~ 3
|
||||||
|
Color: orange #cb4b16 ~ 9
|
||||||
|
Color: red #dc322f ~ 1
|
||||||
|
Color: magenta #d33682 ~ 5
|
||||||
|
Color: violet #6c71c4 ~ 13
|
||||||
|
Color: blue #268bd2 ~ 4
|
||||||
|
Color: cyan #2aa198 ~ 6
|
||||||
|
Color: green #859900 ~ 2
|
||||||
|
#Color:green #719e07 ~ 2
|
||||||
|
Color: back #fdf6e3 ~ 15
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
Background: dark
|
||||||
|
|
||||||
|
# Default highlight groups {{{
|
||||||
|
# Comment out (do not delete) the definitions that you want to keep at their default.
|
||||||
|
# Group Foreground Background Attributes
|
||||||
|
Normal base0 back
|
||||||
|
ColorColumn none base02
|
||||||
|
Conceal blue none
|
||||||
|
CursorColumn none base02
|
||||||
|
CursorLine none base02 s=base1
|
||||||
|
|
||||||
|
# Visibility and cursor style ===============================================
|
||||||
|
# High visibiity
|
||||||
|
verbatim
|
||||||
|
if get(g:, "@optionprefix_visibility", "") == "high"
|
||||||
|
if get(g:, '@optionprefix_old_cursor_style', 0)
|
||||||
|
endverbatim
|
||||||
|
Cursor base03 base0
|
||||||
|
verbatim
|
||||||
|
else
|
||||||
|
endverbatim
|
||||||
|
Cursor red base03
|
||||||
|
verbatim
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
CursorLineNr red bg bold
|
||||||
|
MatchParen base03 base00 bold
|
||||||
|
NonText red none bold
|
||||||
|
SpecialKey red none reverse
|
||||||
|
Title orange none bold
|
||||||
|
# Low visibility
|
||||||
|
verbatim
|
||||||
|
elseif get(g:, "@optionprefix_visibility", "") == "low"
|
||||||
|
if get(g:, '@optionprefix_old_cursor_style', 0)
|
||||||
|
endverbatim
|
||||||
|
Cursor base03 base0
|
||||||
|
verbatim
|
||||||
|
else
|
||||||
|
endverbatim
|
||||||
|
Cursor orange base03
|
||||||
|
verbatim
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
CursorLineNr base01 bg bold
|
||||||
|
MatchParen red base02 bold,underline
|
||||||
|
NonText base02 none bold
|
||||||
|
SpecialKey base02 none reverse
|
||||||
|
Title base01 none bold
|
||||||
|
# Normal visibility
|
||||||
|
verbatim
|
||||||
|
else
|
||||||
|
if get(g:, 'solarized_old_cursor_style', 0)
|
||||||
|
endverbatim
|
||||||
|
Cursor base03 base0
|
||||||
|
verbatim
|
||||||
|
else
|
||||||
|
endverbatim
|
||||||
|
Cursor orange base03
|
||||||
|
verbatim
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
CursorLineNr base0 bg bold
|
||||||
|
MatchParen red base02 bold,underline
|
||||||
|
NonText base00 none bold
|
||||||
|
SpecialKey base00 base02 bold
|
||||||
|
Title orange none bold
|
||||||
|
verbatim
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Diff mode =================================================================
|
||||||
|
verbatim
|
||||||
|
if get(g:, "@optionprefix_diffmode", "") == "high"
|
||||||
|
endverbatim
|
||||||
|
DiffAdd green none reverse
|
||||||
|
DiffChange yellow none reverse
|
||||||
|
DiffDelete red none reverse
|
||||||
|
DiffText blue none reverse
|
||||||
|
verbatim
|
||||||
|
elseif get(g:, "@optionprefix_diffmode", "") == "low"
|
||||||
|
endverbatim
|
||||||
|
DiffAdd green none s=green
|
||||||
|
DiffChange yellow none s=yellow
|
||||||
|
DiffDelete red none bold
|
||||||
|
DiffText blue none s=blue
|
||||||
|
verbatim
|
||||||
|
else
|
||||||
|
endverbatim
|
||||||
|
DiffAdd green base02 s=green
|
||||||
|
DiffChange yellow base02 s=yellow
|
||||||
|
DiffDelete red base02 bold
|
||||||
|
DiffText blue base02 s=blue
|
||||||
|
verbatim
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
Directory blue none
|
||||||
|
EndOfBuffer none none
|
||||||
|
ErrorMsg red base03 reverse
|
||||||
|
FoldColumn base0 none
|
||||||
|
Folded base0 none bold s=base03
|
||||||
|
IncSearch orange none standout
|
||||||
|
LineNr base01 bg
|
||||||
|
ModeMsg blue none
|
||||||
|
MoreMsg blue none
|
||||||
|
Pmenu base02 base0 reverse
|
||||||
|
PmenuSbar base02 base01 reverse
|
||||||
|
PmenuSel base00 base2 reverse
|
||||||
|
PmenuThumb base01 base03 reverse
|
||||||
|
Question cyan none bold
|
||||||
|
QuickFixLine -> Search
|
||||||
|
Search yellow none reverse
|
||||||
|
SignColumn base0 none
|
||||||
|
SpellBad magenta none undercurl s=violet
|
||||||
|
SpellCap magenta none undercurl s=violet
|
||||||
|
SpellLocal yellow none undercurl s=yellow
|
||||||
|
SpellRare cyan none undercurl s=cyan
|
||||||
|
verbatim
|
||||||
|
if get(g:, "@optionprefix_statusline", "") == "low"
|
||||||
|
endverbatim
|
||||||
|
StatusLine base01 base03 reverse
|
||||||
|
StatusLineNC base01 base1 reverse
|
||||||
|
TabLine base01 base1 reverse
|
||||||
|
TabLineFill base01 base1 reverse
|
||||||
|
TabLineSel base1 base03 reverse
|
||||||
|
verbatim
|
||||||
|
else
|
||||||
|
endverbatim
|
||||||
|
StatusLine base1 base02 reverse
|
||||||
|
StatusLineNC base00 base02 reverse
|
||||||
|
TabLine base00 base02 reverse
|
||||||
|
TabLineFill base00 base02 reverse
|
||||||
|
TabLineSel base2 base02 reverse
|
||||||
|
verbatim
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
StatusLineTerm -> StatusLine
|
||||||
|
StatusLineTermNC -> StatusLineNC
|
||||||
|
VertSplit base01 base01
|
||||||
|
Visual base01 base03 reverse
|
||||||
|
VisualNOS none base02 reverse
|
||||||
|
WarningMsg orange none bold
|
||||||
|
WildMenu base2 base02 reverse
|
||||||
|
# Other conventional group names (see `:help group-name`)
|
||||||
|
Boolean -> Constant
|
||||||
|
Character -> Constant
|
||||||
|
Comment base01 none g=italic
|
||||||
|
Conditional -> Statement
|
||||||
|
Constant cyan none
|
||||||
|
Define -> PreProc
|
||||||
|
Debug -> Special
|
||||||
|
Delimiter -> Special
|
||||||
|
Error red none bold
|
||||||
|
Exception -> Statement
|
||||||
|
Float -> Constant
|
||||||
|
Function -> Identifier
|
||||||
|
Identifier blue none
|
||||||
|
Ignore none none
|
||||||
|
Include -> PreProc
|
||||||
|
Keyword -> Statement
|
||||||
|
Label -> Statement
|
||||||
|
Macro -> PreProc
|
||||||
|
Number -> Constant
|
||||||
|
Operator -> Statement
|
||||||
|
PreCondit -> PreProc
|
||||||
|
PreProc orange none
|
||||||
|
Repeat -> Statement
|
||||||
|
Special orange none
|
||||||
|
SpecialChar -> Special
|
||||||
|
SpecialComment -> Special
|
||||||
|
Statement green none
|
||||||
|
StorageClass -> Type
|
||||||
|
String -> Constant
|
||||||
|
Structure -> Type
|
||||||
|
Tag -> Special
|
||||||
|
Todo magenta none bold
|
||||||
|
Type yellow none
|
||||||
|
Typedef -> Type
|
||||||
|
Underlined violet none
|
||||||
|
# See `:help lCursor`
|
||||||
|
lCursor -> Cursor
|
||||||
|
# See `:help CursorIM`
|
||||||
|
CursorIM none fg
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# Additional highlight groups {{{
|
||||||
|
NormalMode base0 base3 reverse
|
||||||
|
InsertMode cyan base3 reverse
|
||||||
|
ReplaceMode orange base3 reverse
|
||||||
|
VisualMode magenta base3 reverse
|
||||||
|
CommandMode magenta base3 reverse
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# Plugin specific highlight groups {{{
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# Filetype specific highlight groups {{{
|
||||||
|
# vim {{{
|
||||||
|
vimVar -> Identifier
|
||||||
|
vimFunc -> Function
|
||||||
|
vimUserFunc -> Function
|
||||||
|
helpSpecial -> Special
|
||||||
|
vimSet -> Normal
|
||||||
|
vimSetEqual -> Normal
|
||||||
|
vimCommentString violet none
|
||||||
|
vimCommand yellow none
|
||||||
|
vimCmdSep blue none bold
|
||||||
|
helpExample base1 none
|
||||||
|
helpOption cyan none
|
||||||
|
helpNote magenta none
|
||||||
|
helpVim magenta none
|
||||||
|
helpHyperTextJump blue none
|
||||||
|
helpHyperTextEntry green none
|
||||||
|
vimIsCommand base00 none
|
||||||
|
vimSynMtchOpt yellow none
|
||||||
|
vimSynType cyan none
|
||||||
|
vimHiLink blue none
|
||||||
|
vimHiGroup blue none
|
||||||
|
vimGroup blue none bold
|
||||||
|
# }}}
|
||||||
|
# diff {{{
|
||||||
|
diffAdded -> Statement
|
||||||
|
diffLine -> Identifier
|
||||||
|
# }}}
|
||||||
|
# git {{{
|
||||||
|
gitcommitComment base01 none g=italic
|
||||||
|
gitcommitUntracked -> gitcommitComment
|
||||||
|
gitcommitDiscarded -> gitcommitComment
|
||||||
|
gitcommitSelected -> gitcommitComment
|
||||||
|
gitcommitUnmerged green none bold
|
||||||
|
gitcommitOnBranch base01 none bold
|
||||||
|
gitcommitBranch magenta none bold
|
||||||
|
gitcommitNoBranch -> gitcommitBranch
|
||||||
|
gitcommitdiscardedtype red none
|
||||||
|
gitcommitselectedtype green none
|
||||||
|
gitcommitHeader base01 none
|
||||||
|
gitcommitUntrackedFile cyan none bold
|
||||||
|
gitcommitDiscardedFile red none bold
|
||||||
|
gitcommitSelectedFile green none bold
|
||||||
|
gitcommitUnmergedFile yellow none bold
|
||||||
|
gitcommitFile base0 none bold
|
||||||
|
gitcommitDiscardedArrow -> gitcommitDiscardedFile
|
||||||
|
gitcommitSelectedArrow -> gitcommitSelectedFile
|
||||||
|
gitcommitUnmergedArrow -> gitcommitUnmergedFile
|
||||||
|
# }}}
|
||||||
|
# html {{{
|
||||||
|
htmlTag base01 none
|
||||||
|
htmlEndTag base01 none
|
||||||
|
htmlTagN base1 none bold
|
||||||
|
htmlTagName blue none bold
|
||||||
|
htmlSpecialTagName blue none g=italic
|
||||||
|
htmlArg base00 none
|
||||||
|
javaScript yellow none
|
||||||
|
# }}}
|
||||||
|
# perl {{{
|
||||||
|
perlHereDoc base1 back
|
||||||
|
perlVarPlain yellow back
|
||||||
|
perlStatementFileDesc cyan back
|
||||||
|
# }}}
|
||||||
|
# tex {{{
|
||||||
|
texstatement cyan back
|
||||||
|
texmathzonex yellow back
|
||||||
|
texmathmatcher yellow back
|
||||||
|
texreflabel yellow back
|
||||||
|
# }}}
|
||||||
|
# ruby {{{
|
||||||
|
rubyDefine base1 back bold
|
||||||
|
rubySymbol -> Type
|
||||||
|
rubyBoolean magenta back
|
||||||
|
# }}}
|
||||||
|
# haskell {{{
|
||||||
|
# For use with syntax/haskell.vim : Haskell Syntax File
|
||||||
|
# http://www.vim.org/scripts/script.php?script_id=3034
|
||||||
|
# See also Steffen Siering's github repository:
|
||||||
|
# http://github.com/urso/dotrc/blob/master/vim/syntax/haskell.vim
|
||||||
|
#
|
||||||
|
# Treat True and False and highlight delims specially, see the plugin
|
||||||
|
# referenced above.
|
||||||
|
verbatim
|
||||||
|
let hs_highlight_boolean=1
|
||||||
|
let hs_highlight_delimiters=1
|
||||||
|
endverbatim
|
||||||
|
cPreCondit orange none
|
||||||
|
VarId blue none
|
||||||
|
ConId yellow none
|
||||||
|
hsImport magenta none
|
||||||
|
hsString base00 none
|
||||||
|
hsStructure cyan none
|
||||||
|
hs_hlFunctionName blue none
|
||||||
|
hsStatement cyan none
|
||||||
|
hsImportLabel cyan none
|
||||||
|
hs_OpFunctionName yellow none
|
||||||
|
hs_DeclareFunction orange none
|
||||||
|
hsVarSym cyan none
|
||||||
|
hsType yellow none
|
||||||
|
hsTypedef cyan none
|
||||||
|
hsModuleName green none
|
||||||
|
hsImportParams -> Delimiter
|
||||||
|
hsDelimTypeExport -> Delimiter
|
||||||
|
hsModuleStartLabel -> hsStructure
|
||||||
|
hsModuleWhereLabel -> hsModuleStartLabel
|
||||||
|
# following is for the haskell-conceal plugin
|
||||||
|
# the first two items don't have an impact, but better safe
|
||||||
|
hsNiceOperator cyan none
|
||||||
|
hsniceoperator cyan none
|
||||||
|
# }}}
|
||||||
|
# pandoc {{{
|
||||||
|
pandocTitleBlock blue none
|
||||||
|
pandocTitleBlockTitle blue none bold
|
||||||
|
pandocTitleComment blue none bold
|
||||||
|
pandocComment base01 none g=italic
|
||||||
|
pandocVerbatimBlock yellow none
|
||||||
|
pandocVerbatimBlockDeep -> pandocVerbatimBlock
|
||||||
|
pandocCodeBlock -> pandocVerbatimBlock
|
||||||
|
pandocCodeBlockDelim -> pandocVerbatimBlock
|
||||||
|
pandocBlockQuote blue none
|
||||||
|
pandocBlockQuoteLeader1 blue none
|
||||||
|
pandocBlockQuoteLeader2 cyan none
|
||||||
|
pandocBlockQuoteLeader3 yellow none
|
||||||
|
pandocBlockQuoteLeader4 red none
|
||||||
|
pandocBlockQuoteLeader5 base0 none
|
||||||
|
pandocBlockQuoteLeader6 base01 none
|
||||||
|
pandocListMarker magenta none
|
||||||
|
pandocListReference magenta none
|
||||||
|
# Definitions
|
||||||
|
pandocDefinitionBlock violet none
|
||||||
|
pandocDefinitionTerm violet none standout
|
||||||
|
pandocDefinitionIndctr violet none bold
|
||||||
|
pandocEmphasisDefinition violet none g=italic
|
||||||
|
pandocEmphasisNestedDefinition violet none bold
|
||||||
|
pandocStrongEmphasisDefinition violet none bold
|
||||||
|
pandocStrongEmphasisNestedDefinition violet none bold
|
||||||
|
pandocStrongEmphasisEmphasisDefinition violet none bold
|
||||||
|
pandocStrikeoutDefinition violet none reverse
|
||||||
|
pandocVerbatimInlineDefinition violet none
|
||||||
|
pandocSuperscriptDefinition violet none
|
||||||
|
pandocSubscriptDefinition violet none
|
||||||
|
# Tables
|
||||||
|
pandocTable blue none
|
||||||
|
pandocTableStructure blue none
|
||||||
|
# Sic in the original Solarized:
|
||||||
|
pandocTableStructureTop -> pandocTableStructre
|
||||||
|
pandocTableStructureEnd -> pandocTableStructre
|
||||||
|
pandocTableZebraLight blue base03
|
||||||
|
pandocTableZebraDark blue base02
|
||||||
|
pandocEmphasisTable blue none g=italic
|
||||||
|
pandocEmphasisNestedTable blue none bold
|
||||||
|
pandocStrongEmphasisTable blue none bold
|
||||||
|
pandocStrongEmphasisNestedTable blue none bold
|
||||||
|
pandocStrongEmphasisEmphasisTable blue none bold
|
||||||
|
pandocStrikeoutTable blue none reverse
|
||||||
|
pandocVerbatimInlineTable blue none
|
||||||
|
pandocSuperscriptTable blue none
|
||||||
|
pandocSubscriptTable blue none
|
||||||
|
# Headings
|
||||||
|
pandocHeading orange none bold
|
||||||
|
pandocHeadingMarker orange none bold
|
||||||
|
pandocEmphasisHeading orange none bold
|
||||||
|
pandocEmphasisNestedHeading orange none bold
|
||||||
|
pandocStrongEmphasisHeading orange none bold
|
||||||
|
pandocStrongEmphasisNestedHeading orange none bold
|
||||||
|
pandocStrongEmphasisEmphasisHeading orange none bold
|
||||||
|
pandocStrikeoutHeading orange none reverse
|
||||||
|
pandocVerbatimInlineHeading orange none bold
|
||||||
|
pandocSuperscriptHeading orange none bold
|
||||||
|
pandocSubscriptHeading orange none bold
|
||||||
|
# Links
|
||||||
|
pandocLinkDelim base01 none
|
||||||
|
pandocLinkLabel blue none
|
||||||
|
pandocLinkText blue none
|
||||||
|
pandocLinkURL base00 none
|
||||||
|
pandocLinkTitle base00 none
|
||||||
|
pandocLinkTitleDelim base01 none s=base00
|
||||||
|
pandocLinkDefinition cyan none s=base00
|
||||||
|
pandocLinkDefinitionID blue none bold
|
||||||
|
pandocImageCaption violet none bold
|
||||||
|
pandocFootnoteLink green none
|
||||||
|
pandocFootnoteDefLink green none bold
|
||||||
|
pandocFootnoteInline green none bold
|
||||||
|
pandocFootnote green none
|
||||||
|
pandocCitationDelim magenta none
|
||||||
|
pandocCitation magenta none
|
||||||
|
pandocCitationID magenta none
|
||||||
|
pandocCitationRef magenta none
|
||||||
|
# Main Styles
|
||||||
|
pandocStyleDelim base01 none
|
||||||
|
pandocEmphasis base0 none g=italic
|
||||||
|
pandocEmphasisNested base0 none bold
|
||||||
|
pandocStrongEmphasis base0 none bold
|
||||||
|
pandocStrongEmphasisNested base0 none bold
|
||||||
|
pandocStrongEmphasisEmphasis base0 none bold
|
||||||
|
pandocStrikeout base01 none reverse
|
||||||
|
pandocVerbatimInline yellow none
|
||||||
|
pandocSuperscript violet none
|
||||||
|
pandocSubscript violet none
|
||||||
|
pandocRule blue none bold
|
||||||
|
pandocRuleLine blue none bold
|
||||||
|
pandocEscapePair red none bold
|
||||||
|
pandocCitationRef magenta none
|
||||||
|
pandocNonBreakingSpace red none reverse
|
||||||
|
pandocEscapedCharacter -> pandocEscapePair
|
||||||
|
pandocLineBreak -> pandocEscapePair
|
||||||
|
# Embedded code
|
||||||
|
pandocMetadataDelim base01 none
|
||||||
|
pandocMetadata blue none
|
||||||
|
pandocMetadataKey blue none
|
||||||
|
pandocMetadata blue none bold
|
||||||
|
pandocMetadataTitle -> pandocMetadata
|
||||||
|
# }}}
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# Terminal italic {{{
|
||||||
|
verbatim
|
||||||
|
if get(g:, "@optionprefix_term_italics", 0) != 0
|
||||||
|
hi Comment cterm=italic
|
||||||
|
hi gitcommitComment cterm=italic
|
||||||
|
hi htmlSpecialTagName cterm=italic
|
||||||
|
hi pandocComment cterm=italic
|
||||||
|
hi pandocEmphasisDefinition cterm=italic
|
||||||
|
hi pandocEmphasisTable cterm=italic
|
||||||
|
hi pandocEmphasis cterm=italic
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
# NeoVim {{{
|
||||||
|
verbatim
|
||||||
|
if has('nvim')
|
||||||
|
endverbatim
|
||||||
|
TermCursor -> Cursor
|
||||||
|
TermCursorNC base03 base01
|
||||||
|
verbatim
|
||||||
|
let g:terminal_color_8='@guibase03'
|
||||||
|
let g:terminal_color_0='@guibase02'
|
||||||
|
let g:terminal_color_10='@guibase01'
|
||||||
|
let g:terminal_color_11='@guibase00'
|
||||||
|
let g:terminal_color_12='@guibase0'
|
||||||
|
let g:terminal_color_14='@guibase1'
|
||||||
|
let g:terminal_color_7='@guibase2'
|
||||||
|
let g:terminal_color_15='@guibase3'
|
||||||
|
let g:terminal_color_3='@guiyellow'
|
||||||
|
let g:terminal_color_9='@guiorange'
|
||||||
|
let g:terminal_color_1='@guired'
|
||||||
|
let g:terminal_color_5='@guimagenta'
|
||||||
|
let g:terminal_color_13='@guiviolet'
|
||||||
|
let g:terminal_color_4='@guiblue'
|
||||||
|
let g:terminal_color_6='@guicyan'
|
||||||
|
let g:terminal_color_2='@guigreen'
|
||||||
|
endif
|
||||||
|
endverbatim
|
||||||
|
# }}}
|
||||||
Reference in New Issue
Block a user