retrobox.vim 47 KB

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