retrobox.vim 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  1. " Name: Retro Box
  2. " Description: Retro groove color scheme similar to gruvbox originally designed by morhetz <morhetz@gmail.com>
  3. " Author: Maxim Kim <habamax@gmail.com>, ported from gruvbox8 of Lifepillar <lifepillar@lifepillar.me>
  4. " Maintainer: Maxim Kim <habamax@gmail.com>, ported from gruvbox8 of Lifepillar <lifepillar@lifepillar.me>
  5. " Website: https://www.github.com/vim/colorschemes
  6. " License: Vim License (see `:help license`)
  7. " Last Change: 2024 Aug 15
  8. " Generated by Colortemplate v2.2.3
  9. " hi clear
  10. source $VIMRUNTIME/colors/vim.lua " Nvim: revert to Vim default color scheme
  11. let g:colors_name = 'retrobox'
  12. let s:t_Co = &t_Co
  13. hi! link CursorColumn CursorLine
  14. hi! link StatusLineTerm StatusLine
  15. hi! link StatusLineTermNC StatusLineNC
  16. hi! link VisualNOS Visual
  17. hi! link Tag Special
  18. hi! link lCursor Cursor
  19. hi! link MessageWindow PMenu
  20. hi! link PopupNotification Todo
  21. hi! link CurSearch IncSearch
  22. hi! link Terminal Normal
  23. if &background ==# 'dark'
  24. if (has('termguicolors') && &termguicolors) || has('gui_running')
  25. let g:terminal_ansi_colors = ['#1c1c1c', '#cc241d', '#98971a', '#d79921', '#458588', '#b16286', '#689d6a', '#a89984', '#928374', '#fb4934', '#b8bb26', '#fabd2f', '#83a598', '#d3869b', '#8ec07c', '#ebdbb2']
  26. " Nvim uses g:terminal_color_{0-15} instead
  27. for i in range(g:terminal_ansi_colors->len())
  28. let g:terminal_color_{i} = g:terminal_ansi_colors[i]
  29. endfor
  30. endif
  31. hi Normal guifg=#ebdbb2 guibg=#1c1c1c gui=NONE cterm=NONE
  32. hi CursorLineNr guifg=#fabd2f guibg=#1c1c1c gui=bold cterm=bold
  33. hi FoldColumn guifg=#928374 guibg=#1c1c1c gui=NONE cterm=NONE
  34. hi SignColumn guifg=#928374 guibg=#1c1c1c gui=NONE cterm=NONE
  35. hi VertSplit guifg=#303030 guibg=#1c1c1c gui=NONE cterm=NONE
  36. hi ColorColumn guifg=NONE guibg=#000000 gui=NONE cterm=NONE
  37. hi Comment guifg=#928374 guibg=NONE gui=NONE cterm=NONE
  38. hi CursorLine guifg=NONE guibg=#303030 gui=NONE cterm=NONE
  39. hi Error guifg=#fb4934 guibg=#1c1c1c gui=bold,reverse cterm=bold,reverse
  40. hi ErrorMsg guifg=#1c1c1c guibg=#fb4934 gui=bold cterm=bold
  41. hi Folded guifg=#928374 guibg=#121212 gui=NONE cterm=NONE
  42. hi LineNr guifg=#7c6f64 guibg=NONE gui=NONE cterm=NONE
  43. hi MatchParen guifg=NONE guibg=#504945 gui=bold,underline cterm=bold,underline
  44. hi NonText guifg=#504945 guibg=NONE gui=NONE cterm=NONE
  45. hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE cterm=NONE
  46. hi PmenuSbar guifg=NONE guibg=#3c3836 gui=NONE cterm=NONE
  47. hi PmenuSel guifg=#3c3836 guibg=#83a598 gui=bold cterm=bold
  48. hi PmenuThumb guifg=NONE guibg=#7c6f64 gui=NONE cterm=NONE
  49. hi PmenuKind guifg=#fb4934 guibg=#3c3836 gui=NONE cterm=NONE
  50. hi PmenuKindSel guifg=#fb4934 guibg=#83a598 gui=NONE cterm=NONE
  51. hi PmenuExtra guifg=#a89984 guibg=#3c3836 gui=NONE cterm=NONE
  52. hi PmenuExtraSel guifg=#303030 guibg=#83a598 gui=NONE cterm=NONE
  53. hi PmenuMatch guifg=#b16286 guibg=#3c3836 gui=NONE cterm=NONE
  54. hi PmenuMatchSel guifg=#b16286 guibg=#83a598 gui=bold cterm=bold
  55. hi SpecialKey guifg=#928374 guibg=NONE gui=NONE cterm=NONE
  56. hi StatusLine guifg=#504945 guibg=#ebdbb2 gui=bold,reverse cterm=bold,reverse
  57. hi StatusLineNC guifg=#3c3836 guibg=#a89984 gui=reverse cterm=reverse
  58. hi TabLine guifg=#a89984 guibg=#3c3836 gui=NONE cterm=NONE
  59. hi TabLineFill guifg=#ebdbb2 guibg=#3c3836 gui=NONE cterm=NONE
  60. hi TabLineSel guifg=#fbf1c7 guibg=#1c1c1c gui=bold cterm=bold
  61. hi ToolbarButton guifg=#fbf1c7 guibg=#303030 gui=bold cterm=bold
  62. hi ToolbarLine guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
  63. hi Visual guifg=#1c1c1c guibg=#83a598 gui=NONE cterm=NONE
  64. hi WildMenu guifg=#83a598 guibg=#504945 gui=bold cterm=bold
  65. hi EndOfBuffer guifg=#504945 guibg=NONE gui=NONE cterm=NONE
  66. hi Conceal guifg=#504945 guibg=NONE gui=NONE cterm=NONE
  67. hi Cursor guifg=#1c1c1c guibg=#fbf1c7 gui=NONE cterm=NONE
  68. hi DiffAdd guifg=#b8bb26 guibg=#1c1c1c gui=reverse cterm=reverse
  69. hi DiffChange guifg=#8ec07c guibg=#1c1c1c gui=reverse cterm=reverse
  70. hi DiffDelete guifg=#fb4934 guibg=#1c1c1c gui=reverse cterm=reverse
  71. hi DiffText guifg=#fabd2f guibg=#1c1c1c gui=reverse cterm=reverse
  72. hi Directory guifg=#b8bb26 guibg=NONE gui=bold cterm=bold
  73. hi IncSearch guifg=#fe8019 guibg=#1c1c1c gui=reverse cterm=reverse
  74. hi ModeMsg guifg=#fabd2f guibg=NONE gui=bold cterm=bold
  75. hi MoreMsg guifg=#fabd2f guibg=NONE gui=bold cterm=bold
  76. hi Question guifg=#fe8019 guibg=NONE gui=bold cterm=bold
  77. hi Search guifg=#98971a guibg=#1c1c1c gui=reverse cterm=reverse
  78. hi QuickFixLine guifg=#8ec07c guibg=#1c1c1c gui=reverse cterm=reverse
  79. hi SpellBad guifg=#fb4934 guibg=NONE guisp=#fb4934 gui=undercurl cterm=underline
  80. hi SpellCap guifg=#83a598 guibg=NONE guisp=#83a598 gui=undercurl cterm=underline
  81. hi SpellLocal guifg=#8ec07c guibg=NONE guisp=#8ec07c gui=undercurl cterm=underline
  82. hi SpellRare guifg=#d3869b guibg=NONE guisp=#d3869b gui=undercurl cterm=underline
  83. hi Title guifg=#b8bb26 guibg=NONE gui=bold cterm=bold
  84. hi WarningMsg guifg=#fb4934 guibg=NONE gui=bold cterm=bold
  85. hi Boolean guifg=#d3869b guibg=NONE gui=NONE cterm=NONE
  86. hi Character guifg=#d3869b guibg=NONE gui=NONE cterm=NONE
  87. hi Conditional guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  88. hi Constant guifg=#d3869b guibg=NONE gui=NONE cterm=NONE
  89. hi Define guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  90. hi Debug guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  91. hi Delimiter guifg=#fe8019 guibg=NONE gui=NONE cterm=NONE
  92. hi Error guifg=#fb4934 guibg=#1c1c1c gui=bold,reverse cterm=bold,reverse
  93. hi Exception guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  94. hi Float guifg=#d3869b guibg=NONE gui=NONE cterm=NONE
  95. hi Function guifg=#b8bb26 guibg=NONE gui=bold cterm=bold
  96. hi Identifier guifg=#83a598 guibg=NONE gui=NONE cterm=NONE
  97. hi Ignore guifg=fg guibg=NONE gui=NONE cterm=NONE
  98. hi Include guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  99. hi Keyword guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  100. hi Label guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  101. hi Macro guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  102. hi Number guifg=#d3869b guibg=NONE gui=NONE cterm=NONE
  103. hi Operator guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  104. hi PreCondit guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  105. hi PreProc guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  106. hi Repeat guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  107. hi SpecialChar guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  108. hi SpecialComment guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  109. hi Statement guifg=#fb4934 guibg=NONE gui=NONE cterm=NONE
  110. hi StorageClass guifg=#fe8019 guibg=NONE gui=NONE cterm=NONE
  111. hi Special guifg=#fe8019 guibg=NONE gui=NONE cterm=NONE
  112. hi String guifg=#b8bb26 guibg=NONE gui=NONE cterm=NONE
  113. hi Structure guifg=#8ec07c guibg=NONE gui=NONE cterm=NONE
  114. hi Todo guifg=fg guibg=#1c1c1c gui=bold cterm=bold
  115. hi Type guifg=#fabd2f guibg=NONE gui=NONE cterm=NONE
  116. hi Typedef guifg=#fabd2f guibg=NONE gui=NONE cterm=NONE
  117. hi Underlined guifg=#83a598 guibg=NONE gui=underline cterm=underline
  118. hi CursorIM guifg=#1c1c1c guibg=#fbf1c7 gui=NONE cterm=NONE
  119. else
  120. " Light background
  121. if (has('termguicolors') && &termguicolors) || has('gui_running')
  122. let g:terminal_ansi_colors = ['#3c3836', '#cc241d', '#98971a', '#d79921', '#458588', '#b16286', '#689d6a', '#7c6f64', '#928374', '#9d0006', '#79740e', '#b57614', '#076678', '#8f3f71', '#427b58', '#fbf1c7']
  123. " Nvim uses g:terminal_color_{0-15} instead
  124. for i in range(g:terminal_ansi_colors->len())
  125. let g:terminal_color_{i} = g:terminal_ansi_colors[i]
  126. endfor
  127. endif
  128. hi Normal guifg=#3c3836 guibg=#fbf1c7 gui=NONE cterm=NONE
  129. hi CursorLineNr guifg=#b57614 guibg=#fbf1c7 gui=bold cterm=bold
  130. hi FoldColumn guifg=#928374 guibg=#fbf1c7 gui=NONE cterm=NONE
  131. hi SignColumn guifg=#3c3836 guibg=#fbf1c7 gui=NONE cterm=NONE
  132. hi VertSplit guifg=#bdae93 guibg=#fbf1c7 gui=NONE cterm=NONE
  133. hi ColorColumn guifg=NONE guibg=#ebe1b7 gui=NONE cterm=NONE
  134. hi Comment guifg=#928374 guibg=NONE gui=NONE cterm=NONE
  135. hi CursorLine guifg=NONE guibg=#e5d4b1 gui=NONE cterm=NONE
  136. hi Error guifg=#9d0006 guibg=#fbf1c7 gui=bold,reverse cterm=bold,reverse
  137. hi ErrorMsg guifg=#fbf1c7 guibg=#9d0006 gui=bold cterm=bold
  138. hi Folded guifg=#928374 guibg=#ffffd7 gui=NONE cterm=NONE
  139. hi LineNr guifg=#a89984 guibg=NONE gui=NONE cterm=NONE
  140. hi MatchParen guifg=NONE guibg=#e5d4b1 gui=bold,underline cterm=bold,underline
  141. hi NonText guifg=#e5d4b1 guibg=NONE gui=NONE cterm=NONE
  142. hi Pmenu guifg=#3c3836 guibg=#e5d4b1 gui=NONE cterm=NONE
  143. hi PmenuSbar guifg=NONE guibg=#e5d4b1 gui=NONE cterm=NONE
  144. hi PmenuSel guifg=#e5d4b1 guibg=#076678 gui=bold cterm=bold
  145. hi PmenuThumb guifg=NONE guibg=#a89984 gui=NONE cterm=NONE
  146. hi PmenuKind guifg=#9d0006 guibg=#e5d4b1 gui=NONE cterm=NONE
  147. hi PmenuKindSel guifg=#9d0006 guibg=#076678 gui=NONE cterm=NONE
  148. hi PmenuExtra guifg=#7c6f64 guibg=#e5d4b1 gui=NONE cterm=NONE
  149. hi PmenuExtraSel guifg=#bdae93 guibg=#076678 gui=NONE cterm=NONE
  150. hi PmenuMatch guifg=#8f3f71 guibg=#e5d4b1 gui=NONE cterm=NONE
  151. hi PmenuMatchSel guifg=#d3869b guibg=#076678 gui=bold cterm=bold
  152. hi SpecialKey guifg=#928374 guibg=NONE gui=NONE cterm=NONE
  153. hi StatusLine guifg=#bdae93 guibg=#3c3836 gui=bold,reverse cterm=bold,reverse
  154. hi StatusLineNC guifg=#ebdbb2 guibg=#3c3836 gui=reverse cterm=reverse
  155. hi TabLine guifg=#665c54 guibg=#ebdbb2 gui=NONE cterm=NONE
  156. hi TabLineFill guifg=#ebdbb2 guibg=#ebdbb2 gui=NONE cterm=NONE
  157. hi TabLineSel guifg=#282828 guibg=#fbf1c7 gui=bold cterm=bold
  158. hi ToolbarButton guifg=#282828 guibg=#bdae93 gui=bold cterm=bold
  159. hi ToolbarLine guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
  160. hi Visual guifg=#fbf1c7 guibg=#076678 gui=NONE cterm=NONE
  161. hi WildMenu guifg=#076678 guibg=#e5d4b1 gui=bold cterm=bold
  162. hi EndOfBuffer guifg=#e5d4b1 guibg=NONE gui=NONE cterm=NONE
  163. hi Conceal guifg=#a89984 guibg=NONE gui=NONE cterm=NONE
  164. hi Cursor guifg=#fbf1c7 guibg=#282828 gui=NONE cterm=NONE
  165. hi DiffAdd guifg=#79740e guibg=#fbf1c7 gui=reverse cterm=reverse
  166. hi DiffChange guifg=#427b58 guibg=#fbf1c7 gui=reverse cterm=reverse
  167. hi DiffDelete guifg=#9d0006 guibg=#fbf1c7 gui=reverse cterm=reverse
  168. hi DiffText guifg=#b57614 guibg=#fbf1c7 gui=reverse cterm=reverse
  169. hi Directory guifg=#79740e guibg=NONE gui=bold cterm=bold
  170. hi IncSearch guifg=#ff5f00 guibg=#fbf1c7 gui=reverse cterm=reverse
  171. hi ModeMsg guifg=#3c3836 guibg=NONE gui=bold cterm=bold
  172. hi MoreMsg guifg=#3c3836 guibg=NONE gui=bold cterm=bold
  173. hi Question guifg=#ff5f00 guibg=NONE gui=bold cterm=bold
  174. hi Search guifg=#98971a guibg=#fbf1c7 gui=reverse cterm=reverse
  175. hi QuickFixLine guifg=#427b58 guibg=#fbf1c7 gui=reverse cterm=reverse
  176. hi SpellBad guifg=#9d0006 guibg=NONE guisp=#9d0006 gui=undercurl cterm=underline
  177. hi SpellCap guifg=#076678 guibg=NONE guisp=#076678 gui=undercurl cterm=underline
  178. hi SpellLocal guifg=#427b58 guibg=NONE guisp=#427b58 gui=undercurl cterm=underline
  179. hi SpellRare guifg=#8f3f71 guibg=NONE guisp=#8f3f71 gui=undercurl cterm=underline
  180. hi Title guifg=#79740e guibg=NONE gui=bold cterm=bold
  181. hi WarningMsg guifg=#9d0006 guibg=NONE gui=bold cterm=bold
  182. hi Boolean guifg=#8f3f71 guibg=NONE gui=NONE cterm=NONE
  183. hi Character guifg=#8f3f71 guibg=NONE gui=NONE cterm=NONE
  184. hi Conditional guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  185. hi Constant guifg=#8f3f71 guibg=NONE gui=NONE cterm=NONE
  186. hi Define guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  187. hi Debug guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  188. hi Delimiter guifg=#ff5f00 guibg=NONE gui=NONE cterm=NONE
  189. hi Error guifg=#9d0006 guibg=#fbf1c7 gui=bold,reverse cterm=bold,reverse
  190. hi Exception guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  191. hi Float guifg=#8f3f71 guibg=NONE gui=NONE cterm=NONE
  192. hi Function guifg=#79740e guibg=NONE gui=bold cterm=bold
  193. hi Identifier guifg=#076678 guibg=NONE gui=NONE cterm=NONE
  194. hi Ignore guifg=fg guibg=NONE gui=NONE cterm=NONE
  195. hi Include guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  196. hi Keyword guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  197. hi Label guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  198. hi Macro guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  199. hi Number guifg=#8f3f71 guibg=NONE gui=NONE cterm=NONE
  200. hi Operator guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  201. hi PreCondit guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  202. hi PreProc guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  203. hi Repeat guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  204. hi SpecialChar guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  205. hi SpecialComment guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  206. hi Statement guifg=#9d0006 guibg=NONE gui=NONE cterm=NONE
  207. hi StorageClass guifg=#ff5f00 guibg=NONE gui=NONE cterm=NONE
  208. hi Special guifg=#ff5f00 guibg=NONE gui=NONE cterm=NONE
  209. hi String guifg=#79740e guibg=NONE gui=NONE cterm=NONE
  210. hi Structure guifg=#427b58 guibg=NONE gui=NONE cterm=NONE
  211. hi Todo guifg=fg guibg=#fbf1c7 gui=bold cterm=bold
  212. hi Type guifg=#b57614 guibg=NONE gui=NONE cterm=NONE
  213. hi Typedef guifg=#b57614 guibg=NONE gui=NONE cterm=NONE
  214. hi Underlined guifg=#076678 guibg=NONE gui=underline cterm=underline
  215. hi CursorIM guifg=#fbf1c7 guibg=#282828 gui=NONE cterm=NONE
  216. endif
  217. if s:t_Co >= 256
  218. if &background ==# 'dark'
  219. hi Normal ctermfg=187 ctermbg=234 cterm=NONE
  220. hi CursorLineNr ctermfg=214 ctermbg=234 cterm=bold
  221. hi FoldColumn ctermfg=102 ctermbg=234 cterm=NONE
  222. hi SignColumn ctermfg=102 ctermbg=234 cterm=NONE
  223. hi VertSplit ctermfg=236 ctermbg=234 cterm=NONE
  224. hi ColorColumn ctermfg=NONE ctermbg=16 cterm=NONE
  225. hi Comment ctermfg=102 ctermbg=NONE cterm=NONE
  226. hi CursorLine ctermfg=NONE ctermbg=236 cterm=NONE
  227. hi Error ctermfg=203 ctermbg=234 cterm=bold,reverse
  228. hi ErrorMsg ctermfg=234 ctermbg=203 cterm=bold
  229. hi Folded ctermfg=102 ctermbg=233 cterm=NONE
  230. hi LineNr ctermfg=243 ctermbg=NONE cterm=NONE
  231. hi MatchParen ctermfg=NONE ctermbg=239 cterm=bold,underline
  232. hi NonText ctermfg=239 ctermbg=NONE cterm=NONE
  233. hi Pmenu ctermfg=187 ctermbg=237 cterm=NONE
  234. hi PmenuSbar ctermfg=NONE ctermbg=237 cterm=NONE
  235. hi PmenuSel ctermfg=237 ctermbg=109 cterm=bold
  236. hi PmenuThumb ctermfg=NONE ctermbg=243 cterm=NONE
  237. hi PmenuKind ctermfg=203 ctermbg=237 cterm=NONE
  238. hi PmenuKindSel ctermfg=203 ctermbg=109 cterm=NONE
  239. hi PmenuExtra ctermfg=102 ctermbg=237 cterm=NONE
  240. hi PmenuExtraSel ctermfg=236 ctermbg=109 cterm=NONE
  241. hi PmenuMatch ctermfg=132 ctermbg=237 cterm=NONE
  242. hi PmenuMatchSel ctermfg=132 ctermbg=109 cterm=bold
  243. hi SpecialKey ctermfg=102 ctermbg=NONE cterm=NONE
  244. hi StatusLine ctermfg=239 ctermbg=187 cterm=bold,reverse
  245. hi StatusLineNC ctermfg=237 ctermbg=102 cterm=reverse
  246. hi TabLine ctermfg=102 ctermbg=237 cterm=NONE
  247. hi TabLineFill ctermfg=187 ctermbg=237 cterm=NONE
  248. hi TabLineSel ctermfg=230 ctermbg=234 cterm=bold
  249. hi ToolbarButton ctermfg=230 ctermbg=236 cterm=bold
  250. hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
  251. hi Visual ctermfg=234 ctermbg=109 cterm=NONE
  252. hi WildMenu ctermfg=109 ctermbg=239 cterm=bold
  253. hi EndOfBuffer ctermfg=239 ctermbg=NONE cterm=NONE
  254. hi Conceal ctermfg=239 ctermbg=NONE cterm=NONE
  255. hi Cursor ctermfg=234 ctermbg=230 cterm=NONE
  256. hi DiffAdd ctermfg=142 ctermbg=234 cterm=reverse
  257. hi DiffChange ctermfg=107 ctermbg=234 cterm=reverse
  258. hi DiffDelete ctermfg=203 ctermbg=234 cterm=reverse
  259. hi DiffText ctermfg=214 ctermbg=234 cterm=reverse
  260. hi Directory ctermfg=142 ctermbg=NONE cterm=bold
  261. hi IncSearch ctermfg=208 ctermbg=234 cterm=reverse
  262. hi ModeMsg ctermfg=214 ctermbg=NONE cterm=bold
  263. hi MoreMsg ctermfg=214 ctermbg=NONE cterm=bold
  264. hi Question ctermfg=208 ctermbg=NONE cterm=bold
  265. hi Search ctermfg=100 ctermbg=234 cterm=reverse
  266. hi QuickFixLine ctermfg=107 ctermbg=234 cterm=reverse
  267. hi SpellBad ctermfg=203 ctermbg=NONE cterm=underline
  268. hi SpellCap ctermfg=109 ctermbg=NONE cterm=underline
  269. hi SpellLocal ctermfg=107 ctermbg=NONE cterm=underline
  270. hi SpellRare ctermfg=175 ctermbg=NONE cterm=underline
  271. hi Title ctermfg=142 ctermbg=NONE cterm=bold
  272. hi WarningMsg ctermfg=203 ctermbg=NONE cterm=bold
  273. hi Boolean ctermfg=175 ctermbg=NONE cterm=NONE
  274. hi Character ctermfg=175 ctermbg=NONE cterm=NONE
  275. hi Conditional ctermfg=203 ctermbg=NONE cterm=NONE
  276. hi Constant ctermfg=175 ctermbg=NONE cterm=NONE
  277. hi Define ctermfg=107 ctermbg=NONE cterm=NONE
  278. hi Debug ctermfg=203 ctermbg=NONE cterm=NONE
  279. hi Delimiter ctermfg=208 ctermbg=NONE cterm=NONE
  280. hi Error ctermfg=203 ctermbg=234 cterm=bold,reverse
  281. hi Exception ctermfg=203 ctermbg=NONE cterm=NONE
  282. hi Float ctermfg=175 ctermbg=NONE cterm=NONE
  283. hi Function ctermfg=142 ctermbg=NONE cterm=bold
  284. hi Identifier ctermfg=109 ctermbg=NONE cterm=NONE
  285. hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE
  286. hi Include ctermfg=107 ctermbg=NONE cterm=NONE
  287. hi Keyword ctermfg=203 ctermbg=NONE cterm=NONE
  288. hi Label ctermfg=203 ctermbg=NONE cterm=NONE
  289. hi Macro ctermfg=107 ctermbg=NONE cterm=NONE
  290. hi Number ctermfg=175 ctermbg=NONE cterm=NONE
  291. hi Operator ctermfg=107 ctermbg=NONE cterm=NONE
  292. hi PreCondit ctermfg=107 ctermbg=NONE cterm=NONE
  293. hi PreProc ctermfg=107 ctermbg=NONE cterm=NONE
  294. hi Repeat ctermfg=203 ctermbg=NONE cterm=NONE
  295. hi SpecialChar ctermfg=203 ctermbg=NONE cterm=NONE
  296. hi SpecialComment ctermfg=203 ctermbg=NONE cterm=NONE
  297. hi Statement ctermfg=203 ctermbg=NONE cterm=NONE
  298. hi StorageClass ctermfg=208 ctermbg=NONE cterm=NONE
  299. hi Special ctermfg=208 ctermbg=NONE cterm=NONE
  300. hi String ctermfg=142 ctermbg=NONE cterm=NONE
  301. hi Structure ctermfg=107 ctermbg=NONE cterm=NONE
  302. hi Todo ctermfg=fg ctermbg=234 cterm=bold
  303. hi Type ctermfg=214 ctermbg=NONE cterm=NONE
  304. hi Typedef ctermfg=214 ctermbg=NONE cterm=NONE
  305. hi Underlined ctermfg=109 ctermbg=NONE cterm=underline
  306. hi CursorIM ctermfg=234 ctermbg=230 cterm=NONE
  307. else
  308. " Light background
  309. hi Normal ctermfg=237 ctermbg=230 cterm=NONE
  310. hi CursorLineNr ctermfg=172 ctermbg=230 cterm=bold
  311. hi FoldColumn ctermfg=102 ctermbg=230 cterm=NONE
  312. hi SignColumn ctermfg=237 ctermbg=230 cterm=NONE
  313. hi VertSplit ctermfg=144 ctermbg=230 cterm=NONE
  314. hi ColorColumn ctermfg=NONE ctermbg=229 cterm=NONE
  315. hi Comment ctermfg=102 ctermbg=NONE cterm=NONE
  316. hi CursorLine ctermfg=NONE ctermbg=188 cterm=NONE
  317. hi Error ctermfg=124 ctermbg=230 cterm=bold,reverse
  318. hi ErrorMsg ctermfg=230 ctermbg=124 cterm=bold
  319. hi Folded ctermfg=102 ctermbg=231 cterm=NONE
  320. hi LineNr ctermfg=137 ctermbg=NONE cterm=NONE
  321. hi MatchParen ctermfg=NONE ctermbg=188 cterm=bold,underline
  322. hi NonText ctermfg=188 ctermbg=NONE cterm=NONE
  323. hi Pmenu ctermfg=237 ctermbg=188 cterm=NONE
  324. hi PmenuSbar ctermfg=NONE ctermbg=188 cterm=NONE
  325. hi PmenuSel ctermfg=188 ctermbg=23 cterm=bold
  326. hi PmenuThumb ctermfg=NONE ctermbg=137 cterm=NONE
  327. hi PmenuKind ctermfg=124 ctermbg=188 cterm=NONE
  328. hi PmenuKindSel ctermfg=124 ctermbg=23 cterm=NONE
  329. hi PmenuExtra ctermfg=243 ctermbg=188 cterm=NONE
  330. hi PmenuExtraSel ctermfg=144 ctermbg=23 cterm=NONE
  331. hi PmenuMatch ctermfg=126 ctermbg=188 cterm=NONE
  332. hi PmenuMatchSel ctermfg=175 ctermbg=23 cterm=bold
  333. hi SpecialKey ctermfg=102 ctermbg=NONE cterm=NONE
  334. hi StatusLine ctermfg=144 ctermbg=237 cterm=bold,reverse
  335. hi StatusLineNC ctermfg=187 ctermbg=237 cterm=reverse
  336. hi TabLine ctermfg=59 ctermbg=187 cterm=NONE
  337. hi TabLineFill ctermfg=187 ctermbg=187 cterm=NONE
  338. hi TabLineSel ctermfg=235 ctermbg=230 cterm=bold
  339. hi ToolbarButton ctermfg=235 ctermbg=144 cterm=bold
  340. hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
  341. hi Visual ctermfg=230 ctermbg=23 cterm=NONE
  342. hi WildMenu ctermfg=23 ctermbg=188 cterm=bold
  343. hi EndOfBuffer ctermfg=188 ctermbg=NONE cterm=NONE
  344. hi Conceal ctermfg=137 ctermbg=NONE cterm=NONE
  345. hi Cursor ctermfg=230 ctermbg=235 cterm=NONE
  346. hi DiffAdd ctermfg=64 ctermbg=230 cterm=reverse
  347. hi DiffChange ctermfg=29 ctermbg=230 cterm=reverse
  348. hi DiffDelete ctermfg=124 ctermbg=230 cterm=reverse
  349. hi DiffText ctermfg=172 ctermbg=230 cterm=reverse
  350. hi Directory ctermfg=64 ctermbg=NONE cterm=bold
  351. hi IncSearch ctermfg=202 ctermbg=230 cterm=reverse
  352. hi ModeMsg ctermfg=237 ctermbg=NONE cterm=bold
  353. hi MoreMsg ctermfg=237 ctermbg=NONE cterm=bold
  354. hi Question ctermfg=202 ctermbg=NONE cterm=bold
  355. hi Search ctermfg=100 ctermbg=230 cterm=reverse
  356. hi QuickFixLine ctermfg=29 ctermbg=230 cterm=reverse
  357. hi SpellBad ctermfg=124 ctermbg=NONE cterm=underline
  358. hi SpellCap ctermfg=23 ctermbg=NONE cterm=underline
  359. hi SpellLocal ctermfg=29 ctermbg=NONE cterm=underline
  360. hi SpellRare ctermfg=126 ctermbg=NONE cterm=underline
  361. hi Title ctermfg=64 ctermbg=NONE cterm=bold
  362. hi WarningMsg ctermfg=124 ctermbg=NONE cterm=bold
  363. hi Boolean ctermfg=126 ctermbg=NONE cterm=NONE
  364. hi Character ctermfg=126 ctermbg=NONE cterm=NONE
  365. hi Conditional ctermfg=124 ctermbg=NONE cterm=NONE
  366. hi Constant ctermfg=126 ctermbg=NONE cterm=NONE
  367. hi Define ctermfg=29 ctermbg=NONE cterm=NONE
  368. hi Debug ctermfg=124 ctermbg=NONE cterm=NONE
  369. hi Delimiter ctermfg=202 ctermbg=NONE cterm=NONE
  370. hi Error ctermfg=124 ctermbg=230 cterm=bold,reverse
  371. hi Exception ctermfg=124 ctermbg=NONE cterm=NONE
  372. hi Float ctermfg=126 ctermbg=NONE cterm=NONE
  373. hi Function ctermfg=64 ctermbg=NONE cterm=bold
  374. hi Identifier ctermfg=23 ctermbg=NONE cterm=NONE
  375. hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE
  376. hi Include ctermfg=29 ctermbg=NONE cterm=NONE
  377. hi Keyword ctermfg=124 ctermbg=NONE cterm=NONE
  378. hi Label ctermfg=124 ctermbg=NONE cterm=NONE
  379. hi Macro ctermfg=29 ctermbg=NONE cterm=NONE
  380. hi Number ctermfg=126 ctermbg=NONE cterm=NONE
  381. hi Operator ctermfg=29 ctermbg=NONE cterm=NONE
  382. hi PreCondit ctermfg=29 ctermbg=NONE cterm=NONE
  383. hi PreProc ctermfg=29 ctermbg=NONE cterm=NONE
  384. hi Repeat ctermfg=124 ctermbg=NONE cterm=NONE
  385. hi SpecialChar ctermfg=124 ctermbg=NONE cterm=NONE
  386. hi SpecialComment ctermfg=124 ctermbg=NONE cterm=NONE
  387. hi Statement ctermfg=124 ctermbg=NONE cterm=NONE
  388. hi StorageClass ctermfg=202 ctermbg=NONE cterm=NONE
  389. hi Special ctermfg=202 ctermbg=NONE cterm=NONE
  390. hi String ctermfg=64 ctermbg=NONE cterm=NONE
  391. hi Structure ctermfg=29 ctermbg=NONE cterm=NONE
  392. hi Todo ctermfg=fg ctermbg=230 cterm=bold
  393. hi Type ctermfg=172 ctermbg=NONE cterm=NONE
  394. hi Typedef ctermfg=172 ctermbg=NONE cterm=NONE
  395. hi Underlined ctermfg=23 ctermbg=NONE cterm=underline
  396. hi CursorIM ctermfg=230 ctermbg=235 cterm=NONE
  397. endif
  398. unlet s:t_Co
  399. finish
  400. endif
  401. if s:t_Co >= 16
  402. if &background ==# 'dark'
  403. hi Normal ctermfg=White ctermbg=Black cterm=NONE
  404. hi ColorColumn ctermfg=Black ctermbg=DarkYellow cterm=NONE
  405. hi Comment ctermfg=DarkGray ctermbg=NONE cterm=NONE
  406. hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
  407. hi CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
  408. hi Error ctermfg=Red ctermbg=Black cterm=reverse
  409. hi ErrorMsg ctermfg=Black ctermbg=Red cterm=NONE
  410. hi FoldColumn ctermfg=DarkGray ctermbg=NONE cterm=NONE
  411. hi Folded ctermfg=DarkGray ctermbg=NONE cterm=NONE
  412. hi LineNr ctermfg=DarkGray ctermbg=NONE cterm=NONE
  413. hi MatchParen ctermfg=NONE ctermbg=Black cterm=bold,underline
  414. hi NonText ctermfg=DarkGray ctermbg=NONE cterm=NONE
  415. hi Pmenu ctermfg=White ctermbg=DarkGray cterm=NONE
  416. hi PmenuSbar ctermfg=NONE ctermbg=DarkGray cterm=NONE
  417. hi PmenuSel ctermfg=Black ctermbg=Blue cterm=NONE
  418. hi PmenuThumb ctermfg=NONE ctermbg=Blue cterm=NONE
  419. hi PmenuKind ctermfg=DarkRed ctermbg=DarkGray cterm=NONE
  420. hi PmenuKindSel ctermfg=DarkRed ctermbg=Blue cterm=NONE
  421. hi PmenuExtra ctermfg=gray ctermbg=DarkGray cterm=NONE
  422. hi PmenuExtraSel ctermfg=Black ctermbg=Blue cterm=NONE
  423. hi PmenuMatch ctermfg=White ctermbg=DarkGray cterm=bold
  424. hi PmenuMatchSel ctermfg=Black ctermbg=Blue cterm=bold
  425. hi SignColumn ctermfg=DarkGray ctermbg=NONE cterm=NONE
  426. hi SpecialKey ctermfg=DarkGray ctermbg=NONE cterm=NONE
  427. hi StatusLine ctermfg=gray ctermbg=Black cterm=bold,reverse
  428. hi StatusLineNC ctermfg=gray ctermbg=Black cterm=reverse
  429. hi TabLine ctermfg=Black ctermbg=DarkGray cterm=NONE
  430. hi TabLineFill ctermfg=Black ctermbg=DarkGray cterm=NONE
  431. hi TabLineSel ctermfg=White ctermbg=Black cterm=bold
  432. hi ToolbarButton ctermfg=White ctermbg=DarkGray cterm=bold
  433. hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
  434. hi VertSplit ctermfg=Black ctermbg=gray cterm=NONE
  435. hi Visual ctermfg=Black ctermbg=Blue cterm=NONE
  436. hi WildMenu ctermfg=White ctermbg=Black cterm=bold
  437. hi EndOfBuffer ctermfg=DarkGray ctermbg=NONE cterm=NONE
  438. hi Conceal ctermfg=DarkGray ctermbg=NONE cterm=NONE
  439. hi Cursor ctermfg=Black ctermbg=White cterm=NONE
  440. hi DiffAdd ctermfg=Green ctermbg=Black cterm=reverse
  441. hi DiffChange ctermfg=Cyan ctermbg=Black cterm=reverse
  442. hi DiffDelete ctermfg=Red ctermbg=Black cterm=reverse
  443. hi DiffText ctermfg=Yellow ctermbg=Black cterm=reverse
  444. hi Directory ctermfg=Green ctermbg=NONE cterm=bold
  445. hi IncSearch ctermfg=Magenta ctermbg=Black cterm=reverse
  446. hi ModeMsg ctermfg=Yellow ctermbg=NONE cterm=bold
  447. hi MoreMsg ctermfg=Yellow ctermbg=NONE cterm=bold
  448. hi Question ctermfg=Magenta ctermbg=NONE cterm=bold
  449. hi Search ctermfg=DarkGreen ctermbg=Black cterm=reverse
  450. hi QuickFixLine ctermfg=Cyan ctermbg=Black cterm=reverse
  451. hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
  452. hi SpellCap ctermfg=Blue ctermbg=NONE cterm=underline
  453. hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=underline
  454. hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
  455. hi Title ctermfg=Green ctermbg=NONE cterm=bold
  456. hi WarningMsg ctermfg=Red ctermbg=NONE cterm=bold
  457. hi Boolean ctermfg=Magenta ctermbg=NONE cterm=NONE
  458. hi Character ctermfg=Magenta ctermbg=NONE cterm=NONE
  459. hi Conditional ctermfg=Red ctermbg=NONE cterm=NONE
  460. hi Constant ctermfg=Magenta ctermbg=NONE cterm=NONE
  461. hi Define ctermfg=Cyan ctermbg=NONE cterm=NONE
  462. hi Debug ctermfg=Red ctermbg=NONE cterm=NONE
  463. hi Delimiter ctermfg=Magenta ctermbg=NONE cterm=NONE
  464. hi Error ctermfg=Red ctermbg=Black cterm=bold,reverse
  465. hi Exception ctermfg=Red ctermbg=NONE cterm=NONE
  466. hi Float ctermfg=Magenta ctermbg=NONE cterm=NONE
  467. hi Function ctermfg=Green ctermbg=NONE cterm=bold
  468. hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE
  469. hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE
  470. hi Include ctermfg=Cyan ctermbg=NONE cterm=NONE
  471. hi Keyword ctermfg=Red ctermbg=NONE cterm=NONE
  472. hi Label ctermfg=Red ctermbg=NONE cterm=NONE
  473. hi Macro ctermfg=Cyan ctermbg=NONE cterm=NONE
  474. hi Number ctermfg=Magenta ctermbg=NONE cterm=NONE
  475. hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
  476. hi PreCondit ctermfg=Cyan ctermbg=NONE cterm=NONE
  477. hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE
  478. hi Repeat ctermfg=Red ctermbg=NONE cterm=NONE
  479. hi SpecialChar ctermfg=Red ctermbg=NONE cterm=NONE
  480. hi SpecialComment ctermfg=Red ctermbg=NONE cterm=NONE
  481. hi Statement ctermfg=Red ctermbg=NONE cterm=NONE
  482. hi StorageClass ctermfg=Magenta ctermbg=NONE cterm=NONE
  483. hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
  484. hi String ctermfg=Green ctermbg=NONE cterm=NONE
  485. hi Structure ctermfg=Cyan ctermbg=NONE cterm=NONE
  486. hi Todo ctermfg=fg ctermbg=Black cterm=bold
  487. hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
  488. hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
  489. hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
  490. hi CursorIM ctermfg=Black ctermbg=White cterm=NONE
  491. else
  492. " Light background
  493. hi Normal ctermfg=Black ctermbg=White cterm=NONE
  494. hi ColorColumn ctermfg=White ctermbg=Grey cterm=NONE
  495. hi Comment ctermfg=DarkGray ctermbg=NONE cterm=NONE
  496. hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
  497. hi CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
  498. hi Error ctermfg=Red ctermbg=White cterm=reverse
  499. hi ErrorMsg ctermfg=White ctermbg=Red cterm=NONE
  500. hi FoldColumn ctermfg=Grey ctermbg=NONE cterm=NONE
  501. hi Folded ctermfg=Grey ctermbg=NONE cterm=NONE
  502. hi LineNr ctermfg=Grey ctermbg=NONE cterm=NONE
  503. hi MatchParen ctermfg=NONE ctermbg=White cterm=bold,underline
  504. hi NonText ctermfg=Grey ctermbg=NONE cterm=NONE
  505. hi Pmenu ctermfg=Black ctermbg=Grey cterm=NONE
  506. hi PmenuSbar ctermfg=NONE ctermbg=Grey cterm=NONE
  507. hi PmenuSel ctermfg=White ctermbg=Blue cterm=NONE
  508. hi PmenuThumb ctermfg=NONE ctermbg=Blue cterm=NONE
  509. hi PmenuKind ctermfg=DarkRed ctermbg=Grey cterm=NONE
  510. hi PmenuKindSel ctermfg=DarkRed ctermbg=Blue cterm=NONE
  511. hi PmenuExtra ctermfg=DarkGray ctermbg=Grey cterm=NONE
  512. hi PmenuExtraSel ctermfg=White ctermbg=Blue cterm=NONE
  513. hi PmenuMatch ctermfg=Black ctermbg=Grey cterm=bold
  514. hi PmenuMatchSel ctermfg=White ctermbg=Blue cterm=bold
  515. hi SignColumn ctermfg=Grey ctermbg=NONE cterm=NONE
  516. hi SpecialKey ctermfg=Grey ctermbg=NONE cterm=NONE
  517. hi StatusLine ctermfg=DarkGray ctermbg=White cterm=bold,reverse
  518. hi StatusLineNC ctermfg=Grey ctermbg=DarkGray cterm=reverse
  519. hi TabLine ctermfg=DarkGray ctermbg=Grey cterm=NONE
  520. hi TabLineFill ctermfg=White ctermbg=Grey cterm=NONE
  521. hi TabLineSel ctermfg=DarkGray ctermbg=White cterm=bold
  522. hi ToolbarButton ctermfg=Black ctermbg=Grey cterm=bold
  523. hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
  524. hi VertSplit ctermfg=DarkGray ctermbg=Grey cterm=NONE
  525. hi Visual ctermfg=White ctermbg=Blue cterm=NONE
  526. hi WildMenu ctermfg=Black ctermbg=White cterm=bold
  527. hi EndOfBuffer ctermfg=Grey ctermbg=NONE cterm=NONE
  528. hi Conceal ctermfg=Grey ctermbg=NONE cterm=NONE
  529. hi Cursor ctermfg=White ctermbg=DarkGray cterm=NONE
  530. hi DiffAdd ctermfg=Green ctermbg=White cterm=reverse
  531. hi DiffChange ctermfg=Cyan ctermbg=White cterm=reverse
  532. hi DiffDelete ctermfg=Red ctermbg=White cterm=reverse
  533. hi DiffText ctermfg=Yellow ctermbg=White cterm=reverse
  534. hi Directory ctermfg=Green ctermbg=NONE cterm=bold
  535. hi IncSearch ctermfg=Magenta ctermbg=White cterm=reverse
  536. hi ModeMsg ctermfg=Black ctermbg=NONE cterm=bold
  537. hi MoreMsg ctermfg=Black ctermbg=NONE cterm=bold
  538. hi Question ctermfg=Magenta ctermbg=NONE cterm=bold
  539. hi Search ctermfg=DarkGreen ctermbg=White cterm=reverse
  540. hi QuickFixLine ctermfg=Cyan ctermbg=White cterm=reverse
  541. hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
  542. hi SpellCap ctermfg=Blue ctermbg=NONE cterm=underline
  543. hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=underline
  544. hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
  545. hi Title ctermfg=Green ctermbg=NONE cterm=bold
  546. hi WarningMsg ctermfg=Red ctermbg=NONE cterm=bold
  547. hi Boolean ctermfg=Magenta ctermbg=NONE cterm=NONE
  548. hi Character ctermfg=Magenta ctermbg=NONE cterm=NONE
  549. hi Conditional ctermfg=Red ctermbg=NONE cterm=NONE
  550. hi Constant ctermfg=Magenta ctermbg=NONE cterm=NONE
  551. hi Define ctermfg=Cyan ctermbg=NONE cterm=NONE
  552. hi Debug ctermfg=Red ctermbg=NONE cterm=NONE
  553. hi Delimiter ctermfg=Magenta ctermbg=NONE cterm=NONE
  554. hi Error ctermfg=Red ctermbg=White cterm=bold,reverse
  555. hi Exception ctermfg=Red ctermbg=NONE cterm=NONE
  556. hi Float ctermfg=Magenta ctermbg=NONE cterm=NONE
  557. hi Function ctermfg=Green ctermbg=NONE cterm=bold
  558. hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE
  559. hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE
  560. hi Include ctermfg=Cyan ctermbg=NONE cterm=NONE
  561. hi Keyword ctermfg=Red ctermbg=NONE cterm=NONE
  562. hi Label ctermfg=Red ctermbg=NONE cterm=NONE
  563. hi Macro ctermfg=Cyan ctermbg=NONE cterm=NONE
  564. hi Number ctermfg=Magenta ctermbg=NONE cterm=NONE
  565. hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
  566. hi PreCondit ctermfg=Cyan ctermbg=NONE cterm=NONE
  567. hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE
  568. hi Repeat ctermfg=Red ctermbg=NONE cterm=NONE
  569. hi SpecialChar ctermfg=Red ctermbg=NONE cterm=NONE
  570. hi SpecialComment ctermfg=Red ctermbg=NONE cterm=NONE
  571. hi Statement ctermfg=Red ctermbg=NONE cterm=NONE
  572. hi StorageClass ctermfg=Magenta ctermbg=NONE cterm=NONE
  573. hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
  574. hi String ctermfg=Green ctermbg=NONE cterm=NONE
  575. hi Structure ctermfg=Cyan ctermbg=NONE cterm=NONE
  576. hi Todo ctermfg=fg ctermbg=White cterm=bold
  577. hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
  578. hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
  579. hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
  580. hi CursorIM ctermfg=White ctermbg=DarkGray cterm=NONE
  581. endif
  582. unlet s:t_Co
  583. finish
  584. endif
  585. if s:t_Co >= 8
  586. if &background ==# 'dark'
  587. hi Normal ctermfg=gray ctermbg=Black cterm=NONE
  588. hi ColorColumn ctermfg=Black ctermbg=gray cterm=NONE
  589. hi Comment ctermfg=gray ctermbg=NONE cterm=bold
  590. hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
  591. hi CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
  592. hi Error ctermfg=Red ctermbg=Black cterm=reverse
  593. hi ErrorMsg ctermfg=Black ctermbg=Red cterm=NONE
  594. hi FoldColumn ctermfg=gray ctermbg=NONE cterm=NONE
  595. hi Folded ctermfg=gray ctermbg=NONE cterm=NONE
  596. hi LineNr ctermfg=gray ctermbg=NONE cterm=NONE
  597. hi MatchParen ctermfg=gray ctermbg=NONE cterm=bold,underline
  598. hi NonText ctermfg=gray ctermbg=NONE cterm=NONE
  599. hi Pmenu ctermfg=DarkGray ctermbg=White cterm=NONE
  600. hi PmenuSbar ctermfg=NONE ctermbg=DarkGray cterm=NONE
  601. hi PmenuSel ctermfg=Black ctermbg=Blue cterm=NONE
  602. hi PmenuThumb ctermfg=NONE ctermbg=Blue cterm=NONE
  603. hi PmenuKind ctermfg=Red ctermbg=White cterm=NONE
  604. hi PmenuKindSel ctermfg=Red ctermbg=Blue cterm=NONE
  605. hi PmenuExtra ctermfg=DarkGray ctermbg=White cterm=NONE
  606. hi PmenuExtraSel ctermfg=DarkGray ctermbg=Blue cterm=NONE
  607. hi PmenuMatch ctermfg=DarkGray ctermbg=White cterm=bold
  608. hi PmenuMatchSel ctermfg=Black ctermbg=Blue cterm=bold
  609. hi SignColumn ctermfg=gray ctermbg=NONE cterm=NONE
  610. hi SpecialKey ctermfg=gray ctermbg=NONE cterm=NONE
  611. hi StatusLine ctermfg=gray ctermbg=Black cterm=bold,reverse
  612. hi StatusLineNC ctermfg=gray ctermbg=Black cterm=reverse
  613. hi TabLine ctermfg=Black ctermbg=gray cterm=NONE
  614. hi TabLineFill ctermfg=Black ctermbg=gray cterm=NONE
  615. hi TabLineSel ctermfg=gray ctermbg=Black cterm=NONE
  616. hi ToolbarButton ctermfg=Black ctermbg=gray cterm=bold
  617. hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
  618. hi VertSplit ctermfg=Black ctermbg=gray cterm=NONE
  619. hi Visual ctermfg=Black ctermbg=Blue cterm=NONE
  620. hi WildMenu ctermfg=Blue ctermbg=DarkGray cterm=bold
  621. hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
  622. hi Conceal ctermfg=DarkGray ctermbg=NONE cterm=NONE
  623. hi Cursor ctermfg=Black ctermbg=White cterm=NONE
  624. hi DiffAdd ctermfg=Green ctermbg=Black cterm=reverse
  625. hi DiffChange ctermfg=Cyan ctermbg=Black cterm=reverse
  626. hi DiffDelete ctermfg=Red ctermbg=Black cterm=reverse
  627. hi DiffText ctermfg=Yellow ctermbg=Black cterm=reverse
  628. hi Directory ctermfg=Green ctermbg=NONE cterm=bold
  629. hi IncSearch ctermfg=Magenta ctermbg=Black cterm=reverse
  630. hi ModeMsg ctermfg=Yellow ctermbg=NONE cterm=bold
  631. hi MoreMsg ctermfg=Yellow ctermbg=NONE cterm=bold
  632. hi Question ctermfg=Magenta ctermbg=NONE cterm=bold
  633. hi Search ctermfg=DarkGreen ctermbg=Black cterm=reverse
  634. hi QuickFixLine ctermfg=Cyan ctermbg=Black cterm=reverse
  635. hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
  636. hi SpellCap ctermfg=Blue ctermbg=NONE cterm=underline
  637. hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=underline
  638. hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
  639. hi Title ctermfg=Green ctermbg=NONE cterm=bold
  640. hi WarningMsg ctermfg=Red ctermbg=NONE cterm=bold
  641. hi Boolean ctermfg=Magenta ctermbg=NONE cterm=NONE
  642. hi Character ctermfg=Magenta ctermbg=NONE cterm=NONE
  643. hi Conditional ctermfg=Red ctermbg=NONE cterm=NONE
  644. hi Constant ctermfg=Magenta ctermbg=NONE cterm=NONE
  645. hi Define ctermfg=Cyan ctermbg=NONE cterm=NONE
  646. hi Debug ctermfg=Red ctermbg=NONE cterm=NONE
  647. hi Delimiter ctermfg=Magenta ctermbg=NONE cterm=NONE
  648. hi Error ctermfg=Red ctermbg=Black cterm=bold,reverse
  649. hi Exception ctermfg=Red ctermbg=NONE cterm=NONE
  650. hi Float ctermfg=Magenta ctermbg=NONE cterm=NONE
  651. hi Function ctermfg=Green ctermbg=NONE cterm=bold
  652. hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE
  653. hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE
  654. hi Include ctermfg=Cyan ctermbg=NONE cterm=NONE
  655. hi Keyword ctermfg=Red ctermbg=NONE cterm=NONE
  656. hi Label ctermfg=Red ctermbg=NONE cterm=NONE
  657. hi Macro ctermfg=Cyan ctermbg=NONE cterm=NONE
  658. hi Number ctermfg=Magenta ctermbg=NONE cterm=NONE
  659. hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
  660. hi PreCondit ctermfg=Cyan ctermbg=NONE cterm=NONE
  661. hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE
  662. hi Repeat ctermfg=Red ctermbg=NONE cterm=NONE
  663. hi SpecialChar ctermfg=Red ctermbg=NONE cterm=NONE
  664. hi SpecialComment ctermfg=Red ctermbg=NONE cterm=NONE
  665. hi Statement ctermfg=Red ctermbg=NONE cterm=NONE
  666. hi StorageClass ctermfg=Magenta ctermbg=NONE cterm=NONE
  667. hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
  668. hi String ctermfg=Green ctermbg=NONE cterm=NONE
  669. hi Structure ctermfg=Cyan ctermbg=NONE cterm=NONE
  670. hi Todo ctermfg=fg ctermbg=Black cterm=bold
  671. hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
  672. hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
  673. hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
  674. hi CursorIM ctermfg=Black ctermbg=White cterm=NONE
  675. else
  676. " Light background
  677. hi Normal ctermfg=Black ctermbg=Grey cterm=NONE
  678. hi ColorColumn ctermfg=White ctermbg=Black cterm=NONE
  679. hi Comment ctermfg=Black ctermbg=NONE cterm=bold
  680. hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
  681. hi CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
  682. hi Error ctermfg=Red ctermbg=White cterm=reverse
  683. hi ErrorMsg ctermfg=White ctermbg=Red cterm=NONE
  684. hi FoldColumn ctermfg=Black ctermbg=NONE cterm=NONE
  685. hi Folded ctermfg=Black ctermbg=NONE cterm=NONE
  686. hi LineNr ctermfg=Black ctermbg=NONE cterm=NONE
  687. hi MatchParen ctermfg=Black ctermbg=NONE cterm=bold,underline
  688. hi NonText ctermfg=Black ctermbg=NONE cterm=NONE
  689. hi Pmenu ctermfg=Grey ctermbg=Black cterm=NONE
  690. hi PmenuSbar ctermfg=NONE ctermbg=Grey cterm=NONE
  691. hi PmenuSel ctermfg=White ctermbg=Blue cterm=NONE
  692. hi PmenuThumb ctermfg=NONE ctermbg=Blue cterm=NONE
  693. hi PmenuKind ctermfg=Red ctermbg=Black cterm=NONE
  694. hi PmenuKindSel ctermfg=Red ctermbg=Blue cterm=NONE
  695. hi PmenuExtra ctermfg=Grey ctermbg=Black cterm=NONE
  696. hi PmenuExtraSel ctermfg=Grey ctermbg=Blue cterm=NONE
  697. hi PmenuMatch ctermfg=Grey ctermbg=Black cterm=bold
  698. hi PmenuMatchSel ctermfg=White ctermbg=Blue cterm=bold
  699. hi SignColumn ctermfg=Black ctermbg=NONE cterm=NONE
  700. hi SpecialKey ctermfg=Black ctermbg=NONE cterm=NONE
  701. hi StatusLine ctermfg=Black ctermbg=White cterm=bold,reverse
  702. hi StatusLineNC ctermfg=Black ctermbg=White cterm=reverse
  703. hi TabLine ctermfg=White ctermbg=Black cterm=NONE
  704. hi TabLineFill ctermfg=White ctermbg=Black cterm=NONE
  705. hi TabLineSel ctermfg=Black ctermbg=White cterm=NONE
  706. hi ToolbarButton ctermfg=White ctermbg=Black cterm=bold
  707. hi ToolbarLine ctermfg=NONE ctermbg=NONE cterm=NONE
  708. hi VertSplit ctermfg=White ctermbg=Black cterm=NONE
  709. hi Visual ctermfg=White ctermbg=Blue cterm=NONE
  710. hi WildMenu ctermfg=Blue ctermbg=Grey cterm=bold
  711. hi EndOfBuffer ctermfg=NONE ctermbg=NONE cterm=NONE
  712. hi Conceal ctermfg=Grey ctermbg=NONE cterm=NONE
  713. hi Cursor ctermfg=White ctermbg=DarkGray cterm=NONE
  714. hi DiffAdd ctermfg=Green ctermbg=White cterm=reverse
  715. hi DiffChange ctermfg=Cyan ctermbg=White cterm=reverse
  716. hi DiffDelete ctermfg=Red ctermbg=White cterm=reverse
  717. hi DiffText ctermfg=Yellow ctermbg=White cterm=reverse
  718. hi Directory ctermfg=Green ctermbg=NONE cterm=bold
  719. hi IncSearch ctermfg=Magenta ctermbg=White cterm=reverse
  720. hi ModeMsg ctermfg=Black ctermbg=NONE cterm=bold
  721. hi MoreMsg ctermfg=Black ctermbg=NONE cterm=bold
  722. hi Question ctermfg=Magenta ctermbg=NONE cterm=bold
  723. hi Search ctermfg=DarkGreen ctermbg=White cterm=reverse
  724. hi QuickFixLine ctermfg=Cyan ctermbg=White cterm=reverse
  725. hi SpellBad ctermfg=Red ctermbg=NONE cterm=underline
  726. hi SpellCap ctermfg=Blue ctermbg=NONE cterm=underline
  727. hi SpellLocal ctermfg=Cyan ctermbg=NONE cterm=underline
  728. hi SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
  729. hi Title ctermfg=Green ctermbg=NONE cterm=bold
  730. hi WarningMsg ctermfg=Red ctermbg=NONE cterm=bold
  731. hi Boolean ctermfg=Magenta ctermbg=NONE cterm=NONE
  732. hi Character ctermfg=Magenta ctermbg=NONE cterm=NONE
  733. hi Conditional ctermfg=Red ctermbg=NONE cterm=NONE
  734. hi Constant ctermfg=Magenta ctermbg=NONE cterm=NONE
  735. hi Define ctermfg=Cyan ctermbg=NONE cterm=NONE
  736. hi Debug ctermfg=Red ctermbg=NONE cterm=NONE
  737. hi Delimiter ctermfg=Magenta ctermbg=NONE cterm=NONE
  738. hi Error ctermfg=Red ctermbg=White cterm=bold,reverse
  739. hi Exception ctermfg=Red ctermbg=NONE cterm=NONE
  740. hi Float ctermfg=Magenta ctermbg=NONE cterm=NONE
  741. hi Function ctermfg=Green ctermbg=NONE cterm=bold
  742. hi Identifier ctermfg=Blue ctermbg=NONE cterm=NONE
  743. hi Ignore ctermfg=fg ctermbg=NONE cterm=NONE
  744. hi Include ctermfg=Cyan ctermbg=NONE cterm=NONE
  745. hi Keyword ctermfg=Red ctermbg=NONE cterm=NONE
  746. hi Label ctermfg=Red ctermbg=NONE cterm=NONE
  747. hi Macro ctermfg=Cyan ctermbg=NONE cterm=NONE
  748. hi Number ctermfg=Magenta ctermbg=NONE cterm=NONE
  749. hi Operator ctermfg=Cyan ctermbg=NONE cterm=NONE
  750. hi PreCondit ctermfg=Cyan ctermbg=NONE cterm=NONE
  751. hi PreProc ctermfg=Cyan ctermbg=NONE cterm=NONE
  752. hi Repeat ctermfg=Red ctermbg=NONE cterm=NONE
  753. hi SpecialChar ctermfg=Red ctermbg=NONE cterm=NONE
  754. hi SpecialComment ctermfg=Red ctermbg=NONE cterm=NONE
  755. hi Statement ctermfg=Red ctermbg=NONE cterm=NONE
  756. hi StorageClass ctermfg=Magenta ctermbg=NONE cterm=NONE
  757. hi Special ctermfg=Magenta ctermbg=NONE cterm=NONE
  758. hi String ctermfg=Green ctermbg=NONE cterm=NONE
  759. hi Structure ctermfg=Cyan ctermbg=NONE cterm=NONE
  760. hi Todo ctermfg=fg ctermbg=White cterm=bold
  761. hi Type ctermfg=Yellow ctermbg=NONE cterm=NONE
  762. hi Typedef ctermfg=Yellow ctermbg=NONE cterm=NONE
  763. hi Underlined ctermfg=Blue ctermbg=NONE cterm=underline
  764. hi CursorIM ctermfg=White ctermbg=DarkGray cterm=NONE
  765. endif
  766. unlet s:t_Co
  767. finish
  768. endif
  769. if s:t_Co >= 0
  770. hi Normal term=NONE
  771. hi ColorColumn term=reverse
  772. hi Conceal term=NONE
  773. hi Cursor term=reverse
  774. hi CursorColumn term=NONE
  775. hi CursorLine term=underline
  776. hi CursorLineNr term=bold
  777. hi DiffAdd term=reverse
  778. hi DiffChange term=NONE
  779. hi DiffDelete term=reverse
  780. hi DiffText term=reverse
  781. hi Directory term=NONE
  782. hi EndOfBuffer term=NONE
  783. hi ErrorMsg term=bold,reverse
  784. hi FoldColumn term=NONE
  785. hi Folded term=NONE
  786. hi IncSearch term=bold,reverse,underline
  787. hi LineNr term=NONE
  788. hi MatchParen term=bold,underline
  789. hi ModeMsg term=bold
  790. hi MoreMsg term=NONE
  791. hi NonText term=NONE
  792. hi Pmenu term=reverse
  793. hi PmenuSbar term=reverse
  794. hi PmenuSel term=bold
  795. hi PmenuThumb term=NONE
  796. hi Question term=standout
  797. hi Search term=reverse
  798. hi SignColumn term=reverse
  799. hi SpecialKey term=bold
  800. hi SpellBad term=underline
  801. hi SpellCap term=underline
  802. hi SpellLocal term=underline
  803. hi SpellRare term=underline
  804. hi StatusLine term=bold,reverse
  805. hi StatusLineNC term=bold,underline
  806. hi TabLine term=bold,underline
  807. hi TabLineFill term=NONE
  808. hi Terminal term=NONE
  809. hi TabLineSel term=bold,reverse
  810. hi Title term=NONE
  811. hi VertSplit term=NONE
  812. hi Visual term=reverse
  813. hi VisualNOS term=NONE
  814. hi WarningMsg term=standout
  815. hi WildMenu term=bold
  816. hi CursorIM term=NONE
  817. hi ToolbarLine term=reverse
  818. hi ToolbarButton term=bold,reverse
  819. hi CurSearch term=reverse
  820. hi CursorLineFold term=underline
  821. hi CursorLineSign term=underline
  822. hi Comment term=bold
  823. hi Constant term=NONE
  824. hi Error term=bold,reverse
  825. hi Identifier term=NONE
  826. hi Ignore term=NONE
  827. hi PreProc term=NONE
  828. hi Special term=NONE
  829. hi Statement term=NONE
  830. hi Todo term=bold,reverse
  831. hi Type term=NONE
  832. hi Underlined term=underline
  833. unlet s:t_Co
  834. finish
  835. endif
  836. " Color: neutralred #cc241d 160 DarkRed
  837. " Color: neutralgreen #98971a 100 DarkGreen
  838. " Color: neutralyellow #d79921 172 DarkYellow
  839. " Color: neutralblue #458588 66 DarkBlue
  840. " Color: neutralpurple #b16286 132 DarkMagenta
  841. " Color: neutralaqua #689d6a 71 DarkCyan
  842. " Color: neutralorange #d65d0e 166 LightRed
  843. " Background: dark
  844. " Color: bg0 #1c1c1c 234 Black
  845. " Color: bg1 #3c3836 237 DarkGray
  846. " Color: bg2 #504945 239 DarkGray
  847. " Color: bg3 #303030 236
  848. " Color: bg4 #7c6f64 243
  849. " Color: bg5 #000000 16 DarkGray
  850. " Color: bg6 #121212 233 DarkGray
  851. " Color: fg0 #fbf1c7 230 White
  852. " Color: fg1 #ebdbb2 187 White
  853. " Color: fg2 #d5c4a1 187
  854. " Color: fg3 #bdae93 144
  855. " Color: fg4 #a89984 102 gray
  856. " Color: grey #928374 102 DarkGray
  857. " Color: red #fb4934 203 Red
  858. " Color: green #b8bb26 142 Green
  859. " Color: yellow #fabd2f 214 Yellow
  860. " Color: blue #83a598 109 Blue
  861. " Color: purple #d3869b 175 Magenta
  862. " Color: aqua #8ec07c 107 Cyan
  863. " Color: orange #fe8019 208 Magenta
  864. " Term colors: bg0 neutralred neutralgreen neutralyellow neutralblue neutralpurple neutralaqua fg4
  865. " Term colors: grey red green yellow blue purple aqua fg1
  866. " Background: light
  867. " Color: bg0 #fbf1c7 230 White
  868. " Color: bg1 #ebdbb2 187 Grey
  869. " Color: bg2 #e5d4b1 188 Grey
  870. " Color: bg3 #bdae93 144
  871. " Color: bg4 #a89984 137 Grey
  872. " Color: bg5 #ebe1b7 229 Grey
  873. " Color: bg6 #ffffd7 231 Grey
  874. " Color: fg0 #282828 235 DarkGray
  875. " Color: fg1 #3c3836 237 Black
  876. " Color: fg2 #503836 237
  877. " Color: fg3 #665c54 59
  878. " Color: fg4 #7c6f64 243 Black
  879. " Color: grey #928374 102 DarkGray
  880. " Color: red #9d0006 124 Red
  881. " Color: green #79740e 64 Green
  882. " Color: yellow #b57614 172 Yellow
  883. " Color: blue #076678 23 Blue
  884. " Color: purple #8f3f71 126 Magenta
  885. " Color: lightpurple #d3869b 175 Magenta
  886. " Color: aqua #427b58 29 Cyan
  887. " Color: orange #ff5f00 202 Magenta
  888. " Term colors: fg1 neutralred neutralgreen neutralyellow neutralblue neutralpurple neutralaqua fg4
  889. " Term colors: grey red green yellow blue purple aqua bg0
  890. " Background: any
  891. " vim: et ts=8 sw=2 sts=2