herald.vim 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. " Vim color file
  2. " Name: herald.vim
  3. " Author: Fabio Cevasco <h3rald@h3rald.com>
  4. " Version: 0.2.0
  5. " Notes: Supports 8, 16, 256 and 16,777,216 (RGB) color modes
  6. hi clear
  7. if exists("syntax_on")
  8. syntax reset
  9. endif
  10. let colors_name = "herald"
  11. set background=dark
  12. " Set some syntax-related variables
  13. let ruby_operators = 1
  14. if has("gui_running")
  15. " -> Text; Miscellaneous
  16. hi Normal guibg=#1F1F1F guifg=#D0D0D0 gui=none
  17. hi SpecialKey guibg=#1F1F1F guifg=#E783E9 gui=none
  18. hi VertSplit guibg=#1F1F1F guifg=#FFEE68 gui=none
  19. hi SignColumn guibg=#1F1F1F guifg=#BF81FA gui=none
  20. hi NonText guibg=#1F1F1F guifg=#FC6984 gui=none
  21. hi Directory guibg=#1F1F1F guifg=#FFEE68 gui=none
  22. hi Title guibg=#1F1F1F guifg=#6DF584 gui=bold
  23. " -> Cursor
  24. hi Cursor guibg=#FFEE68 guifg=#1F1F1F gui=none
  25. hi CursorIM guibg=#FFEE68 guifg=#1F1F1F gui=none
  26. hi CursorColumn guibg=#000000 gui=none
  27. hi CursorLine guibg=#000000 gui=none
  28. " -> Folding
  29. hi FoldColumn guibg=#001336 guifg=#003DAD gui=none
  30. hi Folded guibg=#001336 guifg=#003DAD gui=none
  31. " -> Line info
  32. hi LineNr guibg=#000000 guifg=#696567 gui=none
  33. hi StatusLine guibg=#000000 guifg=#696567 gui=none
  34. hi StatusLineNC guibg=#25365a guifg=#696567 gui=none
  35. " -> Messages
  36. hi ErrorMsg guibg=#A32024 guifg=#D0D0D0 gui=none
  37. hi Question guibg=#1F1F1F guifg=#FFA500 gui=none
  38. hi WarningMsg guibg=#FFA500 guifg=#000000 gui=none
  39. hi MoreMsg guibg=#1F1F1F guifg=#FFA500 gui=none
  40. hi ModeMsg guibg=#1F1F1F guifg=#FFA500 gui=none
  41. " -> Search
  42. hi Search guibg=#696567 guifg=#FFEE68 gui=none
  43. hi IncSearch guibg=#696567 guifg=#FFEE68 gui=none
  44. " -> Diff
  45. hi DiffAdd guibg=#006124 guifg=#ED9000 gui=none
  46. hi DiffChange guibg=#0B294A guifg=#A36000 gui=none
  47. hi DiffDelete guibg=#081F38 guifg=#ED9000 gui=none
  48. hi DiffText guibg=#12457D guifg=#ED9000 gui=underline
  49. " -> Menu
  50. hi Pmenu guibg=#140100 guifg=#660300 gui=none
  51. hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none
  52. hi PmenuSbar guibg=#430300 gui=none
  53. hi PmenuThumb guibg=#720300 gui=none
  54. hi PmenuSel guibg=#F17A00 guifg=#4C0200 gui=none
  55. " -> Tabs
  56. hi TabLine guibg=#141414 guifg=#1F1F1F gui=none
  57. hi TabLineFill guibg=#000000 gui=none
  58. hi TabLineSel guibg=#1F1F1F guifg=#D0D0D0 gui=bold
  59. "
  60. " -> Visual Mode
  61. hi Visual guibg=#000000 guifg=#FFB539 gui=none
  62. hi VisualNOS guibg=#000000 guifg=#696567 gui=none
  63. " -> Code
  64. hi Comment guibg=#1F1F1F guifg=#696567 gui=none
  65. hi Constant guibg=#1F1F1F guifg=#6DF584 gui=none
  66. hi String guibg=#1F1F1F guifg=#FFB539 gui=none
  67. hi Error guibg=#1F1F1F guifg=#FC4234 gui=none
  68. hi Identifier guibg=#1F1F1F guifg=#70BDF1 gui=none
  69. hi Function guibg=#1F1F1F guifg=#90CBF1 gui=none
  70. hi Ignore guibg=#1F1F1F guifg=#1F1F1F gui=none
  71. hi MatchParen guibg=#FFA500 guifg=#1F1F1F gui=none
  72. hi PreProc guibg=#1F1F1F guifg=#BF81FA gui=none
  73. hi Special guibg=#1F1F1F guifg=#FFEE68 gui=none
  74. hi Todo guibg=#1F1F1F guifg=#FC4234 gui=bold
  75. hi Underlined guibg=#1F1F1F guifg=#FC4234 gui=underline
  76. hi Statement guibg=#1F1F1F guifg=#E783E9 gui=none
  77. hi Operator guibg=#1F1F1F guifg=#FC6984 gui=none
  78. hi Delimiter guibg=#1F1F1F guifg=#FC6984 gui=none
  79. hi Type guibg=#1F1F1F guifg=#FFEE68 gui=none
  80. hi Exception guibg=#1F1F1F guifg=#FC4234 gui=none
  81. " -> HTML-specific
  82. hi htmlBold guibg=#1F1F1F guifg=#D0D0D0 gui=bold
  83. hi htmlBoldItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,italic
  84. hi htmlBoldUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline
  85. hi htmlBoldUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=bold,underline,italic
  86. hi htmlItalic guibg=#1F1F1F guifg=#D0D0D0 gui=italic
  87. hi htmlUnderline guibg=#1F1F1F guifg=#D0D0D0 gui=underline
  88. hi htmlUnderlineItalic guibg=#1F1F1F guifg=#D0D0D0 gui=underline,italic
  89. elseif &t_Co == 256
  90. " -> Text; Miscellaneous
  91. hi Normal ctermbg=234 ctermfg=252 cterm=none
  92. hi SpecialKey ctermbg=234 ctermfg=176 cterm=none
  93. hi VertSplit ctermbg=234 ctermfg=227 cterm=none
  94. hi SignColumn ctermbg=234 ctermfg=141 cterm=none
  95. hi NonText ctermbg=234 ctermfg=204 cterm=none
  96. hi Directory ctermbg=234 ctermfg=227 cterm=none
  97. hi Title ctermbg=234 ctermfg=84 cterm=bold
  98. " -> Cursor
  99. hi Cursor ctermbg=227 ctermfg=234 cterm=none
  100. hi CursorIM ctermbg=227 ctermfg=234 cterm=none
  101. hi CursorColumn ctermbg=0 cterm=none
  102. hi CursorLine ctermbg=0 cterm=none
  103. " -> Folding
  104. hi FoldColumn ctermbg=234 ctermfg=25 cterm=none
  105. hi Folded ctermbg=234 ctermfg=25 cterm=none
  106. " -> Line info
  107. hi LineNr ctermbg=0 ctermfg=241 cterm=none
  108. hi StatusLine ctermbg=0 ctermfg=241 cterm=none
  109. hi StatusLineNC ctermbg=237 ctermfg=241 cterm=none
  110. " -> Messages
  111. hi ErrorMsg ctermbg=124 ctermfg=252 cterm=none
  112. hi Question ctermbg=234 ctermfg=214 cterm=none
  113. hi WarningMsg ctermbg=214 ctermfg=0 cterm=none
  114. hi MoreMsg ctermbg=234 ctermfg=214 cterm=none
  115. hi ModeMsg ctermbg=234 ctermfg=214 cterm=none
  116. " -> Search
  117. hi Search ctermbg=241 ctermfg=227 cterm=none
  118. hi IncSearch ctermbg=241 ctermfg=227 cterm=none
  119. " -> Diff
  120. hi DiffAdd ctermbg=22 ctermfg=208 cterm=none
  121. hi DiffChange ctermbg=235 ctermfg=130 cterm=none
  122. hi DiffDelete ctermbg=234 ctermfg=208 cterm=none
  123. hi DiffText ctermbg=24 ctermfg=208 cterm=underline
  124. " -> Menu
  125. hi Pmenu ctermbg=0 ctermfg=52 cterm=none
  126. hi PmenuSel ctermbg=208 ctermfg=52 cterm=none
  127. hi PmenuSbar ctermbg=52 cterm=none
  128. hi PmenuThumb ctermbg=52 cterm=none
  129. hi PmenuSel ctermbg=208 ctermfg=52 cterm=none
  130. " -> Tabs
  131. hi TabLine ctermbg=233 ctermfg=234 cterm=none
  132. hi TabLineFill ctermbg=0 cterm=none
  133. hi TabLineSel ctermbg=234 ctermfg=252 cterm=bold
  134. "
  135. " -> Visual Mode
  136. hi Visual ctermbg=0 ctermfg=215 cterm=none
  137. hi VisualNOS ctermbg=0 ctermfg=241 cterm=none
  138. " -> Code
  139. hi Comment ctermbg=234 ctermfg=241 cterm=none
  140. hi Constant ctermbg=234 ctermfg=84 cterm=none
  141. hi String ctermbg=234 ctermfg=215 cterm=none
  142. hi Error ctermbg=234 ctermfg=203 cterm=none
  143. hi Identifier ctermbg=234 ctermfg=75 cterm=none
  144. hi Function ctermbg=234 ctermfg=117 cterm=none
  145. hi Ignore ctermbg=234 ctermfg=234 cterm=none
  146. hi MatchParen ctermbg=214 ctermfg=234 cterm=none
  147. hi PreProc ctermbg=234 ctermfg=141 cterm=none
  148. hi Special ctermbg=234 ctermfg=227 cterm=none
  149. hi Todo ctermbg=234 ctermfg=203 cterm=bold
  150. hi Underlined ctermbg=234 ctermfg=203 cterm=underline
  151. hi Statement ctermbg=234 ctermfg=176 cterm=none
  152. hi Operator ctermbg=234 ctermfg=204 cterm=none
  153. hi Delimiter ctermbg=234 ctermfg=204 cterm=none
  154. hi Type ctermbg=234 ctermfg=227 cterm=none
  155. hi Exception ctermbg=234 ctermfg=203 cterm=none
  156. " -> HTML-specific
  157. hi htmlBold ctermbg=234 ctermfg=252 cterm=bold
  158. hi htmlBoldItalic ctermbg=234 ctermfg=252 cterm=bold,italic
  159. hi htmlBoldUnderline ctermbg=234 ctermfg=252 cterm=bold,underline
  160. hi htmlBoldUnderlineItalic ctermbg=234 ctermfg=252 cterm=bold,underline,italic
  161. hi htmlItalic ctermbg=234 ctermfg=252 cterm=italic
  162. hi htmlUnderline ctermbg=234 ctermfg=252 cterm=underline
  163. hi htmlUnderlineItalic ctermbg=234 ctermfg=252 cterm=underline,italic
  164. elseif &t_Co == 16
  165. " -> Text; Miscellaneous
  166. hi Normal ctermbg=8 ctermfg=15 cterm=none
  167. hi SpecialKey ctermbg=8 ctermfg=5 cterm=none
  168. hi VertSplit ctermbg=8 ctermfg=14 cterm=none
  169. hi SignColumn ctermbg=8 ctermfg=5 cterm=none
  170. hi NonText ctermbg=8 ctermfg=4 cterm=none
  171. hi Directory ctermbg=8 ctermfg=14 cterm=none
  172. hi Title ctermbg=8 ctermfg=10 cterm=bold
  173. " -> Cursor
  174. hi Cursor ctermbg=14 ctermfg=8 cterm=none
  175. hi CursorIM ctermbg=14 ctermfg=8 cterm=none
  176. hi CursorColumn ctermbg=0 cterm=none
  177. hi CursorLine ctermbg=0 cterm=none
  178. " -> Folding
  179. hi FoldColumn ctermbg=0 ctermfg=1 cterm=none
  180. hi Folded ctermbg=0 ctermfg=1 cterm=none
  181. " -> Line info
  182. hi LineNr ctermbg=0 ctermfg=7 cterm=none
  183. hi StatusLine ctermbg=0 ctermfg=7 cterm=none
  184. hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none
  185. " -> Messages
  186. hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none
  187. hi Question ctermbg=8 ctermfg=14 cterm=none
  188. hi WarningMsg ctermbg=14 ctermfg=0 cterm=none
  189. hi MoreMsg ctermbg=8 ctermfg=14 cterm=none
  190. hi ModeMsg ctermbg=8 ctermfg=14 cterm=none
  191. " -> Search
  192. hi Search ctermbg=7 ctermfg=14 cterm=none
  193. hi IncSearch ctermbg=7 ctermfg=14 cterm=none
  194. " -> Diff
  195. hi DiffAdd ctermbg=0 ctermfg=10 cterm=none
  196. hi DiffChange ctermbg=0 ctermfg=14 cterm=none
  197. hi DiffDelete ctermbg=0 ctermfg=12 cterm=none
  198. hi DiffText ctermbg=1 ctermfg=14 cterm=underline
  199. " -> Menu
  200. hi Pmenu ctermbg=0 ctermfg=4 cterm=none
  201. hi PmenuSel ctermbg=14 ctermfg=4 cterm=none
  202. hi PmenuSbar ctermbg=0 cterm=none
  203. hi PmenuThumb ctermbg=4 cterm=none
  204. hi PmenuSel ctermbg=14 ctermfg=4 cterm=none
  205. " -> Tabs
  206. hi TabLine ctermbg=7 ctermfg=8 cterm=none
  207. hi TabLineFill ctermbg=0 cterm=none
  208. hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold
  209. "
  210. " -> Visual Mode
  211. hi Visual ctermbg=0 ctermfg=14 cterm=none
  212. hi VisualNOS ctermbg=0 ctermfg=7 cterm=none
  213. " -> Code
  214. hi Comment ctermbg=8 ctermfg=7 cterm=none
  215. hi Constant ctermbg=8 ctermfg=10 cterm=none
  216. hi String ctermbg=8 ctermfg=6 cterm=none
  217. hi Error ctermbg=8 ctermfg=4 cterm=none
  218. hi Identifier ctermbg=8 ctermfg=11 cterm=none
  219. hi Function ctermbg=8 ctermfg=11 cterm=none
  220. hi Ignore ctermbg=8 ctermfg=8 cterm=none
  221. hi MatchParen ctermbg=14 ctermfg=8 cterm=none
  222. hi PreProc ctermbg=8 ctermfg=5 cterm=none
  223. hi Special ctermbg=8 ctermfg=14 cterm=none
  224. hi Todo ctermbg=8 ctermfg=12 cterm=bold
  225. hi Underlined ctermbg=8 ctermfg=12 cterm=underline
  226. hi Statement ctermbg=8 ctermfg=13 cterm=none
  227. hi Operator ctermbg=8 ctermfg=4 cterm=none
  228. hi Delimiter ctermbg=8 ctermfg=4 cterm=none
  229. hi Type ctermbg=8 ctermfg=14 cterm=none
  230. hi Exception ctermbg=8 ctermfg=12 cterm=none
  231. " -> HTML-specific
  232. hi htmlBold ctermbg=8 ctermfg=7 cterm=bold
  233. hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic
  234. hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline
  235. hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic
  236. hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic
  237. hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline
  238. hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic
  239. elseif &t_Co == 8
  240. " -> Text; Miscellaneous
  241. hi Normal ctermbg=8 ctermfg=7 cterm=none
  242. hi SpecialKey ctermbg=8 ctermfg=5 cterm=none
  243. hi VertSplit ctermbg=8 ctermfg=6 cterm=none
  244. hi SignColumn ctermbg=8 ctermfg=5 cterm=none
  245. hi NonText ctermbg=8 ctermfg=4 cterm=none
  246. hi Directory ctermbg=8 ctermfg=6 cterm=none
  247. hi Title ctermbg=8 ctermfg=2 cterm=bold
  248. " -> Cursor
  249. hi Cursor ctermbg=6 ctermfg=8 cterm=none
  250. hi CursorIM ctermbg=6 ctermfg=8 cterm=none
  251. hi CursorColumn ctermbg=0 cterm=none
  252. hi CursorLine ctermbg=0 cterm=none
  253. " -> Folding
  254. hi FoldColumn ctermbg=0 ctermfg=1 cterm=none
  255. hi Folded ctermbg=0 ctermfg=1 cterm=none
  256. " -> Line info
  257. hi LineNr ctermbg=0 ctermfg=7 cterm=none
  258. hi StatusLine ctermbg=0 ctermfg=7 cterm=none
  259. hi StatusLineNC ctermbg=0 ctermfg=7 cterm=none
  260. " -> Messages
  261. hi ErrorMsg ctermbg=4 ctermfg=7 cterm=none
  262. hi Question ctermbg=8 ctermfg=6 cterm=none
  263. hi WarningMsg ctermbg=6 ctermfg=0 cterm=none
  264. hi MoreMsg ctermbg=8 ctermfg=6 cterm=none
  265. hi ModeMsg ctermbg=8 ctermfg=6 cterm=none
  266. " -> Search
  267. hi Search ctermbg=7 ctermfg=6 cterm=none
  268. hi IncSearch ctermbg=7 ctermfg=6 cterm=none
  269. " -> Diff
  270. hi DiffAdd ctermbg=0 ctermfg=2 cterm=none
  271. hi DiffChange ctermbg=0 ctermfg=6 cterm=none
  272. hi DiffDelete ctermbg=0 ctermfg=4 cterm=none
  273. hi DiffText ctermbg=1 ctermfg=6 cterm=underline
  274. " -> Menu
  275. hi Pmenu ctermbg=0 ctermfg=4 cterm=none
  276. hi PmenuSel ctermbg=6 ctermfg=4 cterm=none
  277. hi PmenuSbar ctermbg=0 cterm=none
  278. hi PmenuThumb ctermbg=4 cterm=none
  279. hi PmenuSel ctermbg=6 ctermfg=4 cterm=none
  280. " -> Tabs
  281. hi TabLine ctermbg=7 ctermfg=8 cterm=none
  282. hi TabLineFill ctermbg=0 cterm=none
  283. hi TabLineSel ctermbg=8 ctermfg=7 cterm=bold
  284. "
  285. " -> Visual Mode
  286. hi Visual ctermbg=0 ctermfg=6 cterm=none
  287. hi VisualNOS ctermbg=0 ctermfg=7 cterm=none
  288. " -> Code
  289. hi Comment ctermbg=8 ctermfg=7 cterm=none
  290. hi Constant ctermbg=8 ctermfg=2 cterm=none
  291. hi String ctermbg=8 ctermfg=6 cterm=none
  292. hi Error ctermbg=8 ctermfg=4 cterm=none
  293. hi Identifier ctermbg=8 ctermfg=3 cterm=none
  294. hi Function ctermbg=8 ctermfg=3 cterm=none
  295. hi Ignore ctermbg=8 ctermfg=8 cterm=none
  296. hi MatchParen ctermbg=6 ctermfg=8 cterm=none
  297. hi PreProc ctermbg=8 ctermfg=5 cterm=none
  298. hi Special ctermbg=8 ctermfg=6 cterm=none
  299. hi Todo ctermbg=8 ctermfg=4 cterm=bold
  300. hi Underlined ctermbg=8 ctermfg=4 cterm=underline
  301. hi Statement ctermbg=8 ctermfg=5 cterm=none
  302. hi Operator ctermbg=8 ctermfg=4 cterm=none
  303. hi Delimiter ctermbg=8 ctermfg=4 cterm=none
  304. hi Type ctermbg=8 ctermfg=6 cterm=none
  305. hi Exception ctermbg=8 ctermfg=4 cterm=none
  306. " -> HTML-specific
  307. hi htmlBold ctermbg=8 ctermfg=7 cterm=bold
  308. hi htmlBoldItalic ctermbg=8 ctermfg=7 cterm=bold,italic
  309. hi htmlBoldUnderline ctermbg=8 ctermfg=7 cterm=bold,underline
  310. hi htmlBoldUnderlineItalic ctermbg=8 ctermfg=7 cterm=bold,underline,italic
  311. hi htmlItalic ctermbg=8 ctermfg=7 cterm=italic
  312. hi htmlUnderline ctermbg=8 ctermfg=7 cterm=underline
  313. hi htmlUnderlineItalic ctermbg=8 ctermfg=7 cterm=underline,italic
  314. endif
  315. hi! default link bbcodeBold htmlBold
  316. hi! default link bbcodeBoldItalic htmlBoldItalic
  317. hi! default link bbcodeBoldItalicUnderline htmlBoldUnderlineItalic
  318. hi! default link bbcodeBoldUnderline htmlBoldUnderline
  319. hi! default link bbcodeItalic htmlItalic
  320. hi! default link bbcodeItalicUnderline htmlUnderlineItalic
  321. hi! default link bbcodeUnderline htmlUnderline
  322. " Spellcheck formatting
  323. if has("spell")
  324. hi SpellBad guisp=#FC4234 gui=undercurl
  325. hi SpellCap guisp=#70BDF1 gui=undercurl
  326. hi SpellLocal guisp=#FFEE68 gui=undercurl
  327. hi SpellRare guisp=#6DF584 gui=undercurl
  328. endif