mutiny-lightline.vim (2584B)
1 " ============================================================================= 2 " Filename: autoload/lightline/colorscheme/mutiny.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 = [ '#161616', 0 ] "bg 14 let s:base1 = [ '#c1c1c1', 7 ] "white 15 let s:red = [ '#875052', 1 ] "red 16 let s:green = [ '#666666', 2 ] "green 17 let s:yellow = [ '#857e5f', 3 ] "yellow 18 let s:darkyellow = [ '#857e5f', 11 ] "yellow 19 let s:blue = [ '#888888', 4 ] "blue 20 let s:magenta = [ '#875666', 5 ] "magenta 21 let s:cyan = [ '#777777', 6 ] "cyan 22 let s:grey = [ '#161616', 8 ] "grey 23 let s:base234 = [ '#1c1c1c', 234 ] "lightblack 24 let s:base235 = [ '#1c1c1c', 235 ] "lightblack 25 let s:base237 = [ '#1c1c1c', 237 ] "lighterblack 26 let s:base239 = [ '#4e4e43', 239 ] "lighterblack 27 let s:base242 = [ '#4e4e43', 242 ] "lighterblack 28 let s:base248 = [ '#4e4e43', 248 ] "lighterblack 29 let s:none = [ 'NONE', 'NONE' ] 30 let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} 31 " [ [ fg, bg ], [ fg, bg ] ] 32 33 " normal 34 let s:p.normal.left = [ [ s:base1, s:base237 ], [ s:base1, s:base235 ] ] 35 let s:p.normal.right = [ [ s:base0, s:base242 ], [ s:base248, s:base239 ] ] 36 let s:p.normal.middle = [ [ s:none, s:none ] ] 37 let s:p.normal.error = [ [ s:base0, s:red ] ] 38 let s:p.normal.warning = [ [ s:base0, s:yellow ] ] 39 40 " inactive 41 let s:p.inactive.left = [ [ s:base237, s:base0 ], [ s:base237, s:base0 ] ] 42 let s:p.inactive.right = [ [ s:base237, s:base0 ], [ s:base237, s:base0 ] ] 43 let s:p.inactive.middle = [ [ s:base237, s:base0 ] ] 44 45 " insert 46 let s:p.insert.left = [ [ s:base0, s:green ], [ s:base1, s:base234 ] ] 47 "let s:p.insert.right = [ [ s:base0, s:yellow ], [ s:base1, s:base234 ] ] 48 49 " replace 50 let s:p.replace.left = [ [ s:base0, s:red ], [ s:base1, s:base234 ] ] 51 "let s:p.replace.right = [ [ s:base0, s:red ], [ s:base1, s:base234 ] ] 52 53 " visual 54 let s:p.visual.left = [ [ s:base0, s:darkyellow ], [ s:base1, s:base234 ] ] 55 "let s:p.visual.right = [ [ s:base0, s:magenta ], [ s:base1, s:base234 ] ] 56 57 " tabline 58 let s:p.tabline.left = [ [ s:base1, s:base0 ] ] 59 let s:p.tabline.right = copy(s:p.normal.right) 60 let s:p.tabline.middle = copy(s:p.normal.middle) 61 let s:p.tabline.tabsel = [ [ s:base0, s:base1 ] ] 62 63 let g:lightline#colorscheme#mutiny#palette = lightline#colorscheme#flatten(s:p)