getfresh.vim 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. " Vim color scheme
  2. "
  3. " Name: getfresh.vim
  4. " Maintainer: Christian Brassat <crshd@mail.com>
  5. " License: public domain
  6. "
  7. set background=dark
  8. hi clear
  9. if exists("syntax_on")
  10. syntax reset
  11. endif
  12. let g:colors_name = "getfresh"
  13. " General Colors
  14. let NormalFG = '#DDCCBB'
  15. "let NormalFG = '#30251D'
  16. let NormalBG = '#151515'
  17. let DarkGray = '#393939'
  18. let LightGray = '#AF875F'
  19. let DarkRed = '#BF1E2D'
  20. let LightRed = '#E7212A'
  21. let DarkGreen = '#9DBA3A'
  22. let LightGreen = '#A9C938'
  23. let DarkYellow = '#F5B915'
  24. let LightYellow = '#F7D325'
  25. let DarkBlue = '#1CA1DB'
  26. let LightBlue = '#00AFDA'
  27. let DarkMagenta = '#652F90'
  28. let LightMagenta = '#894E9F'
  29. let DarkCyan = '#EA7D24'
  30. let LightCyan = '#F79321'
  31. let White = '#E7E8E9'
  32. " Specific Colors
  33. let CursorColor = '#FF8939'
  34. let CursorLColor = '#202020'
  35. let LineNrFG = '#555555'
  36. let LineNrBG = '#101010'
  37. let FoldFG = DarkCyan
  38. let FoldLineBG = NormalBG
  39. let FoldColBG = '#050505'
  40. let SplitFG = '#1B1B1B'
  41. let SplitBG = SplitFG
  42. let StatusBG = DarkGray
  43. " GUI - bold/italic/underline/none
  44. let GUI = 'none'
  45. " Different Font
  46. let OtherFont = '-*-neep-medium-*-*-*-10-*-*-*-*-*-*-*'
  47. exe 'hi Nontext guifg='.LightGray
  48. exe 'hi Normal guifg='.NormalFG.' guibg='.NormalBG
  49. exe 'hi Cursor guibg='.CursorColor
  50. exe 'hi CursorLine guibg='.CursorLColor
  51. exe 'hi LineNr guifg='.LineNrFG.' guibg='.LineNrBG
  52. exe 'hi Search guibg='.DarkCyan
  53. exe 'hi VertSplit guifg='.SplitFG.' guibg='.SplitBG
  54. exe 'hi Visual guibg='.DarkCyan
  55. exe 'hi Folded guifg='.FoldFG.' guibg='.FoldLineBG
  56. exe 'hi FoldColumn guifg='.FoldFG.' guibg='.FoldColBG
  57. exe 'hi Directory guifg='.LightGreen
  58. exe 'hi Pmenu guifg='.NormalFG.' guibg='.LightGray
  59. exe 'hi PmenuSel guifg='.DarkGray.' guibg='.LightGreen
  60. exe 'hi PMenuSbar guibg='.DarkCyan
  61. exe 'hi PMenuThumb guibg='.DarkGreen
  62. exe 'hi Comment guifg='.LightGray.' font='.OtherFont
  63. exe 'hi Todo guifg='.LightGray.' guibg=NONE'
  64. exe 'hi NonText guifg='.DarkCyan
  65. exe 'hi SpecialKey guifg='.DarkCyan
  66. exe 'hi Constant guifg='.DarkBlue
  67. exe 'hi Define guifg='.White.' gui='.GUI
  68. exe 'hi Delimiter guifg='.DarkMagenta
  69. exe 'hi Error guifg='.DarkGray.' guibg='.DarkRed
  70. exe 'hi Function guifg='.DarkRed.' gui='.GUI
  71. exe 'hi Identifier guifg='.LightYellow
  72. exe 'hi Include guifg='.DarkYellow.' gui='.GUI
  73. exe 'hi Keyword guifg='.DarkMagenta
  74. exe 'hi Macro guifg='.DarkMagenta
  75. exe 'hi Number guifg='.LightGreen
  76. exe 'hi PreCondit guifg='.DarkMagenta.' gui='.GUI
  77. exe 'hi PreProc guifg='.DarkYellow
  78. exe 'hi Statement guifg='.LightBlue.' gui='.GUI
  79. exe 'hi String guifg='.White
  80. exe 'hi Title guifg='.LightGray
  81. exe 'hi Type guifg='.DarkRed.' gui='.GUI
  82. exe 'hi DiffAdd guifg='.DarkGray.' guibg='.LightGreen
  83. exe 'hi DiffDelete guifg='.DarkGray.' guibg='.LightRed
  84. hi link htmlTag xmlTag
  85. hi link htmlTagName xmlTagName
  86. hi link htmlEndTag xmlEndTag
  87. exe 'hi xmlTag guifg='.LightMagenta
  88. exe 'hi xmlTagName guifg='.LightMagenta
  89. exe 'hi xmlEndTag guifg='.LightMagenta
  90. " Status line - changes colors depending on insert mode
  91. " Standard
  92. exe 'hi User1 guifg='.DarkYellow.' guibg='.StatusBG.' gui='.GUI
  93. exe 'hi User2 guifg='.DarkRed.' guibg='.StatusBG.' gui='.GUI
  94. exe 'hi User3 guifg='.LightGreen.' guibg='.StatusBG.' gui='.GUI
  95. exe 'hi User4 guifg='.DarkGray.' guibg='.DarkMagenta.' gui='.GUI
  96. exe 'hi User5 guifg='.NormalFG.' guibg='.StatusBG
  97. exe 'hi User6 guifg='.LightGray.' guibg='.StatusBG
  98. exe 'hi User7 guifg='.StatusBG.' guibg='.StatusBG.' gui='.GUI
  99. exe 'hi StatusLine guifg='.NormalFG.' guibg='.StatusBG.' gui='.GUI
  100. exe 'hi StatusLineNC guifg='.LightGray.' guibg='.StatusBG.' gui='.GUI
  101. function! InsertStatuslineColor(mode)
  102. let DarkGray = '#101010'
  103. let DarkRed = '#E84F4F'
  104. let DarkBlue = '#7DC1CF'
  105. let DarkMagenta = '#9B64FB'
  106. if a:mode == 'i' " Insert Mode
  107. exe 'hi User4 guifg='.DarkGray.' guibg='.DarkBlue
  108. elseif a:mode == 'r' " Replace Mode
  109. exe 'hi User4 guifg='.DarkGray.' guibg='.DarkRed
  110. else
  111. exe 'hi User4 guifg='.DarkGray.' guibg='.DarkMagenta
  112. endif
  113. endfunction
  114. " Call function
  115. exe 'au InsertEnter * call InsertStatuslineColor(v:insertmode)'
  116. exe 'au InsertLeave * hi statusline guifg='.NormalFG.' guibg='.StatusBG
  117. exe 'au InsertLeave * hi User4 guifg='.DarkGray.' guibg='.DarkMagenta