From 4c4cd2b3e97baae79636748c19037323c21f728b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 1 Jul 2018 00:32:00 +1200 Subject: Add 8-color and no-color versions --- colors/juvenile.vim | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/colors/juvenile.vim b/colors/juvenile.vim index 6440c36..56eaccd 100644 --- a/colors/juvenile.vim +++ b/colors/juvenile.vim @@ -16,17 +16,25 @@ if v:version > 580 endif let g:colors_name = 'juvenile' -if has('gui_running') || &t_Co == 256 - highlight Normal cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=#fcfcfc guibg=#030303 - highlight Comment cterm=NONE ctermfg=246 ctermbg=NONE gui=NONE guifg=#a0a0a0 guibg=NONE - highlight NonText cterm=NONE ctermfg=246 ctermbg=NONE gui=NONE guifg=#a0a0a0 guibg=NONE - highlight Constant cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Identifier cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Function cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Statement cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight PreProc cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Title cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Type cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Special cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE - highlight Delimiter cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +if has('gui_running') || &t_Co >= 256 + highlight Normal cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=#fcfcfc guibg=#030303 + highlight Comment cterm=NONE ctermfg=246 ctermbg=NONE gui=NONE guifg=#a0a0a0 guibg=NONE + highlight NonText cterm=NONE ctermfg=246 ctermbg=NONE gui=NONE guifg=#a0a0a0 guibg=NONE +elseif &t_Co >= 8 + highlight Normal cterm=NONE ctermfg=NONE ctermbg=NONE + highlight Comment cterm=bold ctermfg=0 ctermbg=NONE + highlight NonText cterm=bold ctermfg=0 ctermbg=NONE +else + highlight Normal cterm=NONE ctermfg=NONE ctermbg=NONE + highlight Comment cterm=NONE ctermfg=NONE ctermbg=NONE + highlight NonText cterm=NONE ctermfg=NONE ctermbg=NONE endif +highlight Constant cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Identifier cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Function cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Statement cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight PreProc cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Title cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Type cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Special cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE +highlight Delimiter cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE -- cgit v1.2.3