Replace color theme with 'yin-yang' colorscheme
							parent
							
								
									7b471c3ad5
								
							
						
					
					
						commit
						dea76213ff
					
				| 
						 | 
					@ -1,125 +0,0 @@
 | 
				
			||||||
highlight clear
 | 
					 | 
				
			||||||
set background=dark
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if version > 580
 | 
					 | 
				
			||||||
    if exists("syntax_on")
 | 
					 | 
				
			||||||
        syntax reset
 | 
					 | 
				
			||||||
    endif
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
let g:colors_name = "simple-dark"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if has("gui_running") || &t_Co == 256
 | 
					 | 
				
			||||||
    hi NonText cterm=NONE ctermfg=black ctermbg=NONE gui=NONE guifg=bg guibg=#111111
 | 
					 | 
				
			||||||
    hi Normal cterm=NONE ctermfg=247 ctermbg=NONE gui=NONE guifg=#cccccc guibg=#111111
 | 
					 | 
				
			||||||
    hi Keyword cterm=NONE ctermfg=255 ctermbg=NONE gui=NONE guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi Constant cterm=NONE ctermfg=252 ctermbg=NONE gui=NONE guifg=#d0d0d0 guibg=#111111
 | 
					 | 
				
			||||||
    hi String cterm=NONE ctermfg=245 ctermbg=NONE gui=NONE guifg=#8a8a8a guibg=#111111
 | 
					 | 
				
			||||||
    hi Comment cterm=NONE ctermfg=240 ctermbg=NONE gui=NONE guifg=#585858 guibg=#111111
 | 
					 | 
				
			||||||
    hi Number cterm=NONE ctermfg=255  ctermbg=NONE gui=NONE guifg=#ff0000 guibg=#111111
 | 
					 | 
				
			||||||
    hi Error cterm=NONE ctermfg=255 ctermbg=DarkGray gui=NONE guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi ErrorMsg cterm=NONE ctermfg=255 ctermbg=DarkGray gui=NONE guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi Search cterm=NONE ctermfg=255 ctermbg=240 gui=NONE guifg=#8a8a8a guibg=#111111
 | 
					 | 
				
			||||||
    hi IncSearch cterm=reverse ctermfg=255 ctermbg=240 gui=reverse guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi DiffChange cterm=NONE ctermfg=240 ctermbg=255 gui=NONE guifg=#8a8a8a guibg=#111111
 | 
					 | 
				
			||||||
    hi DiffText cterm=bold ctermfg=255 ctermbg=DarkGray gui=bold guifg=#bcbcbc guibg=#111111
 | 
					 | 
				
			||||||
    hi SignColumn cterm=NONE ctermfg=240 ctermbg=NONE gui=NONE guifg=#8a8a8a guibg=#111111
 | 
					 | 
				
			||||||
    hi SpellBad cterm=undercurl ctermfg=255 ctermbg=245 gui=undercurl guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi SpellCap cterm=NONE ctermfg=255 ctermbg=124 gui=NONE guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi SpellRare cterm=NONE ctermfg=240 ctermbg=black gui=NONE guifg=#8a8a8a guibg=#111111
 | 
					 | 
				
			||||||
    hi WildMenu cterm=NONE ctermfg=240 ctermbg=255 gui=NONE guifg=#585858 guibg=#111111
 | 
					 | 
				
			||||||
    hi Pmenu ctermfg=NONE ctermbg=235 cterm=NONE guifg=NONE guibg=#64666d gui=NONE
 | 
					 | 
				
			||||||
    hi PmenuSel ctermfg=NONE ctermbg=24 cterm=NONE guifg=NONE guibg=#204a87 gui=NONE
 | 
					 | 
				
			||||||
    hi SpecialKey cterm=NONE ctermfg=black ctermbg=255 gui=NONE guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi MatchParen cterm=NONE ctermfg=white ctermbg=NONE gui=NONE guifg=#eeeeee guibg=#111111
 | 
					 | 
				
			||||||
    hi CursorLine cterm=NONE ctermfg=NONE ctermbg=233 gui=NONE guifg=NONE guibg=#111111
 | 
					 | 
				
			||||||
    hi StatusLine cterm=bold,reverse ctermfg=240 ctermbg=NONE gui=bold,reverse guifg=#8a8a8a guibg=#111111
 | 
					 | 
				
			||||||
    hi StatusLineNC cterm=reverse ctermfg=240 ctermbg=NONE gui=reverse guifg=#303030 guibg=#111111
 | 
					 | 
				
			||||||
    hi Visual cterm=reverse ctermfg=250 ctermbg=NONE gui=reverse guifg=#bcbcbc guibg=#111111
 | 
					 | 
				
			||||||
    hi VertSplit cterm=NONE ctermfg=DarkGray ctermbg=NONE gui=NONE guifg=#111111 guibg=#111111
 | 
					 | 
				
			||||||
    hi TermCursor cterm=reverse ctermfg=NONE ctermbg=NONE gui=reverse guifg=NONE guibg=NONE
 | 
					 | 
				
			||||||
    hi ColorColumn  cterm=reverse ctermfg=NONE ctermbg=NONE gui=reverse guifg=NONE guibg=NONE
 | 
					 | 
				
			||||||
    hi ModeMsg cterm=NONE ctermfg=DarkGray ctermbg=NONE
 | 
					 | 
				
			||||||
else
 | 
					 | 
				
			||||||
    hi Normal cterm=NONE ctermfg=247 ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Keyword cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Constant cterm=NONE ctermfg=Gray ctermbg=NONE
 | 
					 | 
				
			||||||
    hi String cterm=NONE ctermfg=Gray ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Comment cterm=NONE ctermfg=DarkGray ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Number cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Error cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi ErrorMsg cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Search cterm=NONE ctermfg=247 ctermbg=NONE
 | 
					 | 
				
			||||||
    hi IncSearch cterm=reverse ctermfg=247 ctermbg=NONE
 | 
					 | 
				
			||||||
    hi DiffChange cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi DiffText cterm=bold ctermfg=Gray ctermbg=White
 | 
					 | 
				
			||||||
    hi SignColumn cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi SpellBad cterm=undercurl ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi SpellCap cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi SpellRare cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi WildMenu cterm=NONE ctermfg=DarkGray ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Pmenu ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#64666d gui=NONE
 | 
					 | 
				
			||||||
    hi PmenuSel ctermfg=NONE ctermbg=24 cterm=NONE guifg=NONE guibg=#204a87 gui=NONE
 | 
					 | 
				
			||||||
    hi SpecialKey cterm=NONE ctermfg=White ctermbg=NONE
 | 
					 | 
				
			||||||
    hi MatchParen cterm=NONE ctermfg=White ctermbg=DarkGray
 | 
					 | 
				
			||||||
    hi CursorLine cterm=NONE ctermfg=NONE ctermbg=NONE
 | 
					 | 
				
			||||||
    hi StatusLine cterm=bold,reverse ctermfg=230 ctermbg=NONE
 | 
					 | 
				
			||||||
    hi StatusLineNC cterm=reverse ctermfg=230 ctermbg=NONE
 | 
					 | 
				
			||||||
    hi Visual cterm=reverse ctermfg=Gray ctermbg=NONE
 | 
					 | 
				
			||||||
    hi TermCursor cterm=reverse ctermfg=NONE ctermbg=NONE
 | 
					 | 
				
			||||||
    hi ColorColumn  cterm=reverse ctermfg=NONE ctermbg=NONE
 | 
					 | 
				
			||||||
    hi ModeMsg cterm=NONE ctermfg=DarkGray ctermbg=NONE
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
hi! link Conceal Normal
 | 
					 | 
				
			||||||
hi! link Boolean Normal
 | 
					 | 
				
			||||||
hi! link Delimiter Normal
 | 
					 | 
				
			||||||
hi! link Identifier Normal
 | 
					 | 
				
			||||||
hi! link Title Normal
 | 
					 | 
				
			||||||
hi! link Debug Normal
 | 
					 | 
				
			||||||
hi! link Exception Normal
 | 
					 | 
				
			||||||
hi! link FoldColumn Normal
 | 
					 | 
				
			||||||
hi! link Macro Normal
 | 
					 | 
				
			||||||
hi! link ModeMsg Normal
 | 
					 | 
				
			||||||
hi! link MoreMsg Normal
 | 
					 | 
				
			||||||
hi! link Question Normal
 | 
					 | 
				
			||||||
hi! link Conditional Keyword
 | 
					 | 
				
			||||||
hi! link Statement Keyword
 | 
					 | 
				
			||||||
hi! link Operator Keyword
 | 
					 | 
				
			||||||
hi! link Structure Keyword
 | 
					 | 
				
			||||||
hi! link Function Keyword
 | 
					 | 
				
			||||||
hi! link Include Keyword
 | 
					 | 
				
			||||||
hi! link Type Keyword
 | 
					 | 
				
			||||||
hi! link Typedef Keyword
 | 
					 | 
				
			||||||
hi! link Label Keyword
 | 
					 | 
				
			||||||
hi! link Define Keyword
 | 
					 | 
				
			||||||
hi! link DiffAdd Keyword
 | 
					 | 
				
			||||||
hi! link diffAdded Keyword
 | 
					 | 
				
			||||||
hi! link diffCommon Keyword
 | 
					 | 
				
			||||||
hi! link Directory Keyword
 | 
					 | 
				
			||||||
hi! link PreCondit Keyword
 | 
					 | 
				
			||||||
hi! link PreProc Keyword
 | 
					 | 
				
			||||||
hi! link Repeat Keyword
 | 
					 | 
				
			||||||
hi! link Special Keyword
 | 
					 | 
				
			||||||
hi! link SpecialChar Keyword
 | 
					 | 
				
			||||||
hi! link StorageClass Keyword
 | 
					 | 
				
			||||||
hi! link SpecialComment String
 | 
					 | 
				
			||||||
hi! link CursorLineNr String
 | 
					 | 
				
			||||||
hi! link Character Number
 | 
					 | 
				
			||||||
hi! link Float Number
 | 
					 | 
				
			||||||
hi! link Tag Number
 | 
					 | 
				
			||||||
hi! link Folded Number
 | 
					 | 
				
			||||||
hi! link WarningMsg Number
 | 
					 | 
				
			||||||
hi! link iCursor SpecialKey
 | 
					 | 
				
			||||||
hi! link SpellLocal SpellCap
 | 
					 | 
				
			||||||
hi! link LineNr Comment
 | 
					 | 
				
			||||||
hi! link NonText NonText
 | 
					 | 
				
			||||||
hi! link DiffDelete Comment
 | 
					 | 
				
			||||||
hi! link diffRemoved Comment
 | 
					 | 
				
			||||||
hi! link PmenuSbar Visual
 | 
					 | 
				
			||||||
hi! link PmenuSel Visual
 | 
					 | 
				
			||||||
hi! link VisualNOS Visual
 | 
					 | 
				
			||||||
hi! link VertSplit VertSplit
 | 
					 | 
				
			||||||
hi! link Underlined SpellRare
 | 
					 | 
				
			||||||
hi! link rstEmphasis SpellRare
 | 
					 | 
				
			||||||
hi! link diffChanged DiffChange
 | 
					 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,210 @@
 | 
				
			||||||
 | 
					" YinYang - black/white color scheme
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if (&background ==# "dark" && get(g:, "colors_name", "") ==# "yang")
 | 
				
			||||||
 | 
					    runtime! colors/yin.vim
 | 
				
			||||||
 | 
					    finish
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight clear
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if exists("syntax_on")
 | 
				
			||||||
 | 
					    syntax reset
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					let g:colors_name = "yang"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let s:palette = {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let s:palette.white = [254, '#f7f7f7']
 | 
				
			||||||
 | 
					let s:palette.gray15 = [253, '#e4e4e4']
 | 
				
			||||||
 | 
					let s:palette.gray14 = [250, '#bcbcbc']
 | 
				
			||||||
 | 
					let s:palette.gray13 = [249, '#b2b2b2']
 | 
				
			||||||
 | 
					let s:palette.gray12 = [248, '#a8a8a8']
 | 
				
			||||||
 | 
					let s:palette.gray11 = [247, '#9e9e9e']
 | 
				
			||||||
 | 
					let s:palette.gray10 = [246, '#949494']
 | 
				
			||||||
 | 
					let s:palette.gray09 = [245, '#8a8a8a']
 | 
				
			||||||
 | 
					let s:palette.gray08 = [244, '#808080']
 | 
				
			||||||
 | 
					let s:palette.gray07 = [243, '#767676']
 | 
				
			||||||
 | 
					let s:palette.gray06 = [242, '#666666']
 | 
				
			||||||
 | 
					let s:palette.gray05 = [241, '#606060']
 | 
				
			||||||
 | 
					let s:palette.gray04 = [240, '#585858']
 | 
				
			||||||
 | 
					let s:palette.gray03 = [239, '#4e4e4e']
 | 
				
			||||||
 | 
					let s:palette.gray02 = [238, '#444444']
 | 
				
			||||||
 | 
					let s:palette.gray01 = [235, '#262626']
 | 
				
			||||||
 | 
					let s:palette.black = [233, '#121212']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let s:palette.purple = [98, '#875fd7']
 | 
				
			||||||
 | 
					let s:palette.brown = [130, '#af5f00']
 | 
				
			||||||
 | 
					let s:palette.blue = [67, '#5f87af']
 | 
				
			||||||
 | 
					let s:palette.darkblue = [27, '#005fff']
 | 
				
			||||||
 | 
					let s:palette.green = [65, '#5f875f']
 | 
				
			||||||
 | 
					let s:palette.red = [88, '#870000']
 | 
				
			||||||
 | 
					let s:palette.magenta = [125, '#af005f']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if has("nvim")
 | 
				
			||||||
 | 
					    let g:terminal_color_0 = s:palette.gray01[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_1 = s:palette.gray06[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_2 = s:palette.gray03[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_3 = s:palette.gray11[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_4 = s:palette.gray02[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_5 = s:palette.gray08[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_6 = s:palette.gray09[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_7 = s:palette.gray13[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_8 = s:palette.gray03[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_9 = s:palette.gray10[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_10 = s:palette.gray07[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_11 = s:palette.gray13[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_12 = s:palette.gray05[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_13 = s:palette.gray12[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_14 = s:palette.gray14[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_15 = s:palette.white[1]
 | 
				
			||||||
 | 
					elseif has("terminal")
 | 
				
			||||||
 | 
					    let g:terminal_ansi_colors = [
 | 
				
			||||||
 | 
					                \ s:palette.gray01[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray06[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray03[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray11[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray02[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray08[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray09[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray13[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray03[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray10[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray07[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray13[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray05[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray12[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray14[1],
 | 
				
			||||||
 | 
					                \ s:palette.white[1]
 | 
				
			||||||
 | 
					                \ ]
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function! s:hi(group, fg_color, bg_color, style)
 | 
				
			||||||
 | 
					    let highlight_command = ['hi', a:group]
 | 
				
			||||||
 | 
					    if !empty(a:fg_color)
 | 
				
			||||||
 | 
					        let [ctermfg, guifg] = a:fg_color
 | 
				
			||||||
 | 
					        call add(highlight_command, printf('ctermfg=%d guifg=%s', ctermfg, guifg))
 | 
				
			||||||
 | 
					    endif
 | 
				
			||||||
 | 
					    if !empty(a:bg_color)
 | 
				
			||||||
 | 
					        let [ctermbg, guibg] = a:bg_color
 | 
				
			||||||
 | 
					        call add(highlight_command, printf('ctermbg=%d guibg=%s', ctermbg, guibg))
 | 
				
			||||||
 | 
					    endif
 | 
				
			||||||
 | 
					    if !empty(a:style)
 | 
				
			||||||
 | 
					        call add(highlight_command, printf('cterm=%s gui=%s', a:style, a:style))
 | 
				
			||||||
 | 
					    endif
 | 
				
			||||||
 | 
					    execute join(highlight_command, ' ')
 | 
				
			||||||
 | 
					endfunction
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Normal', s:palette.gray05, s:palette.white, '')
 | 
				
			||||||
 | 
					set background=light
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Constant', s:palette.gray11, [], 'bold')
 | 
				
			||||||
 | 
					call s:hi('String', s:palette.gray08, [], '')
 | 
				
			||||||
 | 
					call s:hi('Number', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Identifier', s:palette.gray06, [], 'none')
 | 
				
			||||||
 | 
					call s:hi('Function', s:palette.gray06, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Statement', s:palette.gray08, [], 'bold')
 | 
				
			||||||
 | 
					call s:hi('Operator', s:palette.gray03, [], 'none')
 | 
				
			||||||
 | 
					call s:hi('Keyword', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('PreProc', s:palette.gray10, [], 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Type', s:palette.gray09, [], 'bold')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Special', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					call s:hi('SpecialComment', s:palette.gray12, [], 'bold')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Title', s:palette.gray10, [], 'bold')
 | 
				
			||||||
 | 
					call s:hi('Todo', s:palette.purple, s:palette.white, '')
 | 
				
			||||||
 | 
					if has("nvim") || has("gui_running")
 | 
				
			||||||
 | 
					    call s:hi('Comment', s:palette.gray12, [], 'italic')
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					    call s:hi('Comment', s:palette.gray12, [], '')
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('LineNr', s:palette.gray13, s:palette.gray15, 'none')
 | 
				
			||||||
 | 
					call s:hi('FoldColumn', s:palette.gray08, s:palette.gray15, 'none')
 | 
				
			||||||
 | 
					call s:hi('CursorLine', [], s:palette.gray15, 'none')
 | 
				
			||||||
 | 
					call s:hi('CursorLineNr', s:palette.gray06, s:palette.gray15, 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Visual', s:palette.white, s:palette.gray06, '')
 | 
				
			||||||
 | 
					call s:hi('Search', s:palette.gray15, s:palette.gray03, 'none')
 | 
				
			||||||
 | 
					call s:hi('IncSearch', s:palette.white, s:palette.gray11, 'bold')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('SpellBad', s:palette.red, s:palette.white, 'undercurl')
 | 
				
			||||||
 | 
					call s:hi('SpellCap', s:palette.red, s:palette.white, 'undercurl')
 | 
				
			||||||
 | 
					call s:hi('SpellLocal', s:palette.red, s:palette.white, 'undercurl')
 | 
				
			||||||
 | 
					call s:hi('SpellRare', s:palette.brown, s:palette.white, 'undercurl')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Error', s:palette.red, s:palette.white, 'bold')
 | 
				
			||||||
 | 
					call s:hi('ErrorMsg', s:palette.red, s:palette.white, '')
 | 
				
			||||||
 | 
					call s:hi('WarningMsg', s:palette.brown, s:palette.white, '')
 | 
				
			||||||
 | 
					call s:hi('ModeMsg', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					call s:hi('MoreMsg', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('MatchParen', s:palette.magenta, s:palette.white, '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Cursor', [], s:palette.gray12, '')
 | 
				
			||||||
 | 
					call s:hi('Underlined', s:palette.gray08, [], 'underline')
 | 
				
			||||||
 | 
					call s:hi('SpecialKey', s:palette.gray13, [], '')
 | 
				
			||||||
 | 
					call s:hi('NonText', s:palette.gray13, [], '')
 | 
				
			||||||
 | 
					call s:hi('Directory', s:palette.gray08, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Pmenu', s:palette.gray05, s:palette.gray14, 'none')
 | 
				
			||||||
 | 
					call s:hi('PmenuSbar', s:palette.white, s:palette.gray01, 'none')
 | 
				
			||||||
 | 
					call s:hi('PmenuSel', s:palette.gray14, s:palette.gray05, '')
 | 
				
			||||||
 | 
					call s:hi('PmenuThumb', s:palette.gray14, s:palette.gray03, 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('StatusLine', s:palette.gray03, s:palette.gray13, 'none')
 | 
				
			||||||
 | 
					call s:hi('StatusLineNC', s:palette.gray13, s:palette.gray15, 'none')
 | 
				
			||||||
 | 
					call s:hi('WildMenu', s:palette.gray08, [], '')
 | 
				
			||||||
 | 
					call s:hi('VertSplit', s:palette.gray13, s:palette.gray13, 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('DiffAdd', s:palette.white, s:palette.green, '')
 | 
				
			||||||
 | 
					call s:hi('DiffChange', s:palette.white, s:palette.blue, '')
 | 
				
			||||||
 | 
					call s:hi('DiffDelete', s:palette.white, s:palette.red, '')
 | 
				
			||||||
 | 
					call s:hi('DiffText', s:palette.white, s:palette.darkblue, '')
 | 
				
			||||||
 | 
					call s:hi('DiffAdded', s:palette.green, s:palette.white, '')
 | 
				
			||||||
 | 
					call s:hi('DiffChanged', s:palette.blue, s:palette.white, '')
 | 
				
			||||||
 | 
					call s:hi('DiffRemoved', s:palette.red, s:palette.white, '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Character Constant
 | 
				
			||||||
 | 
					highlight! link Float Number
 | 
				
			||||||
 | 
					highlight! link Boolean Number
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link SignColumn FoldColumn
 | 
				
			||||||
 | 
					highlight! link ColorColumn FoldColumn
 | 
				
			||||||
 | 
					highlight! link CursorColumn CursorLine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Folded LineNr
 | 
				
			||||||
 | 
					highlight! link Conceal Normal
 | 
				
			||||||
 | 
					highlight! link ErrorMsg Error
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Conditional Statement
 | 
				
			||||||
 | 
					highlight! link Repeat Statement
 | 
				
			||||||
 | 
					highlight! link Label Statement
 | 
				
			||||||
 | 
					highlight! link Exception Statement
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Include PreProc
 | 
				
			||||||
 | 
					highlight! link Define PreProc
 | 
				
			||||||
 | 
					highlight! link Macro PreProc
 | 
				
			||||||
 | 
					highlight! link PreCondit PreProc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link StorageClass Type
 | 
				
			||||||
 | 
					highlight! link Structure Type
 | 
				
			||||||
 | 
					highlight! link Typedef Type
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link SpecialChar Special
 | 
				
			||||||
 | 
					highlight! link Tag Special
 | 
				
			||||||
 | 
					highlight! link Delimiter Special
 | 
				
			||||||
 | 
					highlight! link Debug Special
 | 
				
			||||||
 | 
					highlight! link Question Special
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link VisualNOS Visual
 | 
				
			||||||
 | 
					highlight! link TabLine StatusLineNC
 | 
				
			||||||
 | 
					highlight! link TabLineFill StatusLineNC
 | 
				
			||||||
 | 
					highlight! link TabLineSel StatusLine
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,233 @@
 | 
				
			||||||
 | 
					" YinYang - black/white color scheme
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if (&background ==# "light" && get(g:, "colors_name", "") ==# "yin")
 | 
				
			||||||
 | 
					    runtime! colors/yang.vim
 | 
				
			||||||
 | 
					    finish
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight clear
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if exists("syntax_on")
 | 
				
			||||||
 | 
					    syntax reset
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					let g:colors_name = "yin"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let s:palette = {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Original
 | 
				
			||||||
 | 
					" let s:palette.blackest = [232, '#080808']
 | 
				
			||||||
 | 
					" let s:palette.black = [234, '#1c1c1c']
 | 
				
			||||||
 | 
					" let s:palette.gray01 = [235, '#262626']
 | 
				
			||||||
 | 
					" let s:palette.gray02 = [238, '#444444']
 | 
				
			||||||
 | 
					" let s:palette.gray03 = [239, '#4e4e4e']
 | 
				
			||||||
 | 
					" let s:palette.gray04 = [240, '#585858']
 | 
				
			||||||
 | 
					" let s:palette.gray05 = [242, '#666666']
 | 
				
			||||||
 | 
					" let s:palette.gray06 = [243, '#767676']
 | 
				
			||||||
 | 
					" let s:palette.gray07 = [244, '#808080']
 | 
				
			||||||
 | 
					" let s:palette.gray08 = [245, '#8a8a8a']
 | 
				
			||||||
 | 
					" let s:palette.gray09 = [246, '#949494']
 | 
				
			||||||
 | 
					" let s:palette.gray10 = [247, '#9e9e9e']
 | 
				
			||||||
 | 
					" let s:palette.gray11 = [248, '#a8a8a8']
 | 
				
			||||||
 | 
					" let s:palette.gray12 = [249, '#b2b2b2']
 | 
				
			||||||
 | 
					" let s:palette.gray13 = [250, '#bcbcbc']
 | 
				
			||||||
 | 
					" let s:palette.gray14 = [251, '#c6c6c6']
 | 
				
			||||||
 | 
					" let s:palette.gray15 = [254, '#e4e4e4']
 | 
				
			||||||
 | 
					" let s:palette.white = [255, '#eeeeee']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Custom
 | 
				
			||||||
 | 
					let s:palette.blackest = [0, '#0c0c0c']
 | 
				
			||||||
 | 
					let s:palette.black = [232, '#111111']
 | 
				
			||||||
 | 
					let s:palette.gray01 = [235, '#262626']
 | 
				
			||||||
 | 
					let s:palette.gray02 = [238, '#444444']
 | 
				
			||||||
 | 
					let s:palette.gray03 = [239, '#4e4e4e']
 | 
				
			||||||
 | 
					let s:palette.gray04 = [240, '#585858']
 | 
				
			||||||
 | 
					let s:palette.gray05 = [242, '#666666']
 | 
				
			||||||
 | 
					let s:palette.gray06 = [243, '#767676']
 | 
				
			||||||
 | 
					let s:palette.gray07 = [244, '#808080']
 | 
				
			||||||
 | 
					let s:palette.gray08 = [245, '#8a8a8a']
 | 
				
			||||||
 | 
					let s:palette.gray09 = [246, '#949494']
 | 
				
			||||||
 | 
					let s:palette.gray10 = [247, '#9e9e9e']
 | 
				
			||||||
 | 
					let s:palette.gray11 = [248, '#a8a8a8']
 | 
				
			||||||
 | 
					let s:palette.gray12 = [249, '#b2b2b2']
 | 
				
			||||||
 | 
					let s:palette.gray13 = [250, '#bcbcbc']
 | 
				
			||||||
 | 
					let s:palette.gray14 = [251, '#c6c6c6']
 | 
				
			||||||
 | 
					let s:palette.gray15 = [254, '#e4e4e4']
 | 
				
			||||||
 | 
					let s:palette.white = [255, '#eeeeee']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let s:palette.comments = copy(s:palette.gray03)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					let s:palette.purple = [62, '#5f5fd7']
 | 
				
			||||||
 | 
					let s:palette.brown = [94, '#875f00']
 | 
				
			||||||
 | 
					let s:palette.blue = [24, '#005f87']
 | 
				
			||||||
 | 
					let s:palette.lightblue = [31, '#00afff']
 | 
				
			||||||
 | 
					let s:palette.green = [29, '#00875f']
 | 
				
			||||||
 | 
					let s:palette.red = [88, '#870000']
 | 
				
			||||||
 | 
					let s:palette.magenta = [89, '#87005f']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if has("nvim")
 | 
				
			||||||
 | 
					    let g:terminal_color_0 = s:palette.gray01[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_1 = s:palette.gray06[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_2 = s:palette.gray03[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_3 = s:palette.gray11[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_4 = s:palette.gray02[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_5 = s:palette.gray08[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_6 = s:palette.gray09[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_7 = s:palette.gray13[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_8 = s:palette.gray03[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_9 = s:palette.gray10[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_10 = s:palette.gray07[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_11 = s:palette.gray15[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_12 = s:palette.gray05[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_13 = s:palette.gray12[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_14 = s:palette.gray14[1]
 | 
				
			||||||
 | 
					    let g:terminal_color_15 = s:palette.white[1]
 | 
				
			||||||
 | 
					elseif has("terminal")
 | 
				
			||||||
 | 
					    let g:terminal_ansi_colors = [
 | 
				
			||||||
 | 
					                \ s:palette.gray01[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray06[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray03[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray11[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray02[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray08[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray09[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray13[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray03[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray10[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray07[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray15[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray05[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray12[1],
 | 
				
			||||||
 | 
					                \ s:palette.gray14[1],
 | 
				
			||||||
 | 
					                \ s:palette.white[1]
 | 
				
			||||||
 | 
					                \ ]
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function! s:hi(group, fg_color, bg_color, style)
 | 
				
			||||||
 | 
					    let highlight_command = ['hi', a:group]
 | 
				
			||||||
 | 
					    if !empty(a:fg_color)
 | 
				
			||||||
 | 
					        let [ctermfg, guifg] = a:fg_color
 | 
				
			||||||
 | 
					        call add(highlight_command, printf('ctermfg=%d guifg=%s', ctermfg, guifg))
 | 
				
			||||||
 | 
					    endif
 | 
				
			||||||
 | 
					    if !empty(a:bg_color)
 | 
				
			||||||
 | 
					        let [ctermbg, guibg] = a:bg_color
 | 
				
			||||||
 | 
					        call add(highlight_command, printf('ctermbg=%d guibg=%s', ctermbg, guibg))
 | 
				
			||||||
 | 
					    endif
 | 
				
			||||||
 | 
					    if !empty(a:style)
 | 
				
			||||||
 | 
					        call add(highlight_command, printf('cterm=%s gui=%s', a:style, a:style))
 | 
				
			||||||
 | 
					    endif
 | 
				
			||||||
 | 
					    execute join(highlight_command, ' ')
 | 
				
			||||||
 | 
					endfunction
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Normal', s:palette.gray13, s:palette.black, '')
 | 
				
			||||||
 | 
					set background=dark
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Constant', s:palette.gray05, [], 'bold')
 | 
				
			||||||
 | 
					call s:hi('String', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					call s:hi('Number', s:palette.gray06, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Identifier', s:palette.gray08, [], 'none')
 | 
				
			||||||
 | 
					call s:hi('Function', s:palette.gray08, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Statement', s:palette.gray05, [], 'bold')
 | 
				
			||||||
 | 
					call s:hi('Operator', s:palette.gray05, [], 'none')
 | 
				
			||||||
 | 
					call s:hi('Keyword', s:palette.gray05, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('PreProc', s:palette.gray07, [], 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Type', s:palette.gray05, [], 'bold')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Special', s:palette.gray05, [], '')
 | 
				
			||||||
 | 
					call s:hi('SpecialComment', s:palette.comments, [], 'bold')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Title', s:palette.gray07, [], 'bold')
 | 
				
			||||||
 | 
					call s:hi('Todo', s:palette.purple, s:palette.black, '')
 | 
				
			||||||
 | 
					if has("nvim") || has("gui_running")
 | 
				
			||||||
 | 
					    call s:hi('Comment', s:palette.comments, [], 'italic')
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					    call s:hi('Comment', s:palette.comments, [], '')
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('LineNr', s:palette.gray02, s:palette.black, 'none')
 | 
				
			||||||
 | 
					call s:hi('FoldColumn', s:palette.gray07, s:palette.gray01, 'none')
 | 
				
			||||||
 | 
					call s:hi('CursorLine', [], s:palette.gray01, 'none')
 | 
				
			||||||
 | 
					call s:hi('CursorLineNr', s:palette.gray14, s:palette.gray01, 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Visual', s:palette.black, s:palette.gray06, '')
 | 
				
			||||||
 | 
					call s:hi('Search', s:palette.gray01, s:palette.gray11, 'none')
 | 
				
			||||||
 | 
					call s:hi('IncSearch', s:palette.black, s:palette.gray07, 'bold')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('SpellBad', s:palette.red, s:palette.black, 'undercurl')
 | 
				
			||||||
 | 
					call s:hi('SpellCap', s:palette.red, s:palette.black, 'undercurl')
 | 
				
			||||||
 | 
					call s:hi('SpellLocal', s:palette.red, s:palette.black, 'undercurl')
 | 
				
			||||||
 | 
					call s:hi('SpellRare', s:palette.brown, s:palette.black, 'undercurl')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Error', s:palette.red, s:palette.black, 'bold')
 | 
				
			||||||
 | 
					call s:hi('ErrorMsg', s:palette.red, s:palette.black, '')
 | 
				
			||||||
 | 
					call s:hi('WarningMsg', s:palette.brown, s:palette.black, '')
 | 
				
			||||||
 | 
					call s:hi('ModeMsg', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					call s:hi('MoreMsg', s:palette.gray10, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('MatchParen', s:palette.magenta, s:palette.black, '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Cursor', [], s:palette.gray12, '')
 | 
				
			||||||
 | 
					call s:hi('Underlined', s:palette.gray08, [], 'underline')
 | 
				
			||||||
 | 
					call s:hi('SpecialKey', s:palette.gray04, [], '')
 | 
				
			||||||
 | 
					call s:hi('NonText', s:palette.gray04, [], '')
 | 
				
			||||||
 | 
					call s:hi('Directory', s:palette.gray08, [], '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('Pmenu', s:palette.gray10, s:palette.gray03, 'none')
 | 
				
			||||||
 | 
					call s:hi('PmenuSbar', s:palette.black, s:palette.gray15, 'none')
 | 
				
			||||||
 | 
					call s:hi('PmenuSel', s:palette.gray03, s:palette.gray10, '')
 | 
				
			||||||
 | 
					call s:hi('PmenuThumb', s:palette.gray03, s:palette.gray09, 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('StatusLine', s:palette.gray11, s:palette.gray03, 'none')
 | 
				
			||||||
 | 
					call s:hi('StatusLineNC', s:palette.gray04, s:palette.gray01, 'none')
 | 
				
			||||||
 | 
					call s:hi('WildMenu', s:palette.gray08, [], '')
 | 
				
			||||||
 | 
					call s:hi('VertSplit', s:palette.gray03, s:palette.gray03, 'none')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call s:hi('DiffAdd', s:palette.blackest, s:palette.green, '')
 | 
				
			||||||
 | 
					call s:hi('DiffChange', s:palette.blackest, s:palette.blue, '')
 | 
				
			||||||
 | 
					call s:hi('DiffDelete', s:palette.blackest, s:palette.red, '')
 | 
				
			||||||
 | 
					call s:hi('DiffText', s:palette.black, s:palette.lightblue, '')
 | 
				
			||||||
 | 
					call s:hi('DiffAdded', s:palette.green, s:palette.black, '')
 | 
				
			||||||
 | 
					call s:hi('DiffChanged', s:palette.blue, s:palette.black, '')
 | 
				
			||||||
 | 
					call s:hi('DiffRemoved', s:palette.red, s:palette.black, '')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Character Constant
 | 
				
			||||||
 | 
					highlight! link Float Number
 | 
				
			||||||
 | 
					highlight! link Boolean Number
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link SignColumn FoldColumn
 | 
				
			||||||
 | 
					highlight! link ColorColumn FoldColumn
 | 
				
			||||||
 | 
					highlight! link CursorColumn CursorLine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Folded LineNr
 | 
				
			||||||
 | 
					highlight! link Conceal Normal
 | 
				
			||||||
 | 
					highlight! link ErrorMsg Error
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Conditional Statement
 | 
				
			||||||
 | 
					highlight! link Repeat Statement
 | 
				
			||||||
 | 
					highlight! link Label Statement
 | 
				
			||||||
 | 
					highlight! link Exception Statement
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link Include PreProc
 | 
				
			||||||
 | 
					highlight! link Define PreProc
 | 
				
			||||||
 | 
					highlight! link Macro PreProc
 | 
				
			||||||
 | 
					highlight! link PreCondit PreProc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link StorageClass Type
 | 
				
			||||||
 | 
					highlight! link Structure Type
 | 
				
			||||||
 | 
					highlight! link Typedef Type
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link SpecialChar Special
 | 
				
			||||||
 | 
					highlight! link Tag Special
 | 
				
			||||||
 | 
					highlight! link Delimiter Special
 | 
				
			||||||
 | 
					highlight! link Debug Special
 | 
				
			||||||
 | 
					highlight! link Question Special
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					highlight! link VisualNOS Visual
 | 
				
			||||||
 | 
					highlight! link TabLine StatusLineNC
 | 
				
			||||||
 | 
					highlight! link TabLineFill StatusLineNC
 | 
				
			||||||
 | 
					highlight! link TabLineSel StatusLine
 | 
				
			||||||
		Loading…
	
		Reference in New Issue