From: Stefan Wimmer Date: Wed, 29 Apr 2020 08:40:09 +0000 (+0200) Subject: Create a variant with dimmed colours for the people which find the used colours to... X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/0b2f7e52830a48089ff4d762633c69b8d15142a3 Create a variant with dimmed colours for the people which find the used colours to strong - kudos to madduck on #vim You can activate that dimmed variant with `let g:artesanal_dimmed=1`. The option to make the background transparent is renamed to `g:artesanal_transparent` --- diff --git a/colors/artesanal.vim b/colors/artesanal.vim index e482005..905a385 100644 --- a/colors/artesanal.vim +++ b/colors/artesanal.vim @@ -4,7 +4,7 @@ " Maintainer: Stefan Wimmer " Website: https://github.com/wimstefan/vim-artesanal " License: Vim License (see `:help license`) -" Last Updated: Sun 15 Mar 2020 02:36:29 PM CET +" Last Updated: Wed 29 Apr 2020 12:54:19 AM CEST " Generated by Colortemplate v2.0.0 @@ -41,7 +41,38 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') let g:terminal_color_14 = '#0095a3' let g:terminal_color_15 = '#eff1f4' endif - if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0) + if !has('gui_running') && get(g:, 'artesanal_dimmed', 0) + hi Conceal guifg=#517aa3 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Constant guifg=#008c65 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Directory guifg=#517aa3 guibg=NONE guisp=NONE gui=bold cterm=bold + hi Error guifg=#dc1b33 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout + hi Function guifg=#0095a3 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Identifier guifg=#517aa3 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi ModeMsg guifg=#517aa3 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi MoreMsg guifg=#008c65 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi PreProc guifg=#0095a3 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Statement guifg=#dc1b33 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Special guifg=#e5d85c guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Todo guifg=#0095a3 guibg=NONE guisp=NONE gui=reverse cterm=reverse + hi WarningMsg guifg=#dc1b33 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi WildMenu guifg=#517aa3 guibg=#455a64 guisp=NONE gui=bold cterm=bold + else + hi Conceal guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Constant guifg=#00bf8a guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Directory guifg=#6699cc guibg=NONE guisp=NONE gui=bold cterm=bold + hi Error guifg=#e84256 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout + hi Function guifg=#00bbcc guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Identifier guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi ModeMsg guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi MoreMsg guifg=#00bf8a guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi PreProc guifg=#00bbcc guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Statement guifg=#e84256 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Special guifg=#fff176 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Todo guifg=#00bbcc guibg=NONE guisp=NONE gui=reverse cterm=reverse + hi WarningMsg guifg=#e84256 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi WildMenu guifg=#6699cc guibg=#455a64 guisp=NONE gui=bold cterm=bold + endif + if !has('gui_running') && get(g:, 'artesanal_transparent', 0) hi Normal guifg=#e4e6eb guibg=NONE guisp=NONE gui=NONE cterm=NONE hi CursorLineNr guifg=#fff176 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi FoldColumn guifg=#575c66 guibg=NONE guisp=NONE gui=NONE cterm=NONE @@ -55,7 +86,6 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi VertSplit guifg=#546e7a guibg=#2e3440 guisp=NONE gui=NONE cterm=NONE endif hi ColorColumn guifg=NONE guibg=#37474f guisp=NONE gui=bold cterm=bold - hi Conceal guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=bold,reverse ctermfg=NONE ctermbg=NONE cterm=bold,reverse hi CursorColumn guifg=NONE guibg=NONE guisp=NONE gui=bold,italic ctermfg=NONE ctermbg=NONE cterm=bold,italic hi CursorLine guifg=NONE guibg=NONE guisp=NONE gui=bold,italic ctermfg=NONE ctermbg=NONE cterm=bold,italic @@ -65,16 +95,12 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi DiffDelete guifg=#ddabbc guibg=#121419 guisp=NONE gui=reverse cterm=reverse hi DiffRemoved guifg=#ddabbc guibg=#121419 guisp=NONE gui=reverse cterm=reverse hi DiffText guifg=#abddcc guibg=#121419 guisp=NONE gui=reverse cterm=reverse - hi Directory guifg=#6699cc guibg=NONE guisp=NONE gui=bold cterm=bold hi EndOfBuffer guifg=#2e3440 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Error guifg=#e84256 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout hi! link ErrorMsg Error hi Folded guifg=#546e7a guibg=#37474f guisp=NONE gui=italic cterm=italic hi IncSearch guifg=#fff176 guibg=#121419 guisp=NONE gui=reverse cterm=reverse hi LineNr guifg=#546e7a guibg=#37474f guisp=NONE gui=NONE cterm=NONE hi MatchParen guifg=NONE guibg=#455a64 guisp=NONE gui=bold cterm=bold - hi ModeMsg guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi MoreMsg guifg=#00bf8a guibg=NONE guisp=NONE gui=NONE cterm=NONE hi NonText guifg=#90a4ae guibg=NONE guisp=NONE gui=NONE cterm=NONE hi Pmenu guifg=#e4e6eb guibg=#455a64 guisp=NONE gui=NONE cterm=NONE hi PmenuSbar guifg=NONE guibg=#455a64 guisp=NONE gui=NONE cterm=NONE @@ -98,20 +124,15 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi Title guifg=#eff1f4 guibg=NONE guisp=NONE gui=bold cterm=bold hi Visual guifg=NONE guibg=#37474f guisp=NONE gui=NONE cterm=NONE hi! link VisualNOS Visual - hi WarningMsg guifg=#e84256 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi WildMenu guifg=#6699cc guibg=#455a64 guisp=NONE gui=bold cterm=bold hi! link Boolean Constant hi! link Character Constant hi Comment guifg=#b6bdcb guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Conditional Statement - hi Constant guifg=#00bf8a guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Define PreProc hi! link Debug Special hi! link Delimiter Special hi! link Exception Statement hi! link Float Constant - hi Function guifg=#00bbcc guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Identifier guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE hi Ignore guifg=fg guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Include PreProc hi! link Keyword Statement @@ -120,17 +141,13 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi! link Number Constant hi! link Operator Statement hi! link PreCondit PreProc - hi PreProc guifg=#00bbcc guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Repeat Statement hi! link SpecialChar Special hi! link SpecialComment Special - hi Statement guifg=#e84256 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link StorageClass Type - hi Special guifg=#fff176 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link String Constant hi! link Structure Type hi! link Tag Special - hi Todo guifg=#00bbcc guibg=NONE guisp=NONE gui=reverse cterm=reverse hi Type guifg=#0095a3 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Typedef Type hi Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline @@ -184,7 +201,38 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') let g:terminal_color_14 = '#008d9a' let g:terminal_color_15 = '#ffffff' endif - if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0) + if !has('gui_running') && get(g:, 'artesanal_dimmed', 0) + hi Conceal guifg=#00409b guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Constant guifg=#00814b guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Directory guifg=#00409b guibg=NONE guisp=NONE gui=bold cterm=bold + hi Error guifg=#971223 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout + hi Function guifg=#007681 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Identifier guifg=#00409b guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi ModeMsg guifg=#00409b guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi MoreMsg guifg=#00814b guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi PreProc guifg=#007681 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Statement guifg=#971223 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Special guifg=#cc7000 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Todo guifg=#007681 guibg=NONE guisp=NONE gui=reverse cterm=reverse + hi WarningMsg guifg=#971223 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi WildMenu guifg=#00409b guibg=#cdd2db guisp=NONE gui=bold cterm=bold + else + hi Conceal guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Constant guifg=#009a5a guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Directory guifg=#004bb4 guibg=NONE guisp=NONE gui=bold cterm=bold + hi Error guifg=#ae1528 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout + hi Function guifg=#008d9a guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Identifier guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi ModeMsg guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi MoreMsg guifg=#009a5a guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi PreProc guifg=#008d9a guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Statement guifg=#ae1528 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Special guifg=#ff8c00 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi Todo guifg=#008d9a guibg=NONE guisp=NONE gui=reverse cterm=reverse + hi WarningMsg guifg=#ae1528 guibg=NONE guisp=NONE gui=NONE cterm=NONE + hi WildMenu guifg=#004bb4 guibg=#cdd2db guisp=NONE gui=bold cterm=bold + endif + if !has('gui_running') && get(g:, 'artesanal_transparent', 0) hi Normal guifg=#37474f guibg=NONE guisp=NONE gui=NONE cterm=NONE hi CursorLineNr guifg=#ff8c00 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi FoldColumn guifg=#575c66 guibg=NONE guisp=NONE gui=NONE cterm=NONE @@ -198,7 +246,6 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi VertSplit guifg=#b6bdcb guibg=#eff1f4 guisp=NONE gui=NONE cterm=NONE endif hi ColorColumn guifg=NONE guibg=#e4e6eb guisp=NONE gui=bold cterm=bold - hi Conceal guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=bold,reverse ctermfg=NONE ctermbg=NONE cterm=bold,reverse hi CursorColumn guifg=NONE guibg=NONE guisp=NONE gui=bold,italic ctermfg=NONE ctermbg=NONE cterm=bold,italic hi CursorLine guifg=NONE guibg=NONE guisp=NONE gui=bold,italic ctermfg=NONE ctermbg=NONE cterm=bold,italic @@ -208,16 +255,12 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi DiffDelete guifg=#ddabbc guibg=#121419 guisp=NONE gui=reverse cterm=reverse hi DiffRemoved guifg=#ddabbc guibg=#121419 guisp=NONE gui=reverse cterm=reverse hi DiffText guifg=#abddcc guibg=#121419 guisp=NONE gui=reverse cterm=reverse - hi Directory guifg=#004bb4 guibg=NONE guisp=NONE gui=bold cterm=bold hi EndOfBuffer guifg=#eff1f4 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Error guifg=#ae1528 guibg=NONE guisp=NONE gui=bold,standout cterm=bold,standout hi! link ErrorMsg Error hi Folded guifg=#b6bdcb guibg=#e4e6eb guisp=NONE gui=italic cterm=italic hi IncSearch guifg=#ff8c00 guibg=#121419 guisp=NONE gui=reverse cterm=reverse hi LineNr guifg=#b6bdcb guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE hi MatchParen guifg=NONE guibg=#cdd2db guisp=NONE gui=bold cterm=bold - hi ModeMsg guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi MoreMsg guifg=#009a5a guibg=NONE guisp=NONE gui=NONE cterm=NONE hi NonText guifg=#9fa8ba guibg=NONE guisp=NONE gui=NONE cterm=NONE hi Pmenu guifg=#37474f guibg=#cdd2db guisp=NONE gui=NONE cterm=NONE hi PmenuSbar guifg=NONE guibg=#cdd2db guisp=NONE gui=NONE cterm=NONE @@ -241,20 +284,15 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi Title guifg=#2e3440 guibg=NONE guisp=NONE gui=bold cterm=bold hi Visual guifg=NONE guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE hi! link VisualNOS Visual - hi WarningMsg guifg=#ae1528 guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi WildMenu guifg=#004bb4 guibg=#cdd2db guisp=NONE gui=bold cterm=bold hi! link Boolean Constant hi! link Character Constant hi Comment guifg=#546e7a guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Conditional Statement - hi Constant guifg=#009a5a guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Define PreProc hi! link Debug Special hi! link Delimiter Special hi! link Exception Statement hi! link Float Constant - hi Function guifg=#008d9a guibg=NONE guisp=NONE gui=NONE cterm=NONE - hi Identifier guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi Ignore guifg=fg guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Include PreProc hi! link Keyword Statement @@ -263,17 +301,13 @@ if (has('termguicolors') && &termguicolors) || has('gui_running') hi! link Number Constant hi! link Operator Statement hi! link PreCondit PreProc - hi PreProc guifg=#008d9a guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Repeat Statement hi! link SpecialChar Special hi! link SpecialComment Special - hi Statement guifg=#ae1528 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link StorageClass Type - hi Special guifg=#ff8c00 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link String Constant hi! link Structure Type hi! link Tag Special - hi Todo guifg=#008d9a guibg=NONE guisp=NONE gui=reverse cterm=reverse hi Type guifg=#007681 guibg=NONE guisp=NONE gui=NONE cterm=NONE hi! link Typedef Type hi Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline @@ -308,7 +342,38 @@ endif if s:t_Co >= 256 if &background ==# 'dark' - if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0) + if !has('gui_running') && get(g:, 'artesanal_dimmed', 0) + hi Conceal ctermfg=67 ctermbg=NONE cterm=NONE + hi Constant ctermfg=29 ctermbg=NONE cterm=NONE + hi Directory ctermfg=67 ctermbg=NONE cterm=bold + hi Error ctermfg=160 ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=30 ctermbg=NONE cterm=NONE + hi Identifier ctermfg=67 ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=67 ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=29 ctermbg=NONE cterm=NONE + hi PreProc ctermfg=30 ctermbg=NONE cterm=NONE + hi Statement ctermfg=160 ctermbg=NONE cterm=NONE + hi Special ctermfg=185 ctermbg=NONE cterm=NONE + hi Todo ctermfg=30 ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=160 ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=67 ctermbg=240 cterm=bold + else + hi Conceal ctermfg=67 ctermbg=NONE cterm=NONE + hi Constant ctermfg=36 ctermbg=NONE cterm=NONE + hi Directory ctermfg=67 ctermbg=NONE cterm=bold + hi Error ctermfg=167 ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=37 ctermbg=NONE cterm=NONE + hi Identifier ctermfg=67 ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=67 ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=36 ctermbg=NONE cterm=NONE + hi PreProc ctermfg=37 ctermbg=NONE cterm=NONE + hi Statement ctermfg=167 ctermbg=NONE cterm=NONE + hi Special ctermfg=228 ctermbg=NONE cterm=NONE + hi Todo ctermfg=37 ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=167 ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=67 ctermbg=240 cterm=bold + endif + if !has('gui_running') && get(g:, 'artesanal_transparent', 0) hi Normal ctermfg=254 ctermbg=NONE cterm=NONE hi CursorLineNr ctermfg=228 ctermbg=NONE cterm=NONE hi FoldColumn ctermfg=59 ctermbg=NONE cterm=NONE @@ -325,7 +390,6 @@ if s:t_Co >= 256 hi VertSplit ctermfg=242 ctermbg=236 cterm=NONE endif hi ColorColumn ctermfg=NONE ctermbg=238 cterm=bold - hi Conceal ctermfg=67 ctermbg=NONE cterm=NONE hi Cursor ctermfg=NONE ctermbg=NONE cterm=bold,reverse hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=bold,italic hi CursorLine ctermfg=NONE ctermbg=NONE cterm=bold,italic @@ -335,16 +399,12 @@ if s:t_Co >= 256 hi DiffDelete ctermfg=181 ctermbg=233 cterm=reverse hi DiffRemoved ctermfg=181 ctermbg=233 cterm=reverse hi DiffText ctermfg=152 ctermbg=233 cterm=reverse - hi Directory ctermfg=67 ctermbg=NONE cterm=bold hi EndOfBuffer ctermfg=236 ctermbg=NONE cterm=NONE - hi Error ctermfg=167 ctermbg=NONE cterm=bold,reverse hi! link ErrorMsg Error hi Folded ctermfg=242 ctermbg=238 cterm=NONE hi IncSearch ctermfg=228 ctermbg=233 cterm=reverse hi LineNr ctermfg=242 ctermbg=238 cterm=NONE hi MatchParen ctermfg=NONE ctermbg=240 cterm=bold - hi ModeMsg ctermfg=67 ctermbg=NONE cterm=NONE - hi MoreMsg ctermfg=36 ctermbg=NONE cterm=NONE hi NonText ctermfg=247 ctermbg=NONE cterm=NONE hi Pmenu ctermfg=254 ctermbg=240 cterm=NONE hi PmenuSbar ctermfg=NONE ctermbg=240 cterm=NONE @@ -368,20 +428,15 @@ if s:t_Co >= 256 hi Title ctermfg=255 ctermbg=NONE cterm=bold hi Visual ctermfg=NONE ctermbg=238 cterm=NONE hi! link VisualNOS Visual - hi WarningMsg ctermfg=167 ctermbg=NONE cterm=NONE - hi WildMenu ctermfg=67 ctermbg=240 cterm=bold hi! link Boolean Constant hi! link Character Constant hi Comment ctermfg=250 ctermbg=NONE cterm=NONE hi! link Conditional Statement - hi Constant ctermfg=36 ctermbg=NONE cterm=NONE hi! link Define PreProc hi! link Debug Special hi! link Delimiter Special hi! link Exception Statement hi! link Float Constant - hi Function ctermfg=37 ctermbg=NONE cterm=NONE - hi Identifier ctermfg=67 ctermbg=NONE cterm=NONE hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE hi! link Include PreProc hi! link Keyword Statement @@ -390,17 +445,13 @@ if s:t_Co >= 256 hi! link Number Constant hi! link Operator Statement hi! link PreCondit PreProc - hi PreProc ctermfg=37 ctermbg=NONE cterm=NONE hi! link Repeat Statement hi! link SpecialChar Special hi! link SpecialComment Special - hi Statement ctermfg=167 ctermbg=NONE cterm=NONE hi! link StorageClass Type - hi Special ctermfg=228 ctermbg=NONE cterm=NONE hi! link String Constant hi! link Structure Type hi! link Tag Special - hi Todo ctermfg=37 ctermbg=NONE cterm=reverse hi Type ctermfg=30 ctermbg=NONE cterm=NONE hi! link Typedef Type hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline @@ -428,7 +479,38 @@ if s:t_Co >= 256 finish endif " Light background - if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0) + if !has('gui_running') && get(g:, 'artesanal_dimmed', 0) + hi Conceal ctermfg=25 ctermbg=NONE cterm=NONE + hi Constant ctermfg=29 ctermbg=NONE cterm=NONE + hi Directory ctermfg=25 ctermbg=NONE cterm=bold + hi Error ctermfg=88 ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=30 ctermbg=NONE cterm=NONE + hi Identifier ctermfg=25 ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=25 ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=29 ctermbg=NONE cterm=NONE + hi PreProc ctermfg=30 ctermbg=NONE cterm=NONE + hi Statement ctermfg=88 ctermbg=NONE cterm=NONE + hi Special ctermfg=166 ctermbg=NONE cterm=NONE + hi Todo ctermfg=30 ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=88 ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=25 ctermbg=252 cterm=bold + else + hi Conceal ctermfg=26 ctermbg=NONE cterm=NONE + hi Constant ctermfg=35 ctermbg=NONE cterm=NONE + hi Directory ctermfg=26 ctermbg=NONE cterm=bold + hi Error ctermfg=124 ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=30 ctermbg=NONE cterm=NONE + hi Identifier ctermfg=26 ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=26 ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=35 ctermbg=NONE cterm=NONE + hi PreProc ctermfg=30 ctermbg=NONE cterm=NONE + hi Statement ctermfg=124 ctermbg=NONE cterm=NONE + hi Special ctermfg=208 ctermbg=NONE cterm=NONE + hi Todo ctermfg=30 ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=124 ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=26 ctermbg=252 cterm=bold + endif + if !has('gui_running') && get(g:, 'artesanal_transparent', 0) hi Normal ctermfg=238 ctermbg=NONE cterm=NONE hi CursorLineNr ctermfg=208 ctermbg=NONE cterm=NONE hi FoldColumn ctermfg=59 ctermbg=NONE cterm=NONE @@ -442,7 +524,6 @@ if s:t_Co >= 256 hi VertSplit ctermfg=250 ctermbg=255 cterm=NONE endif hi ColorColumn ctermfg=NONE ctermbg=254 cterm=bold - hi Conceal ctermfg=26 ctermbg=NONE cterm=NONE hi Cursor ctermfg=NONE ctermbg=NONE cterm=bold,reverse hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=bold,italic hi CursorLine ctermfg=NONE ctermbg=NONE cterm=bold,italic @@ -452,16 +533,12 @@ if s:t_Co >= 256 hi DiffDelete ctermfg=181 ctermbg=233 cterm=reverse hi DiffRemoved ctermfg=181 ctermbg=233 cterm=reverse hi DiffText ctermfg=152 ctermbg=233 cterm=reverse - hi Directory ctermfg=26 ctermbg=NONE cterm=bold hi EndOfBuffer ctermfg=255 ctermbg=NONE cterm=NONE - hi Error ctermfg=124 ctermbg=NONE cterm=bold,reverse hi! link ErrorMsg Error hi Folded ctermfg=250 ctermbg=254 cterm=NONE hi IncSearch ctermfg=208 ctermbg=233 cterm=reverse hi LineNr ctermfg=250 ctermbg=254 cterm=NONE hi MatchParen ctermfg=NONE ctermbg=252 cterm=bold - hi ModeMsg ctermfg=26 ctermbg=NONE cterm=NONE - hi MoreMsg ctermfg=35 ctermbg=NONE cterm=NONE hi NonText ctermfg=248 ctermbg=NONE cterm=NONE hi Pmenu ctermfg=238 ctermbg=252 cterm=NONE hi PmenuSbar ctermfg=NONE ctermbg=252 cterm=NONE @@ -485,20 +562,15 @@ if s:t_Co >= 256 hi Title ctermfg=236 ctermbg=NONE cterm=bold hi Visual ctermfg=NONE ctermbg=254 cterm=NONE hi! link VisualNOS Visual - hi WarningMsg ctermfg=124 ctermbg=NONE cterm=NONE - hi WildMenu ctermfg=26 ctermbg=252 cterm=bold hi! link Boolean Constant hi! link Character Constant hi Comment ctermfg=242 ctermbg=NONE cterm=NONE hi! link Conditional Statement - hi Constant ctermfg=35 ctermbg=NONE cterm=NONE hi! link Define PreProc hi! link Debug Special hi! link Delimiter Special hi! link Exception Statement hi! link Float Constant - hi Function ctermfg=30 ctermbg=NONE cterm=NONE - hi Identifier ctermfg=26 ctermbg=NONE cterm=NONE hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE hi! link Include PreProc hi! link Keyword Statement @@ -507,17 +579,13 @@ if s:t_Co >= 256 hi! link Number Constant hi! link Operator Statement hi! link PreCondit PreProc - hi PreProc ctermfg=30 ctermbg=NONE cterm=NONE hi! link Repeat Statement hi! link SpecialChar Special hi! link SpecialComment Special - hi Statement ctermfg=124 ctermbg=NONE cterm=NONE hi! link StorageClass Type - hi Special ctermfg=208 ctermbg=NONE cterm=NONE hi! link String Constant hi! link Structure Type hi! link Tag Special - hi Todo ctermfg=30 ctermbg=NONE cterm=reverse hi Type ctermfg=30 ctermbg=NONE cterm=NONE hi! link Typedef Type hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline @@ -547,7 +615,38 @@ endif if s:t_Co >= 16 if &background ==# 'dark' - if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0) + if !has('gui_running') && get(g:, 'artesanal_dimmed', 0) + hi Conceal ctermfg=DarkBlue ctermbg=NONE cterm=NONE + hi Constant ctermfg=DarkGreen ctermbg=NONE cterm=NONE + hi Directory ctermfg=DarkBlue ctermbg=NONE cterm=bold + hi Error ctermfg=DarkRed ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=DarkCyan ctermbg=NONE cterm=NONE + hi Identifier ctermfg=DarkBlue ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=DarkBlue ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=DarkGreen ctermbg=NONE cterm=NONE + hi PreProc ctermfg=DarkCyan ctermbg=NONE cterm=NONE + hi Statement ctermfg=DarkRed ctermbg=NONE cterm=NONE + hi Special ctermfg=DarkYellow ctermbg=NONE cterm=NONE + hi Todo ctermfg=DarkCyan ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=DarkRed ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=DarkBlue ctermbg=DarkGrey cterm=bold + else + hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE + hi Constant ctermfg=Green ctermbg=NONE cterm=NONE + hi Directory ctermfg=Blue ctermbg=NONE cterm=bold + hi Error ctermfg=Red ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=Cyan ctermbg=NONE cterm=NONE + hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=Blue ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=Green ctermbg=NONE cterm=NONE + hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE + hi Statement ctermfg=Red ctermbg=NONE cterm=NONE + hi Special ctermfg=Yellow ctermbg=NONE cterm=NONE + hi Todo ctermfg=Cyan ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=Red ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=Blue ctermbg=DarkGrey cterm=bold + endif + if !has('gui_running') && get(g:, 'artesanal_transparent', 0) hi Normal ctermfg=White ctermbg=NONE cterm=NONE hi CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE hi FoldColumn ctermfg=DarkGray ctermbg=NONE cterm=NONE @@ -561,7 +660,6 @@ if s:t_Co >= 16 hi VertSplit ctermfg=DarkGrey ctermbg=Black cterm=NONE endif hi ColorColumn ctermfg=NONE ctermbg=Black cterm=bold - hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE hi Cursor ctermfg=NONE ctermbg=NONE cterm=bold,reverse hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=bold,italic hi CursorLine ctermfg=NONE ctermbg=NONE cterm=bold,italic @@ -571,16 +669,12 @@ if s:t_Co >= 16 hi DiffDelete ctermfg=LightRed ctermbg=Black cterm=reverse hi DiffRemoved ctermfg=LightRed ctermbg=Black cterm=reverse hi DiffText ctermfg=LightGreen ctermbg=Black cterm=reverse - hi Directory ctermfg=Blue ctermbg=NONE cterm=bold hi EndOfBuffer ctermfg=Black ctermbg=NONE cterm=NONE - hi Error ctermfg=Red ctermbg=NONE cterm=bold,reverse hi! link ErrorMsg Error hi Folded ctermfg=DarkGrey ctermbg=Black cterm=NONE hi IncSearch ctermfg=Yellow ctermbg=Black cterm=reverse hi LineNr ctermfg=DarkGrey ctermbg=Black cterm=NONE hi MatchParen ctermfg=NONE ctermbg=DarkGrey cterm=bold - hi ModeMsg ctermfg=Blue ctermbg=NONE cterm=NONE - hi MoreMsg ctermfg=Green ctermbg=NONE cterm=NONE hi NonText ctermfg=LightGrey ctermbg=NONE cterm=NONE hi Pmenu ctermfg=White ctermbg=DarkGrey cterm=NONE hi PmenuSbar ctermfg=NONE ctermbg=DarkGrey cterm=NONE @@ -604,20 +698,15 @@ if s:t_Co >= 16 hi Title ctermfg=White ctermbg=NONE cterm=bold hi Visual ctermfg=NONE ctermbg=Black cterm=NONE hi! link VisualNOS Visual - hi WarningMsg ctermfg=Red ctermbg=NONE cterm=NONE - hi WildMenu ctermfg=Blue ctermbg=DarkGrey cterm=bold hi! link Boolean Constant hi! link Character Constant hi Comment ctermfg=DarkGrey ctermbg=NONE cterm=NONE hi! link Conditional Statement - hi Constant ctermfg=Green ctermbg=NONE cterm=NONE hi! link Define PreProc hi! link Debug Special hi! link Delimiter Special hi! link Exception Statement hi! link Float Constant - hi Function ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE hi! link Include PreProc hi! link Keyword Statement @@ -626,17 +715,13 @@ if s:t_Co >= 16 hi! link Number Constant hi! link Operator Statement hi! link PreCondit PreProc - hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE hi! link Repeat Statement hi! link SpecialChar Special hi! link SpecialComment Special - hi Statement ctermfg=Red ctermbg=NONE cterm=NONE hi! link StorageClass Type - hi Special ctermfg=Yellow ctermbg=NONE cterm=NONE hi! link String Constant hi! link Structure Type hi! link Tag Special - hi Todo ctermfg=Cyan ctermbg=NONE cterm=reverse hi Type ctermfg=DarkCyan ctermbg=NONE cterm=NONE hi! link Typedef Type hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline @@ -664,7 +749,38 @@ if s:t_Co >= 16 finish endif " Light background - if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0) + if !has('gui_running') && get(g:, 'artesanal_dimmed', 0) + hi Conceal ctermfg=DarkBlue ctermbg=NONE cterm=NONE + hi Constant ctermfg=DarkGreen ctermbg=NONE cterm=NONE + hi Directory ctermfg=DarkBlue ctermbg=NONE cterm=bold + hi Error ctermfg=DarkRed ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=DarkCyan ctermbg=NONE cterm=NONE + hi Identifier ctermfg=DarkBlue ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=DarkBlue ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=DarkGreen ctermbg=NONE cterm=NONE + hi PreProc ctermfg=DarkCyan ctermbg=NONE cterm=NONE + hi Statement ctermfg=DarkRed ctermbg=NONE cterm=NONE + hi Special ctermfg=DarkYellow ctermbg=NONE cterm=NONE + hi Todo ctermfg=DarkCyan ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=DarkRed ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=DarkBlue ctermbg=LightGrey cterm=bold + else + hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE + hi Constant ctermfg=Green ctermbg=NONE cterm=NONE + hi Directory ctermfg=Blue ctermbg=NONE cterm=bold + hi Error ctermfg=Red ctermbg=NONE cterm=bold,reverse + hi Function ctermfg=Cyan ctermbg=NONE cterm=NONE + hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE + hi ModeMsg ctermfg=Blue ctermbg=NONE cterm=NONE + hi MoreMsg ctermfg=Green ctermbg=NONE cterm=NONE + hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE + hi Statement ctermfg=Red ctermbg=NONE cterm=NONE + hi Special ctermfg=Yellow ctermbg=NONE cterm=NONE + hi Todo ctermfg=Cyan ctermbg=NONE cterm=reverse + hi WarningMsg ctermfg=Red ctermbg=NONE cterm=NONE + hi WildMenu ctermfg=Blue ctermbg=LightGrey cterm=bold + endif + if !has('gui_running') && get(g:, 'artesanal_transparent', 0) hi Normal ctermfg=Black ctermbg=NONE cterm=NONE hi CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE hi FoldColumn ctermfg=DarkGray ctermbg=NONE cterm=NONE @@ -678,7 +794,6 @@ if s:t_Co >= 16 hi VertSplit ctermfg=DarkGrey ctermbg=White cterm=NONE endif hi ColorColumn ctermfg=NONE ctermbg=White cterm=bold - hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE hi Cursor ctermfg=NONE ctermbg=NONE cterm=bold,reverse hi CursorColumn ctermfg=NONE ctermbg=NONE cterm=bold,italic hi CursorLine ctermfg=NONE ctermbg=NONE cterm=bold,italic @@ -688,16 +803,12 @@ if s:t_Co >= 16 hi DiffDelete ctermfg=LightRed ctermbg=Black cterm=reverse hi DiffRemoved ctermfg=LightRed ctermbg=Black cterm=reverse hi DiffText ctermfg=LightGreen ctermbg=Black cterm=reverse - hi Directory ctermfg=Blue ctermbg=NONE cterm=bold hi EndOfBuffer ctermfg=White ctermbg=NONE cterm=NONE - hi Error ctermfg=Red ctermbg=NONE cterm=bold,reverse hi! link ErrorMsg Error hi Folded ctermfg=DarkGrey ctermbg=White cterm=NONE hi IncSearch ctermfg=Yellow ctermbg=Black cterm=reverse hi LineNr ctermfg=DarkGrey ctermbg=White cterm=NONE hi MatchParen ctermfg=NONE ctermbg=LightGrey cterm=bold - hi ModeMsg ctermfg=Blue ctermbg=NONE cterm=NONE - hi MoreMsg ctermfg=Green ctermbg=NONE cterm=NONE hi NonText ctermfg=DarkGrey ctermbg=NONE cterm=NONE hi Pmenu ctermfg=Black ctermbg=LightGrey cterm=NONE hi PmenuSbar ctermfg=NONE ctermbg=LightGrey cterm=NONE @@ -721,20 +832,15 @@ if s:t_Co >= 16 hi Title ctermfg=Black ctermbg=NONE cterm=bold hi Visual ctermfg=NONE ctermbg=White cterm=NONE hi! link VisualNOS Visual - hi WarningMsg ctermfg=Red ctermbg=NONE cterm=NONE - hi WildMenu ctermfg=Blue ctermbg=LightGrey cterm=bold hi! link Boolean Constant hi! link Character Constant hi Comment ctermfg=DarkGrey ctermbg=NONE cterm=NONE hi! link Conditional Statement - hi Constant ctermfg=Green ctermbg=NONE cterm=NONE hi! link Define PreProc hi! link Debug Special hi! link Delimiter Special hi! link Exception Statement hi! link Float Constant - hi Function ctermfg=Cyan ctermbg=NONE cterm=NONE - hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE hi! link Include PreProc hi! link Keyword Statement @@ -743,17 +849,13 @@ if s:t_Co >= 16 hi! link Number Constant hi! link Operator Statement hi! link PreCondit PreProc - hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE hi! link Repeat Statement hi! link SpecialChar Special hi! link SpecialComment Special - hi Statement ctermfg=Red ctermbg=NONE cterm=NONE hi! link StorageClass Type - hi Special ctermfg=Yellow ctermbg=NONE cterm=NONE hi! link String Constant hi! link Structure Type hi! link Tag Special - hi Todo ctermfg=Cyan ctermbg=NONE cterm=reverse hi Type ctermfg=DarkCyan ctermbg=NONE cterm=NONE hi! link Typedef Type hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline diff --git a/doc/artesanal.txt b/doc/artesanal.txt index d185f50..1255005 100644 --- a/doc/artesanal.txt +++ b/doc/artesanal.txt @@ -1,4 +1,4 @@ -*artesanal.txt* For Vim version 8.2 Last change: 2020 Mar 15 +*artesanal.txt* For Vim version 8.2 Last change: 2020 Apr 29 Artesanal color scheme by Stefan Wimmer @@ -19,9 +19,15 @@ Artesanal requires at least 256 colors and supports "true color" terminals. ============================================================================== Colorscheme options artesanal-options* - *g:artesanal_transp_bg* + *g:artesanal_dimmed* +Set to 1 to dim down some colours a bit. +Takes effect only in the terminal. + + let g:artesanal_dimmed = 0 + + *g:artesanal_transparent* Set to 1 if you want a transparent background. Takes effect only in the terminal. - let g:artesanal_transp_bg = 0 + let g:artesanal_transparent = 0 diff --git a/templates/_common.colortemplate b/templates/_common.colortemplate index 25b2df2..0cc207c 100644 --- a/templates/_common.colortemplate +++ b/templates/_common.colortemplate @@ -1,25 +1,57 @@ # vim: ft=colortemplate fdm=marker # Default highlight groups {{{ -#if !has('gui_running') && get(g:, '@optionprefix_transp_bg', 0) - # Transparent background - Normal fg1 none - CursorLineNr yellow none - FoldColumn darkgray none - SignColumn fg2 none - VertSplit bg3 none +#if !has('gui_running') && get(g:, '@optionprefix_dimmed', 0) + # dimmed colours + Conceal darkblue none + Constant darkgreen none + Directory darkblue none bold + Error darkred none t=reverse,bold g=standout,bold + Function darkcyan none + Identifier darkblue none + ModeMsg darkblue none + MoreMsg darkgreen none + PreProc darkcyan none + Statement darkred none + Special darkyellow none + Todo darkcyan none reverse + WarningMsg darkred none + WildMenu darkblue bg2 bold #else - # Opaque background - Normal fg1 bg0 - CursorLineNr yellow bg1 - FoldColumn darkgray bg1 - SignColumn fg2 bg1 - VertSplit bg3 bg0 + # default colours + Conceal blue none + Constant green none + Directory blue none bold + Error red none t=reverse,bold g=standout,bold + Function cyan none + Identifier blue none + ModeMsg blue none + MoreMsg green none + PreProc cyan none + Statement red none + Special yellow none + Todo cyan none reverse + WarningMsg red none + WildMenu blue bg2 bold +#endif +#if !has('gui_running') && get(g:, '@optionprefix_transparent', 0) + # transparent background + Normal fg1 none + CursorLineNr yellow none + FoldColumn darkgray none + SignColumn fg2 none + VertSplit bg3 none +#else + # opaque background + Normal fg1 bg0 + CursorLineNr yellow bg1 + FoldColumn darkgray bg1 + SignColumn fg2 bg1 + VertSplit bg3 bg0 #endif # Group Fg Bg Attributes ColorColumn none bg1 bold -Conceal blue none Cursor none none reverse,bold CursorColumn none none italic,bold CursorLine none none italic,bold @@ -29,16 +61,12 @@ DiffChange brightblue black reverse DiffDelete brightred black reverse DiffRemoved brightred black reverse DiffText brightgreen black reverse -Directory blue none bold EndOfBuffer bg0 none -Error red none t=reverse,bold g=standout,bold ErrorMsg -> Error Folded bg3 bg1 g=italic IncSearch yellow black reverse LineNr bg3 bg1 MatchParen none bg2 bold -ModeMsg blue none -MoreMsg green none NonText bg4 none Pmenu fg1 bg2 PmenuSbar none bg2 @@ -62,21 +90,16 @@ TabLineSel fg1 bg1 Title fg0 none bold Visual none bg1 VisualNOS -> Visual -WarningMsg red none -WildMenu blue bg2 bold # Other conventional group names (see `:help group-name`) Boolean -> Constant Character -> Constant Comment fg3 none Conditional -> Statement -Constant green none Define -> PreProc Debug -> Special Delimiter -> Special Exception -> Statement Float -> Constant -Function cyan none -Identifier blue none Ignore fg none Include -> PreProc Keyword -> Statement @@ -85,17 +108,13 @@ Macro -> PreProc Number -> Constant Operator -> Statement PreCondit -> PreProc -PreProc cyan none Repeat -> Statement SpecialChar -> Special SpecialComment -> Special -Statement red none StorageClass -> Type -Special yellow none String -> Constant Structure -> Type Tag -> Special -Todo cyan none reverse Type darkcyan none Typedef -> Type Underlined none none underline diff --git a/templates/_help.colortemplate b/templates/_help.colortemplate index 0594b62..ba94e9c 100644 --- a/templates/_help.colortemplate +++ b/templates/_help.colortemplate @@ -22,10 +22,16 @@ before loading the colorscheme. For example: ============================================================================== Colorscheme options @shortname-options* - *g:@optionprefix_transp_bg* + *g:@optionprefix_dimmed* +Set to 1 to dim down some colours a bit. +Takes effect only in the terminal. + + let g:@optionprefix_dimmed = 0 + + *g:@optionprefix_transparent* Set to 1 if you want a transparent background. Takes effect only in the terminal. - let g:@optionprefix_transp_bg = 0 + let g:@optionprefix_transparent = 0 enddocumentation