oceanicnext.vim 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. let s:save_cpo = &cpoptions
  2. set cpoptions&vim
  3. " {{{ Colors
  4. let s:base00 = ['#1b2b34', '235']
  5. let s:base01 = ['#343d46', '237']
  6. let s:base02 = ['#4f5b66', '240']
  7. let s:base03 = ['#65737e', '243']
  8. let s:base04 = ['#a7adba', '145']
  9. let s:base05 = ['#c0c5ce', '251']
  10. let s:base06 = ['#cdd3de', '252']
  11. let s:base07 = ['#d8dee9', '253']
  12. let s:red = ['#ec5f67', '203']
  13. let s:orange = ['#f99157', '209']
  14. let s:yellow = ['#fac863', '221']
  15. let s:green = ['#99c794', '114']
  16. let s:cyan = ['#62b3b2', '73']
  17. let s:blue = ['#6699cc', '68']
  18. let s:purple = ['#c594c5', '176']
  19. let s:brown = ['#ab7967', '137']
  20. let s:white = ['#ffffff', '15']
  21. " }}}
  22. let s:palette = {}
  23. let s:palette.display = {
  24. \ 'guibg': s:base01[0],
  25. \ 'guifg': s:white[0],
  26. \ 'ctermbg': s:base01[1],
  27. \ 'ctermfg': s:white[1]
  28. \ }
  29. " Let ClapInput, ClapSpinner and ClapSearchText use the same backgound.
  30. let s:bg0 = {
  31. \ 'guibg': s:base01[0]
  32. \ }
  33. let s:palette.input = s:bg0
  34. let s:palette.spinner = extend({
  35. \ 'guifg': s:blue[0],
  36. \ 'gui': 'bold'},
  37. \ s:bg0
  38. \ )
  39. let s:palette.search_text = extend({
  40. \ 'guifg': s:white[0],
  41. \ 'gui': 'bold' },
  42. \ s:bg0
  43. \ )
  44. let s:palette.preview = {
  45. \ 'guibg': '#131C21'
  46. \ }
  47. let s:palette.selected = {
  48. \ 'guibg': s:base02[0],
  49. \ 'gui': 'bold'
  50. \ }
  51. let s:palette.selected_sign = s:palette.selected
  52. let s:palette.current_selection = {
  53. \ 'guibg': s:base02[0],
  54. \ 'gui': 'bold'
  55. \ }
  56. let s:palette.current_selection_sign = s:palette.current_selection
  57. let g:clap#themes#oceanicnext#palette = s:palette
  58. let &cpoptions = s:save_cpo
  59. unlet s:save_cpo