+ if !has('gui_running') && get(g:, 'artesanal_dimmed', 0)
+ if !has('gui_running') && &background ==# 'light'
+ if !has('gui_running') && get(g:, 'artesanal_transparent', 0)
+ hi Normal ctermfg=16 ctermbg=NONE cterm=NONE
+ else
+ hi Normal ctermfg=16 ctermbg=236 cterm=NONE
+ if !has('patch-8.0.0616') && !has('nvim') " Fix for Vim bug
+ set background=dark
+ endif
+ endif
+ elseif !has('gui_running') && &background ==# 'dark'
+ if get(g:, 'artesanal_transparent', 0)
+ hi Normal ctermfg=231 ctermbg=NONE cterm=NONE
+ else
+ hi Normal ctermfg=231 ctermbg=236 cterm=NONE
+ if !has('patch-8.0.0616') && !has('nvim') " Fix for Vim bug
+ set background=dark
+ endif
+ endif
+ endif
+ hi Conceal ctermfg=67 ctermbg=NONE cterm=NONE
+ hi Constant ctermfg=42 ctermbg=NONE cterm=NONE
+ hi Directory ctermfg=67 ctermbg=NONE cterm=bold
+ hi Error ctermfg=203 ctermbg=NONE cterm=bold,reverse
+ hi Function ctermfg=80 ctermbg=NONE cterm=NONE
+ hi Identifier ctermfg=67 ctermbg=NONE cterm=NONE
+ hi ModeMsg ctermfg=67 ctermbg=NONE cterm=NONE
+ hi MoreMsg ctermfg=42 ctermbg=NONE cterm=NONE
+ hi PreProc ctermfg=80 ctermbg=NONE cterm=NONE
+ hi Statement ctermfg=203 ctermbg=NONE cterm=NONE
+ hi Special ctermfg=226 ctermbg=NONE cterm=NONE
+ hi Todo ctermfg=80 ctermbg=NONE cterm=reverse
+ hi WarningMsg ctermfg=203 ctermbg=NONE cterm=NONE
+ hi WildMenu ctermfg=67 ctermbg=240 cterm=bold
+ else
+ if !has('gui_running') && get(g:, 'artesanal_transparent', 0)
+ hi Normal ctermfg=254 ctermbg=NONE cterm=NONE
+ else
+ hi Normal ctermfg=254 ctermbg=236 cterm=NONE
+ if !has('patch-8.0.0616') && !has('nvim') " Fix for Vim bug
+ set background=dark
+ endif
+ endif
+ hi Conceal ctermfg=153 ctermbg=NONE cterm=NONE
+ hi Constant ctermfg=85 ctermbg=NONE cterm=NONE
+ hi Directory ctermfg=153 ctermbg=NONE cterm=bold
+ hi Error ctermfg=203 ctermbg=NONE cterm=bold,reverse
+ hi Function ctermfg=116 ctermbg=NONE cterm=NONE
+ hi Identifier ctermfg=153 ctermbg=NONE cterm=NONE
+ hi ModeMsg ctermfg=153 ctermbg=NONE cterm=NONE
+ hi MoreMsg ctermfg=85 ctermbg=NONE cterm=NONE
+ hi PreProc ctermfg=116 ctermbg=NONE cterm=NONE
+ hi Statement ctermfg=203 ctermbg=NONE cterm=NONE
+ hi Special ctermfg=228 ctermbg=NONE cterm=NONE
+ hi Todo ctermfg=116 ctermbg=NONE cterm=reverse
+ hi WarningMsg ctermfg=203 ctermbg=NONE cterm=NONE
+ hi WildMenu ctermfg=153 ctermbg=240 cterm=bold
+ endif
+ if !has('gui_running') && get(g:, 'artesanal_transparent', 0)