aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-01 00:32:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-01 00:32:00 +1200
commit4c4cd2b3e97baae79636748c19037323c21f728b (patch)
tree8f1d1f89c5210987a0c652d02cf01054d1144976
parentea3cf7a0c692a1123f9669b204cd11d5b09ab1bb (diff)
downloadvim-juvenile-4c4cd2b3e97baae79636748c19037323c21f728b.tar.gz
vim-juvenile-4c4cd2b3e97baae79636748c19037323c21f728b.zip
Add 8-color and no-color versions
-rw-r--r--colors/juvenile.vim34
1 files 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