]> git.madduck.net Git - etc/vim.git/blobdiff - colors/artesanal.vim

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

- migrate to Colortemplate v2
[etc/vim.git] / colors / artesanal.vim
index 7ffc8173aa12e7fe66d90c57e48e736287bc428d..4a225b27012b160704e94e429c40fd446697ffa5 100644 (file)
@@ -1,16 +1,12 @@
 " Name:         Artesanal
 " Name:         Artesanal
-" Description:  A Vim colorscheme with light and dark variants based on Material Design.
+" Description:  A Vim colorscheme with light and dark variants originally based on Material Design (now strongly modified to my likings).
 " Author:       Stefan Wimmer <wimstefan@gmail.com>
 " Maintainer:   Stefan Wimmer <wimstefan@gmail.com>
 " Website:      https://github.com/wimstefan/vim-artesanal
 " License:      Vim License (see `:help license`)
 " Author:       Stefan Wimmer <wimstefan@gmail.com>
 " Maintainer:   Stefan Wimmer <wimstefan@gmail.com>
 " Website:      https://github.com/wimstefan/vim-artesanal
 " License:      Vim License (see `:help license`)
-" Last Updated: Wed 09 May 2018 03:07:14 PM CEST
+" Last Updated: Wed 12 Jun 2019 12:15:55 AM CEST
 
 
-if !(has('termguicolors') && &termguicolors) && !has('gui_running')
-      \ && (!exists('&t_Co') || &t_Co < 256)
-  echoerr '[Artesanal] There are not enough colors.'
-  finish
-endif
+" Generated by Colortemplate v2.0.0b3
 
 hi clear
 if exists('syntax_on')
 
 hi clear
 if exists('syntax_on')
@@ -19,397 +15,819 @@ endif
 
 let g:colors_name = 'artesanal'
 
 
 let g:colors_name = 'artesanal'
 
-if &background ==# 'dark'
-  " Color similarity table (dark background)
-  "         black: GUI=#000000/rgb(  0,  0,  0)  Term= 16 #000000/rgb(  0,  0,  0)  [delta=0.000000]
-  "  brightyellow: GUI=#ffffaf/rgb(255,255,175)  Term=229 #ffffaf/rgb(255,255,175)  [delta=0.000000]
-  "   brightwhite: GUI=#ffffff/rgb(255,255,255)  Term=231 #ffffff/rgb(255,255,255)  [delta=0.000000]
-  "           bg3: GUI=#616161/rgb( 97, 97, 97)  Term=241 #626262/rgb( 98, 98, 98)  [delta=0.368854]
-  "         white: GUI=#dcdcdc/rgb(220,220,220)  Term=253 #dadada/rgb(218,218,218)  [delta=0.455975]
-  "           bg0: GUI=#141414/rgb( 20, 20, 20)  Term=233 #121212/rgb( 18, 18, 18)  [delta=0.515624]
-  "           fg1: GUI=#ebebeb/rgb(235,235,235)  Term=255 #eeeeee/rgb(238,238,238)  [delta=0.636113]
-  "           bg2: GUI=#505050/rgb( 80, 80, 80)  Term=239 #4e4e4e/rgb( 78, 78, 78)  [delta=0.689525]
-  "           fg2: GUI=#d3d3d3/rgb(211,211,211)  Term=252 #d0d0d0/rgb(208,208,208)  [delta=0.713123]
-  "           fg0: GUI=#fbfbfb/rgb(251,251,251)  Term=231 #ffffff/rgb(255,255,255)  [delta=0.795722]
-  "       darkred: GUI=#b30000/rgb(179,  0,  0)  Term=124 #af0000/rgb(175,  0,  0)  [delta=0.799362]
-  "        yellow: GUI=#ffff80/rgb(255,255,128)  Term=228 #ffff87/rgb(255,255,135)  [delta=0.859693]
-  "           bg1: GUI=#333333/rgb( 51, 51, 51)  Term=236 #303030/rgb( 48, 48, 48)  [delta=0.961402]
-  "   brightblack: GUI=#696969/rgb(105,105,105)  Term=242 #6c6c6c/rgb(108,108,108)  [delta=1.151169]
-  "           fg4: GUI=#707070/rgb(112,112,112)  Term=242 #6c6c6c/rgb(108,108,108)  [delta=1.558945]
-  "           bg4: GUI=#727272/rgb(114,114,114)  Term=243 #767676/rgb(118,118,118)  [delta=1.588827]
-  "    brightcyan: GUI=#b2dfdb/rgb(178,223,219)  Term=152 #afd7d7/rgb(175,215,215)  [delta=2.696709]
-  "   brightgreen: GUI=#b3ffcc/rgb(179,255,204)  Term=158 #afffd7/rgb(175,255,215)  [delta=3.041362]
-  "         green: GUI=#47b36b/rgb( 71,179,107)  Term= 35 #00af5f/rgb(  0,175, 95)  [delta=3.445808]
-  "           red: GUI=#ff4d4d/rgb(255, 77, 77)  Term=203 #ff5f5f/rgb(255, 95, 95)  [delta=3.492015]
-  "      darkblue: GUI=#266280/rgb( 38, 98,128)  Term= 24 #005f87/rgb(  0, 95,135)  [delta=3.714150]
-  "     brightred: GUI=#ff9999/rgb(255,153,153)  Term=210 #ff8787/rgb(255,135,135)  [delta=4.179329]
-  "          blue: GUI=#7ab1cc/rgb(122,177,204)  Term= 74 #5fafd7/rgb( 95,175,215)  [delta=4.276048]
-  "   darkmagenta: GUI=#4527a0/rgb( 69, 39,160)  Term= 55 #5f00af/rgb( 95,  0,175)  [delta=5.173706]
-  " brightmagenta: GUI=#d1c4e9/rgb(209,196,233)  Term=189 #d7d7ff/rgb(215,215,255)  [delta=5.536146]
-  "    darkyellow: GUI=#ffea00/rgb(255,234,  0)  Term=226 #ffff00/rgb(255,255,  0)  [delta=5.745583]
-  "      darkcyan: GUI=#00695c/rgb(  0,105, 92)  Term= 23 #005f5f/rgb(  0, 95, 95)  [delta=6.224963]
-  "     darkgreen: GUI=#268044/rgb( 38,128, 68)  Term= 29 #00875f/rgb(  0,135, 95)  [delta=6.622343]
-  "       magenta: GUI=#ab47bc/rgb(171, 71,188)  Term=133 #af5faf/rgb(175, 95,175)  [delta=6.806495]
-  "          cyan: GUI=#009688/rgb(  0,150,136)  Term= 30 #008787/rgb(  0,135,135)  [delta=7.127207]
-  "    brightblue: GUI=#cceeff/rgb(204,238,255)  Term=195 #d7ffff/rgb(215,255,255)  [delta=9.196998]
+let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2
+let s:italics = (((&t_ZH != '' && &t_ZH != '\e[7m') || has('gui_running')) && !has('iOS')) || has('nvim')
+
+if (has('termguicolors') && &termguicolors) || has('gui_running')
+  if &background ==# 'dark'
+    let g:terminal_ansi_colors = ['#575c66', '#e84256', '#00bf8a', '#fff176',
+          \ '#6699cc', '#fa75e2', '#00bbcc', '#ffffff', '#121419', '#dc1b33',
+          \ '#008c65', '#e5d85c', '#517aa3', '#f844d8', '#0095a3', '#eff1f4']
+    if has('nvim')
+      let g:terminal_color_0 = '#575c66'
+      let g:terminal_color_1 = '#e84256'
+      let g:terminal_color_2 = '#00bf8a'
+      let g:terminal_color_3 = '#fff176'
+      let g:terminal_color_4 = '#6699cc'
+      let g:terminal_color_5 = '#fa75e2'
+      let g:terminal_color_6 = '#00bbcc'
+      let g:terminal_color_7 = '#ffffff'
+      let g:terminal_color_8 = '#121419'
+      let g:terminal_color_9 = '#dc1b33'
+      let g:terminal_color_10 = '#008c65'
+      let g:terminal_color_11 = '#e5d85c'
+      let g:terminal_color_12 = '#517aa3'
+      let g:terminal_color_13 = '#f844d8'
+      let g:terminal_color_14 = '#0095a3'
+      let g:terminal_color_15 = '#eff1f4'
+    endif
+    if !has('gui_running') && get(g:, 'artesanal_transp_bg', 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
+      hi SignColumn guifg=#cdd2db guibg=NONE guisp=NONE gui=NONE cterm=NONE
+      hi VertSplit guifg=#546e7a guibg=NONE guisp=NONE gui=NONE cterm=NONE
+    else
+      hi Normal guifg=#e4e6eb guibg=#2e3440 guisp=NONE gui=NONE cterm=NONE
+      hi CursorLineNr guifg=#fff176 guibg=#37474f guisp=NONE gui=NONE cterm=NONE
+      hi FoldColumn guifg=#575c66 guibg=#37474f guisp=NONE gui=NONE cterm=NONE
+      hi SignColumn guifg=#cdd2db guibg=#37474f guisp=NONE gui=NONE cterm=NONE
+      hi VertSplit guifg=#546e7a guibg=#2e3440 guisp=NONE gui=NONE cterm=NONE
+    endif
+    hi ColorColumn guifg=NONE guibg=#37474f guisp=NONE gui=NONE cterm=NONE
+    hi Conceal guifg=#6699cc guibg=NONE guisp=NONE gui=NONE cterm=NONE
+    hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
+    hi! link CursorColumn ColorColumn
+    hi! link CursorLine ColorColumn
+    hi DiffAdd guifg=#abddcc guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+    hi DiffAdded guifg=#abddcc guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+    hi DiffChange guifg=#aec0e0 guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+    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! link IncSearch Search
+    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
+    hi PmenuSel guifg=#37474f guibg=#cdd2db guisp=NONE gui=bold cterm=bold
+    hi PmenuThumb guifg=NONE guibg=#90a4ae guisp=NONE gui=NONE cterm=NONE
+    hi Question guifg=#e5d85c guibg=NONE guisp=NONE gui=NONE cterm=NONE
+    hi! link QuickFixLine Search
+    hi Search guifg=#ffffa8 guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+    hi SpecialKey guifg=#90a4ae guibg=NONE guisp=NONE gui=NONE cterm=NONE
+    hi SpellBad guifg=#e84256 guibg=NONE guisp=#e84256 gui=italic,undercurl cterm=italic,undercurl
+    hi SpellCap guifg=#6699cc guibg=NONE guisp=#6699cc gui=italic,undercurl cterm=italic,undercurl
+    hi SpellLocal guifg=#00bbcc guibg=NONE guisp=#00bbcc gui=italic,undercurl cterm=italic,undercurl
+    hi SpellRare guifg=#fa75e2 guibg=NONE guisp=#fa75e2 gui=italic,undercurl cterm=italic,undercurl
+    hi StatusLine guifg=#455a64 guibg=#e4e6eb guisp=NONE gui=reverse cterm=reverse
+    hi StatusLineNC guifg=#37474f guibg=#cdd2db guisp=NONE gui=reverse cterm=reverse
+    hi! link StatusLineTerm StatusLine
+    hi! link StatusLineTermNC StatusLineNC
+    hi! link TabLine TabLineFill
+    hi TabLineFill guifg=#cdd2db guibg=#546e7a guisp=NONE gui=NONE cterm=NONE
+    hi TabLineSel guifg=#e4e6eb guibg=#37474f guisp=NONE gui=NONE cterm=NONE
+    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
+    hi! link Label Statement
+    hi! link Macro PreProc
+    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
+    hi! link lCursor Cursor
+    hi CursorIM guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
+    hi ToolbarLine guifg=NONE guibg=#546e7a guisp=NONE gui=NONE cterm=NONE
+    hi ToolbarButton guifg=#eff1f4 guibg=#546e7a guisp=NONE gui=bold cterm=bold
+    hi! link iCursor Cursor
+    hi! link vCursor Cursor
+    hi NormalMode guifg=#cdd2db guibg=#2e3440 guisp=NONE gui=reverse cterm=reverse
+    hi InsertMode guifg=#6699cc guibg=#2e3440 guisp=NONE gui=reverse cterm=reverse
+    hi ReplaceMode guifg=#00bbcc guibg=#2e3440 guisp=NONE gui=reverse cterm=reverse
+    hi VisualMode guifg=#fff176 guibg=#2e3440 guisp=NONE gui=reverse cterm=reverse
+    hi CommandMode guifg=#fa75e2 guibg=#2e3440 guisp=NONE gui=reverse cterm=reverse
+    hi Warnings guifg=#fff176 guibg=#2e3440 guisp=NONE gui=reverse cterm=reverse
+    if !s:italics
+      hi Folded gui=NONE cterm=NONE
+      hi SpellBad gui=undercurl cterm=undercurl
+      hi SpellCap gui=undercurl cterm=undercurl
+      hi SpellLocal gui=undercurl cterm=undercurl
+      hi SpellRare gui=undercurl cterm=undercurl
+    endif
+    if has('nvim')
+      hi! link TermCursor Cursor
+      hi TermCursorNC guifg=#37474f guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
+    endif
+    unlet s:t_Co s:italics
+    finish
+  endif
+  " Light background
+  let g:terminal_ansi_colors = ['#121419', '#971223', '#00814b', '#cc7000',
+        \ '#00409b', '#9a008d', '#007681', '#eff1f4', '#575c66', '#ae1528',
+        \ '#009a5a', '#ff8c00', '#004bb4', '#b300a4', '#008d9a', '#ffffff']
+  if has('nvim')
+    let g:terminal_color_0 = '#121419'
+    let g:terminal_color_1 = '#971223'
+    let g:terminal_color_2 = '#00814b'
+    let g:terminal_color_3 = '#cc7000'
+    let g:terminal_color_4 = '#00409b'
+    let g:terminal_color_5 = '#9a008d'
+    let g:terminal_color_6 = '#007681'
+    let g:terminal_color_7 = '#eff1f4'
+    let g:terminal_color_8 = '#575c66'
+    let g:terminal_color_9 = '#ae1528'
+    let g:terminal_color_10 = '#009a5a'
+    let g:terminal_color_11 = '#ff8c00'
+    let g:terminal_color_12 = '#004bb4'
+    let g:terminal_color_13 = '#b300a4'
+    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_transp_bg', 0)
-    hi Normal ctermfg=255 ctermbg=NONE guifg=#ebebeb guibg=NONE guisp=NONE cterm=NONE gui=NONE
-    hi CursorLineNr ctermfg=228 ctermbg=NONE guifg=#ffff80 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-    hi FoldColumn ctermfg=242 ctermbg=NONE guifg=#696969 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-    hi SignColumn ctermfg=252 ctermbg=NONE guifg=#d3d3d3 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-    hi VertSplit ctermfg=241 ctermbg=NONE guifg=#616161 guibg=NONE guisp=NONE cterm=NONE gui=NONE
+    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
+    hi SignColumn guifg=#455a64 guibg=NONE guisp=NONE gui=NONE cterm=NONE
+    hi VertSplit guifg=#b6bdcb guibg=NONE guisp=NONE gui=NONE cterm=NONE
   else
   else
-    hi Normal ctermfg=255 ctermbg=233 guifg=#ebebeb guibg=#141414 guisp=NONE cterm=NONE gui=NONE
-    hi CursorLineNr ctermfg=228 ctermbg=236 guifg=#ffff80 guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-    hi FoldColumn ctermfg=242 ctermbg=236 guifg=#696969 guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-    hi SignColumn ctermfg=252 ctermbg=236 guifg=#d3d3d3 guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-    hi VertSplit ctermfg=241 ctermbg=233 guifg=#616161 guibg=#141414 guisp=NONE cterm=NONE gui=NONE
+    hi Normal guifg=#37474f guibg=#eff1f4 guisp=NONE gui=NONE cterm=NONE
+    hi CursorLineNr guifg=#ff8c00 guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
+    hi FoldColumn guifg=#575c66 guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
+    hi SignColumn guifg=#455a64 guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
+    hi VertSplit guifg=#b6bdcb guibg=#eff1f4 guisp=NONE gui=NONE cterm=NONE
   endif
   endif
-  hi ColorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-  hi Conceal ctermfg=74 ctermbg=NONE guifg=#7ab1cc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Cursor ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi! link CursorColumn CursorLine
-  hi CursorLine ctermfg=NONE ctermbg=236 guifg=NONE guibg=#333333 guisp=NONE cterm=NONE,bold,italic gui=NONE,bold,italic
-  hi DiffAdd ctermfg=242 ctermbg=158 guifg=#707070 guibg=#b3ffcc guisp=NONE cterm=NONE gui=NONE
-  hi DiffChange ctermfg=242 ctermbg=195 guifg=#707070 guibg=#cceeff guisp=NONE cterm=NONE gui=NONE
-  hi DiffDelete ctermfg=242 ctermbg=210 guifg=#707070 guibg=#ff9999 guisp=NONE cterm=NONE gui=NONE
-  hi DiffText ctermfg=242 ctermbg=158 guifg=#707070 guibg=#b3ffcc guisp=NONE cterm=NONE gui=NONE
-  hi Directory ctermfg=74 ctermbg=NONE guifg=#7ab1cc guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
-  hi EndOfBuffer ctermfg=233 ctermbg=NONE guifg=#141414 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Error ctermfg=233 ctermbg=203 guifg=#141414 guibg=#ff4d4d guisp=NONE cterm=NONE gui=NONE
+  hi ColorColumn guifg=NONE guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
+  hi Conceal guifg=#004bb4 guibg=NONE guisp=NONE gui=NONE cterm=NONE
+  hi Cursor guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
+  hi! link CursorColumn ColorColumn
+  hi! link CursorLine ColorColumn
+  hi DiffAdd guifg=#abddcc guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+  hi DiffAdded guifg=#abddcc guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+  hi DiffChange guifg=#aec0e0 guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+  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! link ErrorMsg Error
-  hi Folded ctermfg=242 ctermbg=236 guifg=#696969 guibg=#333333 guisp=NONE cterm=NONE gui=NONE,italic
-  hi IncSearch ctermfg=229 ctermbg=16 guifg=#ffffaf guibg=#000000 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi LineNr ctermfg=241 ctermbg=236 guifg=#616161 guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-  hi MatchParen ctermfg=NONE ctermbg=239 guifg=NONE guibg=#505050 guisp=NONE cterm=NONE,bold gui=NONE,bold
-  hi ModeMsg ctermfg=74 ctermbg=NONE guifg=#7ab1cc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi MoreMsg ctermfg=35 ctermbg=NONE guifg=#47b36b guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi NonText ctermfg=243 ctermbg=NONE guifg=#727272 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Pmenu ctermfg=255 ctermbg=239 guifg=#ebebeb guibg=#505050 guisp=NONE cterm=NONE gui=NONE
-  hi PmenuSbar ctermfg=NONE ctermbg=239 guifg=NONE guibg=#505050 guisp=NONE cterm=NONE gui=NONE
-  hi PmenuSel ctermfg=236 ctermbg=74 guifg=#333333 guibg=#7ab1cc guisp=NONE cterm=NONE,bold gui=NONE,bold
-  hi PmenuThumb ctermfg=NONE ctermbg=243 guifg=NONE guibg=#727272 guisp=NONE cterm=NONE gui=NONE
-  hi Question ctermfg=226 ctermbg=NONE guifg=#ffea00 guibg=NONE guisp=NONE cterm=NONE gui=NONE
+  hi Folded guifg=#b6bdcb guibg=#e4e6eb guisp=NONE gui=italic cterm=italic
+  hi! link IncSearch Search
+  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
+  hi PmenuSel guifg=#e4e6eb guibg=#455a64 guisp=NONE gui=bold cterm=bold
+  hi PmenuThumb guifg=NONE guibg=#9fa8ba guisp=NONE gui=NONE cterm=NONE
+  hi Question guifg=#cc7000 guibg=NONE guisp=NONE gui=NONE cterm=NONE
   hi! link QuickFixLine Search
   hi! link QuickFixLine Search
-  hi Search ctermfg=229 ctermbg=16 guifg=#ffffaf guibg=#000000 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi SpecialKey ctermfg=243 ctermbg=NONE guifg=#727272 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi SpellBad ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=#ff4d4d cterm=NONE,underline gui=NONE,italic,undercurl
-  hi SpellCap ctermfg=74 ctermbg=NONE guifg=#7ab1cc guibg=NONE guisp=#7ab1cc cterm=NONE,underline gui=NONE,italic,undercurl
-  hi SpellLocal ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=#009688 cterm=NONE,underline gui=NONE,italic,undercurl
-  hi SpellRare ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=#ab47bc cterm=NONE,underline gui=NONE,italic,undercurl
-  hi StatusLine ctermfg=239 ctermbg=255 guifg=#505050 guibg=#ebebeb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi StatusLineNC ctermfg=236 ctermbg=252 guifg=#333333 guibg=#d3d3d3 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
+  hi Search guifg=#ffc57f guibg=#121419 guisp=NONE gui=reverse cterm=reverse
+  hi SpecialKey guifg=#9fa8ba guibg=NONE guisp=NONE gui=NONE cterm=NONE
+  hi SpellBad guifg=#ae1528 guibg=NONE guisp=#ae1528 gui=italic,undercurl cterm=italic,undercurl
+  hi SpellCap guifg=#004bb4 guibg=NONE guisp=#004bb4 gui=italic,undercurl cterm=italic,undercurl
+  hi SpellLocal guifg=#008d9a guibg=NONE guisp=#008d9a gui=italic,undercurl cterm=italic,undercurl
+  hi SpellRare guifg=#b300a4 guibg=NONE guisp=#b300a4 gui=italic,undercurl cterm=italic,undercurl
+  hi StatusLine guifg=#cdd2db guibg=#37474f guisp=NONE gui=reverse cterm=reverse
+  hi StatusLineNC guifg=#e4e6eb guibg=#455a64 guisp=NONE gui=reverse cterm=reverse
   hi! link StatusLineTerm StatusLine
   hi! link StatusLineTermNC StatusLineNC
   hi! link TabLine TabLineFill
   hi! link StatusLineTerm StatusLine
   hi! link StatusLineTermNC StatusLineNC
   hi! link TabLine TabLineFill
-  hi TabLineFill ctermfg=252 ctermbg=241 guifg=#d3d3d3 guibg=#616161 guisp=NONE cterm=NONE gui=NONE
-  hi TabLineSel ctermfg=255 ctermbg=236 guifg=#ebebeb guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-  hi Title ctermfg=231 ctermbg=NONE guifg=#fbfbfb guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
-  hi Visual ctermfg=NONE ctermbg=236 guifg=NONE guibg=#333333 guisp=NONE cterm=NONE gui=NONE
+  hi TabLineFill guifg=#455a64 guibg=#b6bdcb guisp=NONE gui=NONE cterm=NONE
+  hi TabLineSel guifg=#37474f guibg=#e4e6eb guisp=NONE gui=NONE cterm=NONE
+  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! link VisualNOS Visual
-  hi WarningMsg ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi WildMenu ctermfg=74 ctermbg=239 guifg=#7ab1cc guibg=#505050 guisp=NONE cterm=NONE,bold gui=NONE,bold
-  hi Boolean ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Character ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Comment ctermfg=242 ctermbg=NONE guifg=#696969 guibg=NONE guisp=NONE cterm=NONE gui=NONE,italic
-  hi Conditional ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Constant ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Define ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Debug ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi! link Delimiter Statement
-  hi Exception ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Float ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Function ctermfg=74 ctermbg=NONE guifg=#7ab1cc guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
-  hi Identifier ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Ignore ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Include ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Keyword ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
+  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
   hi! link Label Statement
   hi! link Label Statement
-  hi Macro ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Number ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi! link Operator Normal
-  hi PreCondit ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi PreProc ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Repeat ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi SpecialChar ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi SpecialComment ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Statement ctermfg=203 ctermbg=NONE guifg=#ff4d4d guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi StorageClass ctermfg=35 ctermbg=NONE guifg=#47b36b guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Special ctermfg=228 ctermbg=NONE guifg=#ffff80 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi String ctermfg=35 ctermbg=NONE guifg=#47b36b guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Structure ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
+  hi! link Macro PreProc
+  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! link Tag Special
-  hi Todo ctermfg=fg ctermbg=233 guifg=fg guibg=#141414 guisp=NONE cterm=NONE,bold gui=NONE,bold,italic
-  hi Type ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Typedef ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi Underlined ctermfg=74 ctermbg=NONE guifg=#7ab1cc guibg=NONE guisp=NONE cterm=NONE,underline gui=NONE,underline
+  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
   hi! link lCursor Cursor
   hi! link lCursor Cursor
-  hi CursorIM ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi ToolbarLine ctermfg=NONE ctermbg=241 guifg=NONE guibg=#616161 guisp=NONE cterm=NONE gui=NONE
-  hi ToolbarButton ctermfg=231 ctermbg=241 guifg=#fbfbfb guibg=#616161 guisp=NONE cterm=NONE,bold gui=NONE,bold
-  if get(g:, "artesanal_italic", 0)
-    hi Comment cterm=italic
-    hi Folded cterm=italic
-    hi SpellBad cterm=italic,underline
-    hi SpellCap cterm=italic,underline
-    hi SpellLocal cterm=italic,underline
-    hi SpellRare cterm=italic,underline
-    hi Todo cterm=italic
-  endif
+  hi CursorIM guifg=NONE guibg=NONE guisp=NONE gui=reverse ctermfg=NONE ctermbg=NONE cterm=reverse
+  hi ToolbarLine guifg=NONE guibg=#b6bdcb guisp=NONE gui=NONE cterm=NONE
+  hi ToolbarButton guifg=#2e3440 guibg=#b6bdcb guisp=NONE gui=bold cterm=bold
   hi! link iCursor Cursor
   hi! link vCursor Cursor
   hi! link iCursor Cursor
   hi! link vCursor Cursor
-  hi NormalMode ctermfg=252 ctermbg=233 guifg=#d3d3d3 guibg=#141414 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi InsertMode ctermfg=74 ctermbg=233 guifg=#7ab1cc guibg=#141414 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi ReplaceMode ctermfg=30 ctermbg=233 guifg=#009688 guibg=#141414 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi VisualMode ctermfg=228 ctermbg=233 guifg=#ffff80 guibg=#141414 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi CommandMode ctermfg=133 ctermbg=233 guifg=#ab47bc guibg=#141414 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  hi Warnings ctermfg=228 ctermbg=233 guifg=#ffff80 guibg=#141414 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-  if has('terminal')
-    let g:terminal_color_0  = '#141414'
-    let g:terminal_color_8  = '#696969'
-    let g:terminal_color_1  = '#ff4d4d'
-    let g:terminal_color_9  = '#ff9999'
-    let g:terminal_color_2  = '#47b36b'
-    let g:terminal_color_10 = '#b3ffcc'
-    let g:terminal_color_3  = '#ffff80'
-    let g:terminal_color_11 = '#ffffaf'
-    let g:terminal_color_4  = '#7ab1cc'
-    let g:terminal_color_12 = '#cceeff'
-    let g:terminal_color_5  = '#ab47bc'
-    let g:terminal_color_13 = '#d1c4e9'
-    let g:terminal_color_6  = '#009688'
-    let g:terminal_color_14 = '#b2dfdb'
-    let g:terminal_color_7  = '#fbfbfb'
-    let g:terminal_color_15 = '#d3d3d3'
+  hi NormalMode guifg=#455a64 guibg=#eff1f4 guisp=NONE gui=reverse cterm=reverse
+  hi InsertMode guifg=#004bb4 guibg=#eff1f4 guisp=NONE gui=reverse cterm=reverse
+  hi ReplaceMode guifg=#008d9a guibg=#eff1f4 guisp=NONE gui=reverse cterm=reverse
+  hi VisualMode guifg=#ff8c00 guibg=#eff1f4 guisp=NONE gui=reverse cterm=reverse
+  hi CommandMode guifg=#b300a4 guibg=#eff1f4 guisp=NONE gui=reverse cterm=reverse
+  hi Warnings guifg=#ff8c00 guibg=#eff1f4 guisp=NONE gui=reverse cterm=reverse
+  if !s:italics
+    hi Folded gui=NONE cterm=NONE
+    hi SpellBad gui=undercurl cterm=undercurl
+    hi SpellCap gui=undercurl cterm=undercurl
+    hi SpellLocal gui=undercurl cterm=undercurl
+    hi SpellRare gui=undercurl cterm=undercurl
   endif
   endif
-  hi! link TermCursor Cursor
-  hi TermCursorNC ctermfg=236 ctermbg=255 guifg=#333333 guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
+  if has('nvim')
+    hi! link TermCursor Cursor
+    hi TermCursorNC guifg=#e4e6eb guibg=#37474f guisp=NONE gui=NONE cterm=NONE
+  endif
+  unlet s:t_Co s:italics
   finish
 endif
 
   finish
 endif
 
-" Color similarity table (light background)
-"         black: GUI=#000000/rgb(  0,  0,  0)  Term= 16 #000000/rgb(  0,  0,  0)  [delta=0.000000]
-"           bg4: GUI=#a8a8a8/rgb(168,168,168)  Term=248 #a8a8a8/rgb(168,168,168)  [delta=0.000000]
-"   brightwhite: GUI=#ffffff/rgb(255,255,255)  Term=231 #ffffff/rgb(255,255,255)  [delta=0.000000]
-"           bg3: GUI=#bdbdbd/rgb(189,189,189)  Term=250 #bcbcbc/rgb(188,188,188)  [delta=0.262501]
-"         white: GUI=#dcdcdc/rgb(220,220,220)  Term=253 #dadada/rgb(218,218,218)  [delta=0.455975]
-"           fg0: GUI=#141414/rgb( 20, 20, 20)  Term=233 #121212/rgb( 18, 18, 18)  [delta=0.515624]
-"           bg1: GUI=#ebebeb/rgb(235,235,235)  Term=255 #eeeeee/rgb(238,238,238)  [delta=0.636113]
-"           fg2: GUI=#505050/rgb( 80, 80, 80)  Term=239 #4e4e4e/rgb( 78, 78, 78)  [delta=0.689525]
-"           bg2: GUI=#d3d3d3/rgb(211,211,211)  Term=252 #d0d0d0/rgb(208,208,208)  [delta=0.713123]
-"           bg0: GUI=#fbfbfb/rgb(251,251,251)  Term=231 #ffffff/rgb(255,255,255)  [delta=0.795722]
-"           fg1: GUI=#333333/rgb( 51, 51, 51)  Term=236 #303030/rgb( 48, 48, 48)  [delta=0.961402]
-"   brightblack: GUI=#696969/rgb(105,105,105)  Term=242 #6c6c6c/rgb(108,108,108)  [delta=1.151169]
-"           fg4: GUI=#707070/rgb(112,112,112)  Term=242 #6c6c6c/rgb(108,108,108)  [delta=1.558945]
-"       darkred: GUI=#a30000/rgb(163,  0,  0)  Term=124 #af0000/rgb(175,  0,  0)  [delta=2.390642]
-"    brightcyan: GUI=#b2dfdb/rgb(178,223,219)  Term=152 #afd7d7/rgb(175,215,215)  [delta=2.696709]
-"   brightgreen: GUI=#b3ffcc/rgb(179,255,204)  Term=158 #afffd7/rgb(175,255,215)  [delta=3.041362]
-"         green: GUI=#47b36b/rgb( 71,179,107)  Term= 35 #00af5f/rgb(  0,175, 95)  [delta=3.445808]
-"      darkblue: GUI=#266280/rgb( 38, 98,128)  Term= 24 #005f87/rgb(  0, 95,135)  [delta=3.714150]
-"  brightyellow: GUI=#ffd699/rgb(255,214,153)  Term=222 #ffd787/rgb(255,215,135)  [delta=4.020486]
-"     brightred: GUI=#ff9999/rgb(255,153,153)  Term=210 #ff8787/rgb(255,135,135)  [delta=4.179329]
-"    darkyellow: GUI=#cc7a00/rgb(204,122,  0)  Term=172 #d78700/rgb(215,135,  0)  [delta=4.383031]
-"   darkmagenta: GUI=#4527a0/rgb( 69, 39,160)  Term= 55 #5f00af/rgb( 95,  0,175)  [delta=5.173706]
-" brightmagenta: GUI=#d1c4e9/rgb(209,196,233)  Term=189 #d7d7ff/rgb(215,215,255)  [delta=5.536146]
-"        yellow: GUI=#ff9900/rgb(255,153,  0)  Term=208 #ff8700/rgb(255,135,  0)  [delta=6.094939]
-"      darkcyan: GUI=#00695c/rgb(  0,105, 92)  Term= 23 #005f5f/rgb(  0, 95, 95)  [delta=6.224963]
-"     darkgreen: GUI=#268044/rgb( 38,128, 68)  Term= 29 #00875f/rgb(  0,135, 95)  [delta=6.622343]
-"       magenta: GUI=#ab47bc/rgb(171, 71,188)  Term=133 #af5faf/rgb(175, 95,175)  [delta=6.806495]
-"          cyan: GUI=#009688/rgb(  0,150,136)  Term= 30 #008787/rgb(  0,135,135)  [delta=7.127207]
-"          blue: GUI=#5995b3/rgb( 89,149,179)  Term= 31 #0087af/rgb(  0,135,175)  [delta=7.422120]
-"           red: GUI=#b72e2e/rgb(183, 46, 46)  Term=124 #af0000/rgb(175,  0,  0)  [delta=8.068751]
-"    brightblue: GUI=#cceeff/rgb(204,238,255)  Term=195 #d7ffff/rgb(215,255,255)  [delta=9.196998]
-if !has('gui_running') && get(g:, 'artesanal_transp_bg', 0)
-  hi Normal ctermfg=236 ctermbg=NONE guifg=#333333 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi CursorLineNr ctermfg=208 ctermbg=NONE guifg=#ff9900 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi FoldColumn ctermfg=242 ctermbg=NONE guifg=#696969 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi SignColumn ctermfg=239 ctermbg=NONE guifg=#505050 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-  hi VertSplit ctermfg=250 ctermbg=NONE guifg=#bdbdbd guibg=NONE guisp=NONE cterm=NONE gui=NONE
-else
-  hi Normal ctermfg=236 ctermbg=231 guifg=#333333 guibg=#fbfbfb guisp=NONE cterm=NONE gui=NONE
-  hi CursorLineNr ctermfg=208 ctermbg=255 guifg=#ff9900 guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-  hi FoldColumn ctermfg=242 ctermbg=255 guifg=#696969 guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-  hi SignColumn ctermfg=239 ctermbg=255 guifg=#505050 guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-  hi VertSplit ctermfg=250 ctermbg=231 guifg=#bdbdbd guibg=#fbfbfb guisp=NONE cterm=NONE gui=NONE
-endif
-hi ColorColumn ctermfg=NONE ctermbg=255 guifg=NONE guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-hi Conceal ctermfg=31 ctermbg=NONE guifg=#5995b3 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Cursor ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi! link CursorColumn CursorLine
-hi CursorLine ctermfg=NONE ctermbg=255 guifg=NONE guibg=#ebebeb guisp=NONE cterm=NONE,bold,italic gui=NONE,bold,italic
-hi DiffAdd ctermfg=242 ctermbg=158 guifg=#707070 guibg=#b3ffcc guisp=NONE cterm=NONE gui=NONE
-hi DiffChange ctermfg=242 ctermbg=195 guifg=#707070 guibg=#cceeff guisp=NONE cterm=NONE gui=NONE
-hi DiffDelete ctermfg=242 ctermbg=210 guifg=#707070 guibg=#ff9999 guisp=NONE cterm=NONE gui=NONE
-hi DiffText ctermfg=242 ctermbg=158 guifg=#707070 guibg=#b3ffcc guisp=NONE cterm=NONE gui=NONE
-hi Directory ctermfg=31 ctermbg=NONE guifg=#5995b3 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
-hi EndOfBuffer ctermfg=231 ctermbg=NONE guifg=#fbfbfb guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Error ctermfg=231 ctermbg=124 guifg=#fbfbfb guibg=#b72e2e guisp=NONE cterm=NONE gui=NONE
-hi! link ErrorMsg Error
-hi Folded ctermfg=242 ctermbg=255 guifg=#696969 guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE,italic
-hi IncSearch ctermfg=222 ctermbg=16 guifg=#ffd699 guibg=#000000 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi LineNr ctermfg=250 ctermbg=255 guifg=#bdbdbd guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-hi MatchParen ctermfg=NONE ctermbg=252 guifg=NONE guibg=#d3d3d3 guisp=NONE cterm=NONE,bold gui=NONE,bold
-hi ModeMsg ctermfg=31 ctermbg=NONE guifg=#5995b3 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi MoreMsg ctermfg=35 ctermbg=NONE guifg=#47b36b guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi NonText ctermfg=248 ctermbg=NONE guifg=#a8a8a8 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Pmenu ctermfg=236 ctermbg=252 guifg=#333333 guibg=#d3d3d3 guisp=NONE cterm=NONE gui=NONE
-hi PmenuSbar ctermfg=NONE ctermbg=252 guifg=NONE guibg=#d3d3d3 guisp=NONE cterm=NONE gui=NONE
-hi PmenuSel ctermfg=255 ctermbg=31 guifg=#ebebeb guibg=#5995b3 guisp=NONE cterm=NONE,bold gui=NONE,bold
-hi PmenuThumb ctermfg=NONE ctermbg=248 guifg=NONE guibg=#a8a8a8 guisp=NONE cterm=NONE gui=NONE
-hi Question ctermfg=172 ctermbg=NONE guifg=#cc7a00 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi! link QuickFixLine Search
-hi Search ctermfg=222 ctermbg=16 guifg=#ffd699 guibg=#000000 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi SpecialKey ctermfg=248 ctermbg=NONE guifg=#a8a8a8 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi SpellBad ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=#b72e2e cterm=NONE,underline gui=NONE,italic,undercurl
-hi SpellCap ctermfg=31 ctermbg=NONE guifg=#5995b3 guibg=NONE guisp=#5995b3 cterm=NONE,underline gui=NONE,italic,undercurl
-hi SpellLocal ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=#009688 cterm=NONE,underline gui=NONE,italic,undercurl
-hi SpellRare ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=#ab47bc cterm=NONE,underline gui=NONE,italic,undercurl
-hi StatusLine ctermfg=252 ctermbg=236 guifg=#d3d3d3 guibg=#333333 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi StatusLineNC ctermfg=255 ctermbg=239 guifg=#ebebeb guibg=#505050 guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi! link StatusLineTerm StatusLine
-hi! link StatusLineTermNC StatusLineNC
-hi! link TabLine TabLineFill
-hi TabLineFill ctermfg=239 ctermbg=250 guifg=#505050 guibg=#bdbdbd guisp=NONE cterm=NONE gui=NONE
-hi TabLineSel ctermfg=236 ctermbg=255 guifg=#333333 guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-hi Title ctermfg=233 ctermbg=NONE guifg=#141414 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
-hi Visual ctermfg=NONE ctermbg=255 guifg=NONE guibg=#ebebeb guisp=NONE cterm=NONE gui=NONE
-hi! link VisualNOS Visual
-hi WarningMsg ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi WildMenu ctermfg=31 ctermbg=252 guifg=#5995b3 guibg=#d3d3d3 guisp=NONE cterm=NONE,bold gui=NONE,bold
-hi Boolean ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Character ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Comment ctermfg=242 ctermbg=NONE guifg=#696969 guibg=NONE guisp=NONE cterm=NONE gui=NONE,italic
-hi Conditional ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Constant ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Define ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Debug ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi! link Delimiter Statement
-hi Exception ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Float ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Function ctermfg=31 ctermbg=NONE guifg=#5995b3 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
-hi Identifier ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Ignore ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Include ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Keyword ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi! link Label Statement
-hi Macro ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Number ctermfg=133 ctermbg=NONE guifg=#ab47bc guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi! link Operator Normal
-hi PreCondit ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi PreProc ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Repeat ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi SpecialChar ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi SpecialComment ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Statement ctermfg=124 ctermbg=NONE guifg=#b72e2e guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi StorageClass ctermfg=35 ctermbg=NONE guifg=#47b36b guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Special ctermfg=208 ctermbg=NONE guifg=#ff9900 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi String ctermfg=35 ctermbg=NONE guifg=#47b36b guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Structure ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi! link Tag Special
-hi Todo ctermfg=fg ctermbg=231 guifg=fg guibg=#fbfbfb guisp=NONE cterm=NONE,bold gui=NONE,bold,italic
-hi Type ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Typedef ctermfg=30 ctermbg=NONE guifg=#009688 guibg=NONE guisp=NONE cterm=NONE gui=NONE
-hi Underlined ctermfg=31 ctermbg=NONE guifg=#5995b3 guibg=NONE guisp=NONE cterm=NONE,underline gui=NONE,underline
-hi! link lCursor Cursor
-hi CursorIM ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi ToolbarLine ctermfg=NONE ctermbg=250 guifg=NONE guibg=#bdbdbd guisp=NONE cterm=NONE gui=NONE
-hi ToolbarButton ctermfg=233 ctermbg=250 guifg=#141414 guibg=#bdbdbd guisp=NONE cterm=NONE,bold gui=NONE,bold
-if get(g:, "artesanal_italic", 0)
-  hi Comment cterm=italic
-  hi Folded cterm=italic
-  hi SpellBad cterm=italic,underline
-  hi SpellCap cterm=italic,underline
-  hi SpellLocal cterm=italic,underline
-  hi SpellRare cterm=italic,underline
-  hi Todo cterm=italic
+if s:t_Co >= 256
+  if &background ==# 'dark'
+    if !has('gui_running') && get(g:, 'artesanal_transp_bg', 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
+      hi SignColumn ctermfg=252 ctermbg=NONE cterm=NONE
+      hi VertSplit ctermfg=242 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
+      hi CursorLineNr ctermfg=228 ctermbg=238 cterm=NONE
+      hi FoldColumn ctermfg=59 ctermbg=238 cterm=NONE
+      hi SignColumn ctermfg=252 ctermbg=238 cterm=NONE
+      hi VertSplit ctermfg=242 ctermbg=236 cterm=NONE
+    endif
+    hi ColorColumn ctermfg=NONE ctermbg=238 cterm=NONE
+    hi Conceal ctermfg=67 ctermbg=NONE cterm=NONE
+    hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
+    hi! link CursorColumn ColorColumn
+    hi! link CursorLine ColorColumn
+    hi DiffAdd ctermfg=152 ctermbg=233 cterm=reverse
+    hi DiffAdded ctermfg=152 ctermbg=233 cterm=reverse
+    hi DiffChange ctermfg=153 ctermbg=233 cterm=reverse
+    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! link IncSearch Search
+    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
+    hi PmenuSel ctermfg=238 ctermbg=252 cterm=bold
+    hi PmenuThumb ctermfg=NONE ctermbg=247 cterm=NONE
+    hi Question ctermfg=185 ctermbg=NONE cterm=NONE
+    hi! link QuickFixLine Search
+    hi Search ctermfg=229 ctermbg=233 cterm=reverse
+    hi SpecialKey ctermfg=247 ctermbg=NONE cterm=NONE
+    hi SpellBad ctermfg=167 ctermbg=NONE cterm=underline
+    hi SpellCap ctermfg=67 ctermbg=NONE cterm=underline
+    hi SpellLocal ctermfg=37 ctermbg=NONE cterm=underline
+    hi SpellRare ctermfg=206 ctermbg=NONE cterm=underline
+    hi StatusLine ctermfg=240 ctermbg=254 cterm=reverse
+    hi StatusLineNC ctermfg=238 ctermbg=252 cterm=reverse
+    hi! link StatusLineTerm StatusLine
+    hi! link StatusLineTermNC StatusLineNC
+    hi! link TabLine TabLineFill
+    hi TabLineFill ctermfg=252 ctermbg=242 cterm=NONE
+    hi TabLineSel ctermfg=254 ctermbg=238 cterm=NONE
+    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
+    hi! link Label Statement
+    hi! link Macro PreProc
+    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
+    hi! link lCursor Cursor
+    hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
+    hi ToolbarLine ctermfg=NONE ctermbg=242 cterm=NONE
+    hi ToolbarButton ctermfg=255 ctermbg=242 cterm=bold
+    hi! link iCursor Cursor
+    hi! link vCursor Cursor
+    hi NormalMode ctermfg=252 ctermbg=236 cterm=reverse
+    hi InsertMode ctermfg=67 ctermbg=236 cterm=reverse
+    hi ReplaceMode ctermfg=37 ctermbg=236 cterm=reverse
+    hi VisualMode ctermfg=228 ctermbg=236 cterm=reverse
+    hi CommandMode ctermfg=206 ctermbg=236 cterm=reverse
+    hi Warnings ctermfg=228 ctermbg=236 cterm=reverse
+    if has('nvim')
+      hi! link TermCursor Cursor
+      hi TermCursorNC ctermfg=238 ctermbg=254 cterm=NONE
+    endif
+    unlet s:t_Co s:italics
+    finish
+  endif
+  " Light background
+  if !has('gui_running') && get(g:, 'artesanal_transp_bg', 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
+    hi SignColumn ctermfg=240 ctermbg=NONE cterm=NONE
+    hi VertSplit ctermfg=250 ctermbg=NONE cterm=NONE
+  else
+    hi Normal ctermfg=238 ctermbg=255 cterm=NONE
+    hi CursorLineNr ctermfg=208 ctermbg=254 cterm=NONE
+    hi FoldColumn ctermfg=59 ctermbg=254 cterm=NONE
+    hi SignColumn ctermfg=240 ctermbg=254 cterm=NONE
+    hi VertSplit ctermfg=250 ctermbg=255 cterm=NONE
+  endif
+  hi ColorColumn ctermfg=NONE ctermbg=254 cterm=NONE
+  hi Conceal ctermfg=26 ctermbg=NONE cterm=NONE
+  hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
+  hi! link CursorColumn ColorColumn
+  hi! link CursorLine ColorColumn
+  hi DiffAdd ctermfg=152 ctermbg=233 cterm=reverse
+  hi DiffAdded ctermfg=152 ctermbg=233 cterm=reverse
+  hi DiffChange ctermfg=153 ctermbg=233 cterm=reverse
+  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! link IncSearch Search
+  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
+  hi PmenuSel ctermfg=254 ctermbg=240 cterm=bold
+  hi PmenuThumb ctermfg=NONE ctermbg=248 cterm=NONE
+  hi Question ctermfg=166 ctermbg=NONE cterm=NONE
+  hi! link QuickFixLine Search
+  hi Search ctermfg=215 ctermbg=233 cterm=reverse
+  hi SpecialKey ctermfg=248 ctermbg=NONE cterm=NONE
+  hi SpellBad ctermfg=124 ctermbg=NONE cterm=underline
+  hi SpellCap ctermfg=26 ctermbg=NONE cterm=underline
+  hi SpellLocal ctermfg=30 ctermbg=NONE cterm=underline
+  hi SpellRare ctermfg=127 ctermbg=NONE cterm=underline
+  hi StatusLine ctermfg=252 ctermbg=238 cterm=reverse
+  hi StatusLineNC ctermfg=254 ctermbg=240 cterm=reverse
+  hi! link StatusLineTerm StatusLine
+  hi! link StatusLineTermNC StatusLineNC
+  hi! link TabLine TabLineFill
+  hi TabLineFill ctermfg=240 ctermbg=250 cterm=NONE
+  hi TabLineSel ctermfg=238 ctermbg=254 cterm=NONE
+  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
+  hi! link Label Statement
+  hi! link Macro PreProc
+  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
+  hi! link lCursor Cursor
+  hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
+  hi ToolbarLine ctermfg=NONE ctermbg=250 cterm=NONE
+  hi ToolbarButton ctermfg=236 ctermbg=250 cterm=bold
+  hi! link iCursor Cursor
+  hi! link vCursor Cursor
+  hi NormalMode ctermfg=240 ctermbg=255 cterm=reverse
+  hi InsertMode ctermfg=26 ctermbg=255 cterm=reverse
+  hi ReplaceMode ctermfg=30 ctermbg=255 cterm=reverse
+  hi VisualMode ctermfg=208 ctermbg=255 cterm=reverse
+  hi CommandMode ctermfg=127 ctermbg=255 cterm=reverse
+  hi Warnings ctermfg=208 ctermbg=255 cterm=reverse
+  if has('nvim')
+    hi! link TermCursor Cursor
+    hi TermCursorNC ctermfg=254 ctermbg=238 cterm=NONE
+  endif
+  unlet s:t_Co s:italics
+  finish
 endif
 endif
-hi! link iCursor Cursor
-hi! link vCursor Cursor
-hi NormalMode ctermfg=239 ctermbg=231 guifg=#505050 guibg=#fbfbfb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi InsertMode ctermfg=31 ctermbg=231 guifg=#5995b3 guibg=#fbfbfb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi ReplaceMode ctermfg=30 ctermbg=231 guifg=#009688 guibg=#fbfbfb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi VisualMode ctermfg=208 ctermbg=231 guifg=#ff9900 guibg=#fbfbfb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi CommandMode ctermfg=133 ctermbg=231 guifg=#ab47bc guibg=#fbfbfb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-hi Warnings ctermfg=208 ctermbg=231 guifg=#ff9900 guibg=#fbfbfb guisp=NONE cterm=NONE,reverse gui=NONE,reverse
-if has('terminal')
-  let g:terminal_color_0  = '#fbfbfb'
-  let g:terminal_color_8  = '#696969'
-  let g:terminal_color_1  = '#b72e2e'
-  let g:terminal_color_9  = '#ff9999'
-  let g:terminal_color_2  = '#47b36b'
-  let g:terminal_color_10 = '#b3ffcc'
-  let g:terminal_color_3  = '#ff9900'
-  let g:terminal_color_11 = '#ffd699'
-  let g:terminal_color_4  = '#5995b3'
-  let g:terminal_color_12 = '#cceeff'
-  let g:terminal_color_5  = '#ab47bc'
-  let g:terminal_color_13 = '#d1c4e9'
-  let g:terminal_color_6  = '#009688'
-  let g:terminal_color_14 = '#b2dfdb'
-  let g:terminal_color_7  = '#141414'
-  let g:terminal_color_15 = '#505050'
+
+if s:t_Co >= 16
+  if &background ==# 'dark'
+    if !has('gui_running') && get(g:, 'artesanal_transp_bg', 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
+      hi SignColumn ctermfg=LightGrey ctermbg=NONE cterm=NONE
+      hi VertSplit ctermfg=DarkGrey ctermbg=NONE cterm=NONE
+    else
+      hi Normal ctermfg=White ctermbg=Black cterm=NONE
+      hi CursorLineNr ctermfg=Yellow ctermbg=Black cterm=NONE
+      hi FoldColumn ctermfg=DarkGray ctermbg=Black cterm=NONE
+      hi SignColumn ctermfg=LightGrey ctermbg=Black cterm=NONE
+      hi VertSplit ctermfg=DarkGrey ctermbg=Black cterm=NONE
+    endif
+    hi ColorColumn ctermfg=NONE ctermbg=Black cterm=NONE
+    hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE
+    hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
+    hi! link CursorColumn ColorColumn
+    hi! link CursorLine ColorColumn
+    hi DiffAdd ctermfg=LightGreen ctermbg=Black cterm=reverse
+    hi DiffAdded ctermfg=LightGreen ctermbg=Black cterm=reverse
+    hi DiffChange ctermfg=LightBlue ctermbg=Black cterm=reverse
+    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! link IncSearch Search
+    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
+    hi PmenuSel ctermfg=Black ctermbg=LightGrey cterm=bold
+    hi PmenuThumb ctermfg=NONE ctermbg=LightGrey cterm=NONE
+    hi Question ctermfg=DarkYellow ctermbg=NONE cterm=NONE
+    hi! link QuickFixLine Search
+    hi Search ctermfg=LightYellow ctermbg=Black cterm=reverse
+    hi SpecialKey ctermfg=LightGrey ctermbg=NONE cterm=NONE
+    hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
+    hi SpellCap ctermfg=Blue ctermbg=NONE cterm=underline
+    hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=underline
+    hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
+    hi StatusLine ctermfg=DarkGrey ctermbg=White cterm=reverse
+    hi StatusLineNC ctermfg=Black ctermbg=LightGrey cterm=reverse
+    hi! link StatusLineTerm StatusLine
+    hi! link StatusLineTermNC StatusLineNC
+    hi! link TabLine TabLineFill
+    hi TabLineFill ctermfg=LightGrey ctermbg=DarkGrey cterm=NONE
+    hi TabLineSel ctermfg=White ctermbg=Black cterm=NONE
+    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
+    hi! link Label Statement
+    hi! link Macro PreProc
+    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
+    hi! link lCursor Cursor
+    hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
+    hi ToolbarLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE
+    hi ToolbarButton ctermfg=White ctermbg=DarkGrey cterm=bold
+    hi! link iCursor Cursor
+    hi! link vCursor Cursor
+    hi NormalMode ctermfg=LightGrey ctermbg=Black cterm=reverse
+    hi InsertMode ctermfg=Blue ctermbg=Black cterm=reverse
+    hi ReplaceMode ctermfg=Cyan ctermbg=Black cterm=reverse
+    hi VisualMode ctermfg=Yellow ctermbg=Black cterm=reverse
+    hi CommandMode ctermfg=Magenta ctermbg=Black cterm=reverse
+    hi Warnings ctermfg=Yellow ctermbg=Black cterm=reverse
+    if has('nvim')
+      hi! link TermCursor Cursor
+      hi TermCursorNC ctermfg=Black ctermbg=White cterm=NONE
+    endif
+    unlet s:t_Co s:italics
+    finish
+  endif
+  " Light background
+  if !has('gui_running') && get(g:, 'artesanal_transp_bg', 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
+    hi SignColumn ctermfg=DarkGrey ctermbg=NONE cterm=NONE
+    hi VertSplit ctermfg=DarkGrey ctermbg=NONE cterm=NONE
+  else
+    hi Normal ctermfg=Black ctermbg=White cterm=NONE
+    hi CursorLineNr ctermfg=Yellow ctermbg=White cterm=NONE
+    hi FoldColumn ctermfg=DarkGray ctermbg=White cterm=NONE
+    hi SignColumn ctermfg=DarkGrey ctermbg=White cterm=NONE
+    hi VertSplit ctermfg=DarkGrey ctermbg=White cterm=NONE
+  endif
+  hi ColorColumn ctermfg=NONE ctermbg=White cterm=NONE
+  hi Conceal ctermfg=Blue ctermbg=NONE cterm=NONE
+  hi Cursor ctermfg=NONE ctermbg=NONE cterm=reverse
+  hi! link CursorColumn ColorColumn
+  hi! link CursorLine ColorColumn
+  hi DiffAdd ctermfg=LightGreen ctermbg=Black cterm=reverse
+  hi DiffAdded ctermfg=LightGreen ctermbg=Black cterm=reverse
+  hi DiffChange ctermfg=LightBlue ctermbg=Black cterm=reverse
+  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! link IncSearch Search
+  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
+  hi PmenuSel ctermfg=White ctermbg=DarkGrey cterm=bold
+  hi PmenuThumb ctermfg=NONE ctermbg=DarkGrey cterm=NONE
+  hi Question ctermfg=DarkYellow ctermbg=NONE cterm=NONE
+  hi! link QuickFixLine Search
+  hi Search ctermfg=LightYellow ctermbg=Black cterm=reverse
+  hi SpecialKey ctermfg=DarkGrey ctermbg=NONE cterm=NONE
+  hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
+  hi SpellCap ctermfg=Blue ctermbg=NONE cterm=underline
+  hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=underline
+  hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
+  hi StatusLine ctermfg=LightGrey ctermbg=Black cterm=reverse
+  hi StatusLineNC ctermfg=White ctermbg=DarkGrey cterm=reverse
+  hi! link StatusLineTerm StatusLine
+  hi! link StatusLineTermNC StatusLineNC
+  hi! link TabLine TabLineFill
+  hi TabLineFill ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE
+  hi TabLineSel ctermfg=Black ctermbg=White cterm=NONE
+  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
+  hi! link Label Statement
+  hi! link Macro PreProc
+  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
+  hi! link lCursor Cursor
+  hi CursorIM ctermfg=NONE ctermbg=NONE cterm=reverse
+  hi ToolbarLine ctermfg=NONE ctermbg=DarkGrey cterm=NONE
+  hi ToolbarButton ctermfg=Black ctermbg=DarkGrey cterm=bold
+  hi! link iCursor Cursor
+  hi! link vCursor Cursor
+  hi NormalMode ctermfg=DarkGrey ctermbg=White cterm=reverse
+  hi InsertMode ctermfg=Blue ctermbg=White cterm=reverse
+  hi ReplaceMode ctermfg=Cyan ctermbg=White cterm=reverse
+  hi VisualMode ctermfg=Yellow ctermbg=White cterm=reverse
+  hi CommandMode ctermfg=Magenta ctermbg=White cterm=reverse
+  hi Warnings ctermfg=Yellow ctermbg=White cterm=reverse
+  if has('nvim')
+    hi! link TermCursor Cursor
+    hi TermCursorNC ctermfg=White ctermbg=Black cterm=NONE
+  endif
+  unlet s:t_Co s:italics
+  finish
 endif
 endif
-hi! link TermCursor Cursor
-hi TermCursorNC ctermfg=255 ctermbg=236 guifg=#ebebeb guibg=#333333 guisp=NONE cterm=NONE gui=NONE
-finish
 
 
+" Variant:         gui 256 16
 " Background: light
 " Background: light
-" Color: fg0 #141414 ~
-" Color: fg1 #333333 ~
-" Color: fg2 #505050 ~
-" Color: fg4 #707070 ~
-" Color: bg0 #fbfbfb ~
-" Color: bg1 #ebebeb ~
-" Color: bg2 #d3d3d3 ~
-" Color: bg3 #bdbdbd ~
-" Color: bg4 #a8a8a8 ~
-" Color: black                #000000     ~        Black
-" Color: brightblack          #696969     ~        DimGray
-" Color: red                  #b72e2e     ~        Red
-" Color: brightred            #ff9999     ~        LightRed
-" Color: darkred              #a30000     ~        DarkRed
-" Color: green                #47b36b     ~        Green
-" Color: brightgreen          #b3ffcc     ~        LightGreen
-" Color: darkgreen            #268044     ~        DarkGreen
-" Color: yellow               #ff9900     ~        Yellow
-" Color: brightyellow         #ffd699     ~        LightYellow
-" Color: darkyellow           #cc7a00     ~        DarkYellow
-" Color: blue                 #5995b3     ~        Blue
-" Color: brightblue           #cceeff     ~        LightBlue
-" Color: darkblue             #266280     ~        DarkBlue
-" Color: magenta              #ab47bc     ~        Magenta
-" Color: brightmagenta        #d1c4e9     ~        LightMagenta
-" Color: darkmagenta          #4527a0     ~        DarkMagenta
-" Color: cyan                 #009688     ~        Cyan
-" Color: brightcyan           #b2dfdb     ~        LightCyan
-" Color: darkcyan             #00695c     ~        DarkCyan
-" Color: white                #dcdcdc     ~        Gainsboro
+" Variant:   gui     256 16
+" Color: fg0 #2e3440 ~   Black
+" Color: fg1 #37474f ~   Black
+" Color: fg2 #455a64 ~   DarkGrey
+" Color: fg3 #546e7a ~   DarkGrey
+" Color: fg4 #90a4ae ~   LightGrey
+" Color: bg0 #eff1f4 ~   White
+" Color: bg1 #e4e6eb ~   White
+" Color: bg2 #cdd2db ~   LightGrey
+" Color: bg3 #b6bdcb ~   DarkGrey
+" Color: bg4 #9fa8ba ~   DarkGrey
+" Color: black                #121419     ~        Black
+" Color: darkgray             #575c66     ~        DarkGray
+" Color: red                  #ae1528     ~        Red
+" Color: brightred            #ddabbc     ~        LightRed
+" Color: darkred              #971223     ~        DarkRed
+" Color: green                #009a5a     ~        Green
+" Color: brightgreen          #abddcc     ~        LightGreen
+" Color: darkgreen            #00814b     ~        DarkGreen
+" Color: yellow               #ff8c00     ~        Yellow
+" Color: brightyellow         #ffc57f     ~        LightYellow
+" Color: darkyellow           #cc7000     ~        DarkYellow
+" Color: blue                 #004bb4     ~        Blue
+" Color: brightblue           #aec0e0     ~        LightBlue
+" Color: darkblue             #00409b     ~        DarkBlue
+" Color: magenta              #b300a4     ~        Magenta
+" Color: brightmagenta        #fc86ec     ~        LightMagenta
+" Color: darkmagenta          #9a008d     ~        DarkMagenta
+" Color: cyan                 #008d9a     ~        Cyan
+" Color: brightcyan           #00d3e7     ~        LightCyan
+" Color: darkcyan             #007681     ~        DarkCyan
+" Color: white                #eff1f4     ~        White
 " Color: brightwhite          #ffffff     ~        White
 " Color: brightwhite          #ffffff     ~        White
+" Term Colors: black darkred darkgreen darkyellow darkblue darkmagenta darkcyan white
+" Term Colors: darkgray red green yellow blue magenta cyan brightwhite
+" if !has('gui_running') && get(g:, '@optionprefix_transp_bg', 0)
 "   Normal       fg1           none
 "   CursorLineNr yellow        none
 "   Normal       fg1           none
 "   CursorLineNr yellow        none
-"   FoldColumn   brightblack   none
+"   FoldColumn   darkgray      none
 "   SignColumn   fg2           none
 "   VertSplit    bg3           none
 "   SignColumn   fg2           none
 "   VertSplit    bg3           none
+" else
 "   Normal       fg1           bg0
 "   CursorLineNr yellow        bg1
 "   Normal       fg1           bg0
 "   CursorLineNr yellow        bg1
-"   FoldColumn   brightblack   bg1
+"   FoldColumn   darkgray      bg1
 "   SignColumn   fg2           bg1
 "   VertSplit    bg3           bg0
 "   SignColumn   fg2           bg1
 "   VertSplit    bg3           bg0
+" endif
 " ColorColumn                      none         bg1
 " Conceal                          blue         none
 " Cursor                           none         none    reverse
 " ColorColumn                      none         bg1
 " Conceal                          blue         none
 " Cursor                           none         none    reverse
-" CursorColumn                  -> CursorLine
-" CursorLine                       none         bg1     bold,italic
-" DiffAdd                          fg4          brightgreen
-" DiffChange                       fg4          brightblue
-" DiffDelete                       fg4          brightred
-" DiffText                         fg4          brightgreen
+" CursorColumn                  -> ColorColumn
+" CursorLine                    -> ColorColumn
+" DiffAdd                          brightgreen  black   reverse
+" DiffAdded                        brightgreen  black   reverse
+" DiffChange                       brightblue   black   reverse
+" DiffDelete                       brightred    black   reverse
+" DiffRemoved                      brightred    black   reverse
+" DiffText                         brightgreen  black   reverse
 " Directory                        blue         none    bold
 " EndOfBuffer                      bg0          none
 " Directory                        blue         none    bold
 " EndOfBuffer                      bg0          none
-" Error                            bg0          red
+" Error                            red          none    t=reverse,bold g=standout,bold
 " ErrorMsg                      -> Error
 " ErrorMsg                      -> Error
-" Folded                           brightblack  bg1     g=italic
-" IncSearch                        brightyellow black   reverse
+" Folded                           bg3          bg1     g=italic
+" IncSearch                     -> Search
 " LineNr                           bg3          bg1
 " MatchParen                       none         bg2     bold
 " ModeMsg                          blue         none
 " LineNr                           bg3          bg1
 " MatchParen                       none         bg2     bold
 " ModeMsg                          blue         none
@@ -417,7 +835,7 @@ finish
 " NonText                          bg4          none
 " Pmenu                            fg1          bg2
 " PmenuSbar                        none         bg2
 " NonText                          bg4          none
 " Pmenu                            fg1          bg2
 " PmenuSbar                        none         bg2
-" PmenuSel                         bg1          blue    bold
+" PmenuSel                         bg1          fg2    bold
 " PmenuThumb                       none         bg4
 " Question                         darkyellow   none
 " QuickFixLine                  -> Search
 " PmenuThumb                       none         bg4
 " Question                         darkyellow   none
 " QuickFixLine                  -> Search
@@ -439,40 +857,40 @@ finish
 " VisualNOS                     -> Visual
 " WarningMsg                       red          none
 " WildMenu                         blue         bg2     bold
 " VisualNOS                     -> Visual
 " WarningMsg                       red          none
 " WildMenu                         blue         bg2     bold
-" Boolean                          magenta      none
-" Character                        magenta      none
-" Comment                          brightblack  none    g=italic
-" Conditional                      red          none
-" Constant                         magenta      none
-" Define                           cyan         none
-" Debug                            red          none
-" Delimiter                     -> Statement
-" Exception                        red          none
-" Float                            magenta      none
-" Function                         blue         none    bold
-" Identifier                       cyan         none
+" 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
 " Ignore                           fg           none
-" Include                          cyan         none
-" Keyword                          red          none
+" Include                       -> PreProc
+" Keyword                       -> Statement
 " Label                         -> Statement
 " Label                         -> Statement
-" Macro                            cyan         none
-" Number                           magenta      none
-" Operator                      -> Normal
-" PreCondit                        cyan         none
+" Macro                         -> PreProc
+" Number                        -> Constant
+" Operator                      -> Statement
+" PreCondit                     -> PreProc
 " PreProc                          cyan         none
 " PreProc                          cyan         none
-" Repeat                           red          none
-" SpecialChar                      red          none
-" SpecialComment                   red          none
+" Repeat                        -> Statement
+" SpecialChar                   -> Special
+" SpecialComment                -> Special
 " Statement                        red          none
 " Statement                        red          none
-" StorageClass                     green        none
+" StorageClass                  -> Type
 " Special                          yellow       none
 " Special                          yellow       none
-" String                           green        none
-" Structure                        cyan         none
+" String                        -> Constant
+" Structure                     -> Type
 " Tag                           -> Special
 " Tag                           -> Special
-" Todo                             fg           bg0     t=bold g=bold,italic
-" Type                             cyan         none
-" Typedef                          cyan         none
-" Underlined                       blue         none    underline
+" Todo                             cyan         none    reverse
+" Type                             darkcyan     none
+" Typedef                       -> Type
+" Underlined                       none         none    underline
 " lCursor                       -> Cursor
 " CursorIM                         none         none    reverse
 " ToolbarLine                      none         bg3
 " lCursor                       -> Cursor
 " CursorIM                         none         none    reverse
 " ToolbarLine                      none         bg3
@@ -485,65 +903,74 @@ finish
 " VisualMode                       yellow       bg0     reverse
 " CommandMode                      magenta      bg0     reverse
 " Warnings                         yellow       bg0     reverse
 " VisualMode                       yellow       bg0     reverse
 " CommandMode                      magenta      bg0     reverse
 " Warnings                         yellow       bg0     reverse
-" TermCursor        -> Cursor
-" TermCursorNC         bg1            fg1
+" TermCursor                    -> Cursor
+" TermCursorNC                     bg1          fg1
 " Background: dark
 " Background: dark
-" Color: fg0 #fbfbfb ~
-" Color: fg1 #ebebeb ~
-" Color: fg2 #d3d3d3 ~
-" Color: fg4 #707070 ~
-" Color: bg0 #141414 ~
-" Color: bg1 #333333 ~
-" Color: bg2 #505050 ~
-" Color: bg3 #616161 ~
-" Color: bg4 #727272 ~
-" Color: black                #000000     ~        Black
-" Color: brightblack          #696969     ~        DimGray
-" Color: red                  #ff4d4d     ~        Red
-" Color: brightred            #ff9999     ~        LightRed
-" Color: darkred              #b30000     ~        DarkRed
-" Color: green                #47b36b     ~        Green
-" Color: brightgreen          #b3ffcc     ~        LightGreen
-" Color: darkgreen            #268044     ~        DarkGreen
-" Color: yellow               #ffff80     ~        Yellow
-" Color: brightyellow         #ffffaf     ~        LightYellow
-" Color: darkyellow           #ffea00     ~        DarkYellow
-" Color: blue                 #7ab1cc     ~        Blue
-" Color: brightblue           #cceeff     ~        LightBlue
-" Color: darkblue             #266280     ~        DarkBlue
-" Color: magenta              #ab47bc     ~        Magenta
-" Color: brightmagenta        #d1c4e9     ~        LightMagenta
-" Color: darkmagenta          #4527a0     ~        DarkMagenta
-" Color: cyan                 #009688     ~        Cyan
-" Color: brightcyan           #b2dfdb     ~        LightCyan
-" Color: darkcyan             #00695c     ~        DarkCyan
-" Color: white                #dcdcdc     ~        Gainsboro
+" Variant:   gui     256 16
+" Color: fg0 #eff1f4 ~   White
+" Color: fg1 #e4e6eb ~   White
+" Color: fg2 #cdd2db ~   LightGrey
+" Color: fg3 #b6bdcb ~   DarkGrey
+" Color: fg4 #9fa8ba ~   DarkGrey
+" Color: bg0 #2e3440 ~   Black
+" Color: bg1 #37474f ~   Black
+" Color: bg2 #455a64 ~   DarkGrey
+" Color: bg3 #546e7a ~   DarkGrey
+" Color: bg4 #90a4ae ~   LightGrey
+" Color: black                #121419     ~        Black
+" Color: darkgray             #575c66     ~        DarkGray
+" Color: red                  #e84256     ~        Red
+" Color: brightred            #ddabbc     ~        LightRed
+" Color: darkred              #dc1b33     ~        DarkRed
+" Color: green                #00bf8a     ~        Green
+" Color: brightgreen          #abddcc     ~        LightGreen
+" Color: darkgreen            #008c65     ~        DarkGreen
+" Color: yellow               #fff176     ~        Yellow
+" Color: brightyellow         #ffffa8     ~        LightYellow
+" Color: darkyellow           #e5d85c     ~        DarkYellow
+" Color: blue                 #6699cc     ~        Blue
+" Color: brightblue           #aec0e0     ~        LightBlue
+" Color: darkblue             #517aa3     ~        DarkBlue
+" Color: magenta              #fa75e2     ~        Magenta
+" Color: brightmagenta        #fc86ec     ~        LightMagenta
+" Color: darkmagenta          #f844d8     ~        DarkMagenta
+" Color: cyan                 #00bbcc     ~        Cyan
+" Color: brightcyan           #99eaea     ~        LightCyan
+" Color: darkcyan             #0095a3     ~        DarkCyan
+" Color: white                #eff1f4     ~        White
 " Color: brightwhite          #ffffff     ~        White
 " Color: brightwhite          #ffffff     ~        White
+" Term Colors: darkgray red green yellow blue magenta cyan brightwhite
+" Term Colors: black darkred darkgreen darkyellow darkblue darkmagenta darkcyan white
+" if !has('gui_running') && get(g:, '@optionprefix_transp_bg', 0)
 "   Normal       fg1           none
 "   CursorLineNr yellow        none
 "   Normal       fg1           none
 "   CursorLineNr yellow        none
-"   FoldColumn   brightblack   none
+"   FoldColumn   darkgray      none
 "   SignColumn   fg2           none
 "   VertSplit    bg3           none
 "   SignColumn   fg2           none
 "   VertSplit    bg3           none
+" else
 "   Normal       fg1           bg0
 "   CursorLineNr yellow        bg1
 "   Normal       fg1           bg0
 "   CursorLineNr yellow        bg1
-"   FoldColumn   brightblack   bg1
+"   FoldColumn   darkgray      bg1
 "   SignColumn   fg2           bg1
 "   VertSplit    bg3           bg0
 "   SignColumn   fg2           bg1
 "   VertSplit    bg3           bg0
+" endif
 " ColorColumn                      none         bg1
 " Conceal                          blue         none
 " Cursor                           none         none    reverse
 " ColorColumn                      none         bg1
 " Conceal                          blue         none
 " Cursor                           none         none    reverse
-" CursorColumn                  -> CursorLine
-" CursorLine                       none         bg1     bold,italic
-" DiffAdd                          fg4          brightgreen
-" DiffChange                       fg4          brightblue
-" DiffDelete                       fg4          brightred
-" DiffText                         fg4          brightgreen
+" CursorColumn                  -> ColorColumn
+" CursorLine                    -> ColorColumn
+" DiffAdd                          brightgreen  black   reverse
+" DiffAdded                        brightgreen  black   reverse
+" DiffChange                       brightblue   black   reverse
+" DiffDelete                       brightred    black   reverse
+" DiffRemoved                      brightred    black   reverse
+" DiffText                         brightgreen  black   reverse
 " Directory                        blue         none    bold
 " EndOfBuffer                      bg0          none
 " Directory                        blue         none    bold
 " EndOfBuffer                      bg0          none
-" Error                            bg0          red
+" Error                            red          none    t=reverse,bold g=standout,bold
 " ErrorMsg                      -> Error
 " ErrorMsg                      -> Error
-" Folded                           brightblack  bg1     g=italic
-" IncSearch                        brightyellow black   reverse
+" Folded                           bg3          bg1     g=italic
+" IncSearch                     -> Search
 " LineNr                           bg3          bg1
 " MatchParen                       none         bg2     bold
 " ModeMsg                          blue         none
 " LineNr                           bg3          bg1
 " MatchParen                       none         bg2     bold
 " ModeMsg                          blue         none
@@ -551,7 +978,7 @@ finish
 " NonText                          bg4          none
 " Pmenu                            fg1          bg2
 " PmenuSbar                        none         bg2
 " NonText                          bg4          none
 " Pmenu                            fg1          bg2
 " PmenuSbar                        none         bg2
-" PmenuSel                         bg1          blue    bold
+" PmenuSel                         bg1          fg2    bold
 " PmenuThumb                       none         bg4
 " Question                         darkyellow   none
 " QuickFixLine                  -> Search
 " PmenuThumb                       none         bg4
 " Question                         darkyellow   none
 " QuickFixLine                  -> Search
@@ -573,40 +1000,40 @@ finish
 " VisualNOS                     -> Visual
 " WarningMsg                       red          none
 " WildMenu                         blue         bg2     bold
 " VisualNOS                     -> Visual
 " WarningMsg                       red          none
 " WildMenu                         blue         bg2     bold
-" Boolean                          magenta      none
-" Character                        magenta      none
-" Comment                          brightblack  none    g=italic
-" Conditional                      red          none
-" Constant                         magenta      none
-" Define                           cyan         none
-" Debug                            red          none
-" Delimiter                     -> Statement
-" Exception                        red          none
-" Float                            magenta      none
-" Function                         blue         none    bold
-" Identifier                       cyan         none
+" 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
 " Ignore                           fg           none
-" Include                          cyan         none
-" Keyword                          red          none
+" Include                       -> PreProc
+" Keyword                       -> Statement
 " Label                         -> Statement
 " Label                         -> Statement
-" Macro                            cyan         none
-" Number                           magenta      none
-" Operator                      -> Normal
-" PreCondit                        cyan         none
+" Macro                         -> PreProc
+" Number                        -> Constant
+" Operator                      -> Statement
+" PreCondit                     -> PreProc
 " PreProc                          cyan         none
 " PreProc                          cyan         none
-" Repeat                           red          none
-" SpecialChar                      red          none
-" SpecialComment                   red          none
+" Repeat                        -> Statement
+" SpecialChar                   -> Special
+" SpecialComment                -> Special
 " Statement                        red          none
 " Statement                        red          none
-" StorageClass                     green        none
+" StorageClass                  -> Type
 " Special                          yellow       none
 " Special                          yellow       none
-" String                           green        none
-" Structure                        cyan         none
+" String                        -> Constant
+" Structure                     -> Type
 " Tag                           -> Special
 " Tag                           -> Special
-" Todo                             fg           bg0     t=bold g=bold,italic
-" Type                             cyan         none
-" Typedef                          cyan         none
-" Underlined                       blue         none    underline
+" Todo                             cyan         none    reverse
+" Type                             darkcyan     none
+" Typedef                       -> Type
+" Underlined                       none         none    underline
 " lCursor                       -> Cursor
 " CursorIM                         none         none    reverse
 " ToolbarLine                      none         bg3
 " lCursor                       -> Cursor
 " CursorIM                         none         none    reverse
 " ToolbarLine                      none         bg3
@@ -619,5 +1046,5 @@ finish
 " VisualMode                       yellow       bg0     reverse
 " CommandMode                      magenta      bg0     reverse
 " Warnings                         yellow       bg0     reverse
 " VisualMode                       yellow       bg0     reverse
 " CommandMode                      magenta      bg0     reverse
 " Warnings                         yellow       bg0     reverse
-" TermCursor        -> Cursor
-" TermCursorNC         bg1            fg1
+" TermCursor                    -> Cursor
+" TermCursorNC                     bg1          fg1