dextra

dynamic window manager extra repository, themes, styles, dotfiles
git clone git://git.suckless.org/dextra
Log | Files | Refs | LICENSE

molokai.vim (7622B)


      1 " Vim color file
      2 "
      3 " Author: Tomas Restrepo <tomas@winterdom.com>
      4 "
      5 " Note: Based on the monokai theme for textmate
      6 " by Wimer Hazenberg and its darker variant 
      7 " by Hamish Stuart Macpherson
      8 "
      9 
     10 hi clear
     11 
     12 set background=dark
     13 if version > 580
     14     " no guarantees for version 5.8 and below, but this makes it stop
     15     " complaining
     16     hi clear
     17     if exists("syntax_on")
     18         syntax reset
     19     endif
     20 endif
     21 let g:colors_name="molokai"
     22 
     23 if exists("g:molokai_original")
     24     let s:molokai_original = g:molokai_original
     25 else
     26     let s:molokai_original = 0
     27 endif
     28 
     29 
     30 hi Boolean         guifg=#AE81FF
     31 hi Character       guifg=#E6DB74
     32 hi Number          guifg=#AE81FF
     33 hi String          guifg=#E6DB74
     34 hi Conditional     guifg=#F92672               gui=bold
     35 hi Constant        guifg=#AE81FF               gui=bold
     36 hi Cursor          guifg=#000000 guibg=#F8F8F0
     37 hi Debug           guifg=#BCA3A3               gui=bold
     38 hi Define          guifg=#66D9EF
     39 hi Delimiter       guifg=#8F8F8F
     40 hi DiffAdd                       guibg=#13354A
     41 hi DiffChange      guifg=#89807D guibg=#4C4745
     42 hi DiffDelete      guifg=#960050 guibg=#1E0010
     43 hi DiffText                      guibg=#4C4745 gui=italic,bold
     44 
     45 hi Directory       guifg=#A6E22E               gui=bold
     46 hi Error           guifg=#960050 guibg=#1E0010
     47 hi ErrorMsg        guifg=#F92672 guibg=#232526 gui=bold
     48 hi Exception       guifg=#A6E22E               gui=bold
     49 hi Float           guifg=#AE81FF
     50 hi FoldColumn      guifg=#465457 guibg=#000000
     51 hi Folded          guifg=#465457 guibg=#000000
     52 hi Function        guifg=#A6E22E
     53 hi Identifier      guifg=#FD971F
     54 hi Ignore          guifg=#808080 guibg=bg
     55 hi IncSearch       guifg=#C4BE89 guibg=#000000
     56 
     57 hi Keyword         guifg=#F92672               gui=bold
     58 hi Label           guifg=#E6DB74               gui=none
     59 hi Macro           guifg=#C4BE89               gui=italic
     60 hi SpecialKey      guifg=#66D9EF               gui=italic
     61 
     62 hi MatchParen      guifg=#000000 guibg=#FD971F gui=bold
     63 hi ModeMsg         guifg=#E6DB74
     64 hi MoreMsg         guifg=#E6DB74
     65 hi Operator        guifg=#F92672
     66 
     67 " complete menu
     68 hi Pmenu           guifg=#66D9EF guibg=#000000
     69 hi PmenuSel                      guibg=#808080
     70 hi PmenuSbar                     guibg=#080808
     71 hi PmenuThumb      guifg=#66D9EF
     72 
     73 hi PreCondit       guifg=#A6E22E               gui=bold
     74 hi PreProc         guifg=#A6E22E
     75 hi Question        guifg=#66D9EF
     76 hi Repeat          guifg=#F92672               gui=bold
     77 hi Search          guifg=#FFFFFF guibg=#455354
     78 " marks column
     79 hi SignColumn      guifg=#A6E22E guibg=#232526
     80 hi SpecialChar     guifg=#F92672               gui=bold
     81 hi SpecialComment  guifg=#465457               gui=bold
     82 hi Special         guifg=#66D9EF guibg=bg      gui=italic
     83 hi SpecialKey      guifg=#888A85               gui=italic
     84 if has("spell")
     85     hi SpellBad    guisp=#FF0000 gui=undercurl
     86     hi SpellCap    guisp=#7070F0 gui=undercurl
     87     hi SpellLocal  guisp=#70F0F0 gui=undercurl
     88     hi SpellRare   guisp=#FFFFFF gui=undercurl
     89 endif
     90 hi Statement       guifg=#F92672               gui=bold
     91 hi StatusLine      guifg=#455354 guibg=fg
     92 hi StatusLineNC    guifg=#808080 guibg=#080808
     93 hi StorageClass    guifg=#FD971F               gui=italic
     94 hi Structure       guifg=#66D9EF
     95 hi Tag             guifg=#F92672               gui=italic
     96 hi Title           guifg=#ef5939
     97 hi Todo            guifg=#FFFFFF guibg=bg      gui=bold
     98 
     99 hi Typedef         guifg=#66D9EF
    100 hi Type            guifg=#66D9EF               gui=none
    101 hi Underlined      guifg=#808080               gui=underline
    102 
    103 hi VertSplit       guifg=#808080 guibg=#080808 gui=bold
    104 hi VisualNOS                     guibg=#403D3D
    105 hi Visual                        guibg=#403D3D
    106 hi WarningMsg      guifg=#FFFFFF guibg=#333333 gui=bold
    107 hi WildMenu        guifg=#66D9EF guibg=#000000
    108 
    109 if s:molokai_original == 1
    110    hi Normal          guifg=#F8F8F2 guibg=#272822
    111    hi Comment         guifg=#75715E
    112    hi CursorLine                    guibg=#3E3D32
    113    hi CursorColumn                  guibg=#3E3D32
    114    hi LineNr          guifg=#BCBCBC guibg=#3B3A32
    115    hi NonText         guifg=#BCBCBC guibg=#3B3A32
    116 else
    117    hi Normal          guifg=#F8F8F2 guibg=#1B1D1E
    118    hi Comment         guifg=#465457
    119    hi CursorLine                    guibg=#293739
    120    hi CursorColumn                  guibg=#293739
    121    hi LineNr          guifg=#BCBCBC guibg=#232526
    122    hi NonText         guifg=#BCBCBC guibg=#232526
    123 end
    124 
    125 "
    126 " Support for 256-color terminal
    127 "
    128 if &t_Co > 255
    129    hi Boolean         ctermfg=135
    130    hi Character       ctermfg=144
    131    hi Number          ctermfg=135
    132    hi String          ctermfg=144
    133    hi Conditional     ctermfg=161               cterm=bold
    134    hi Constant        ctermfg=135               cterm=bold
    135    hi Cursor          ctermfg=16  ctermbg=253
    136    hi Debug           ctermfg=225               cterm=bold
    137    hi Define          ctermfg=81
    138    hi Delimiter       ctermfg=241
    139 
    140    hi DiffAdd                     ctermbg=24
    141    hi DiffChange      ctermfg=181 ctermbg=239
    142    hi DiffDelete      ctermfg=162 ctermbg=53
    143    hi DiffText                    ctermbg=102 cterm=bold
    144 
    145    hi Directory       ctermfg=118               cterm=bold
    146    hi Error           ctermfg=219 ctermbg=89
    147    hi ErrorMsg        ctermfg=199 ctermbg=16    cterm=bold
    148    hi Exception       ctermfg=118               cterm=bold
    149    hi Float           ctermfg=135
    150    hi FoldColumn      ctermfg=67  ctermbg=16
    151    hi Folded          ctermfg=67  ctermbg=16
    152    hi Function        ctermfg=118
    153    hi Identifier      ctermfg=208
    154    hi Ignore          ctermfg=244 ctermbg=232
    155    hi IncSearch       ctermfg=193 ctermbg=16
    156 
    157    hi Keyword         ctermfg=161               cterm=bold
    158    hi Label           ctermfg=229               cterm=none
    159    hi Macro           ctermfg=193
    160    hi SpecialKey      ctermfg=81
    161 
    162    hi MatchParen      ctermfg=16  ctermbg=208 cterm=bold
    163    hi ModeMsg         ctermfg=229
    164    hi MoreMsg         ctermfg=229
    165    hi Operator        ctermfg=161
    166 
    167    " complete menu
    168    hi Pmenu           ctermfg=81  ctermbg=16
    169    hi PmenuSel                    ctermbg=244
    170    hi PmenuSbar                   ctermbg=232
    171    hi PmenuThumb      ctermfg=81
    172 
    173    hi PreCondit       ctermfg=118               cterm=bold
    174    hi PreProc         ctermfg=118
    175    hi Question        ctermfg=81
    176    hi Repeat          ctermfg=161               cterm=bold
    177    hi Search          ctermfg=253 ctermbg=66
    178 
    179    " marks column
    180    hi SignColumn      ctermfg=118 ctermbg=235
    181    hi SpecialChar     ctermfg=161               cterm=bold
    182    hi SpecialComment  ctermfg=245               cterm=bold
    183    hi Special         ctermfg=81  ctermbg=232
    184    hi SpecialKey      ctermfg=245
    185 
    186    hi Statement       ctermfg=161               cterm=bold
    187    hi StatusLine      ctermfg=238 ctermbg=253
    188    hi StatusLineNC    ctermfg=244 ctermbg=232
    189    hi StorageClass    ctermfg=208
    190    hi Structure       ctermfg=81
    191    hi Tag             ctermfg=161
    192    hi Title           ctermfg=166
    193    hi Todo            ctermfg=231 ctermbg=232   cterm=bold
    194 
    195    hi Typedef         ctermfg=81
    196    hi Type            ctermfg=81                cterm=none
    197    hi Underlined      ctermfg=244               cterm=underline
    198 
    199    hi VertSplit       ctermfg=244 ctermbg=232   cterm=bold
    200    hi VisualNOS                   ctermbg=238
    201    hi Visual                      ctermbg=235
    202    hi WarningMsg      ctermfg=231 ctermbg=238   cterm=bold
    203    hi WildMenu        ctermfg=81  ctermbg=16
    204 
    205    hi Normal          ctermfg=252 ctermbg=233
    206    hi Comment         ctermfg=59
    207    hi CursorLine                  ctermbg=234   cterm=none
    208    hi CursorColumn                ctermbg=234
    209    hi LineNr          ctermfg=250 ctermbg=234
    210    hi NonText         ctermfg=250 ctermbg=234
    211 end