dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

downtime-lightline.vim (1962B)


      1 " =============================================================================
      2 " Filename: autoload/lightline/colorscheme/downtime.vim
      3 " Author: pyratebeard
      4 " License: MIT License
      5 " Last Change: 2018/06/25 
      6 " =============================================================================
      7 "let s:base03 = [ '#242424', 235 ]
      8 "let s:base023 = [ '#353535 ', 236 ]
      9 "let s:base02 = [ '#777777 ', 238 ] "cyan
     10 "let s:base01 = [ '#666666', 240 ] "green
     11 "let s:base00 = [ '#666666', 242  ]
     12 
     13 let s:base0 = [ '#212021', 0 ] "bg
     14 let s:base1 = [ '#fbf6f6', 7 ] "white
     15 let s:red = [ '#e29e84', 1 ] "red
     16 let s:green = [ '#b6ce63', 2 ] "green
     17 let s:yellow = [ '#d4cd61', 3 ] "yellow
     18 let s:blue = [ '#8fbed3', 4 ] "blue
     19 let s:magenta = [ '#888aa9', 5 ] "magenta
     20 let s:cyan = [ '#cfe063', 6 ] "cyan
     21 let s:grey = [ '#6b6573', 8 ] "grey
     22 let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
     23 " [ [ fg, bg ], [ fg, bg ] ]
     24 
     25 " normal
     26 let s:p.normal.left = [ [ s:base1, s:grey ], [ s:base1, s:grey ] ]
     27 let s:p.normal.right = [ [ s:base0, s:base1 ], [ s:base1, s:grey ] ]
     28 let s:p.normal.middle = [ [ s:base0, s:base0 ] ]
     29 let s:p.normal.error = [ [ s:base0, s:red ] ]
     30 let s:p.normal.warning = [ [ s:base0, s:yellow ] ]
     31 
     32 " inactive
     33 let s:p.inactive.left =  [ [ s:grey, s:base0 ], [ s:grey, s:base0 ] ]
     34 let s:p.inactive.right = [ [ s:grey, s:base0 ], [ s:grey, s:base0 ] ]
     35 let s:p.inactive.middle = [ [ s:grey, s:base0 ] ]
     36 
     37 " insert
     38 let s:p.insert.left = [ [ s:base0, s:green ], [ s:base1, s:grey ] ]
     39 
     40 " replace
     41 let s:p.replace.left = [ [ s:base0, s:red ], [ s:base1, s:grey ] ]
     42 
     43 " visual
     44 let s:p.visual.left = [ [ s:base0, s:cyan ], [ s:base1, s:grey ] ]
     45 
     46 " tjbline
     47 let s:p.tabline.left = [ [ s:base1, s:base0 ] ]
     48 let s:p.tabline.right = [ [ s:base1, s:base0 ] ]
     49 let s:p.tabline.middle = [ [ s:base1, s:base0 ] ]
     50 let s:p.tabline.tabsel = [ [ s:base0, s:base1 ] ]
     51 
     52 let g:lightline#colorscheme#downtime#palette = lightline#colorscheme#flatten(s:p)