Josh Dick
8 years ago
1 changed files with 36 additions and 0 deletions
@ -0,0 +1,36 @@ |
|||
" [onedark.vim](https://github.com/joshdick/onedark.vim/) |
|||
|
|||
" This is a [lightline.vim](https://github.com/itchyny/lightline.vim) colorscheme for use with |
|||
" the [onedark.vim](https://github.com/joshdick/onedark.vim) colorscheme. |
|||
|
|||
let s:black = [ '#282C34', 235 ] |
|||
let s:blue = [ '#61AFEF', 39 ] |
|||
let s:green = [ '#98C379', 114 ] |
|||
let s:grey = [ '#3E4452', 237 ] |
|||
let s:purple = [ '#C678DD', 170 ] |
|||
let s:red = [ '#E06C75', 204 ] |
|||
let s:white = [ '#ABB2BF', 145 ] |
|||
let s:yellow = [ '#E5C07B', 180 ] |
|||
|
|||
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} |
|||
let s:p.normal.left = [ [ s:black, s:green ], [ s:white, s:grey ] ] |
|||
let s:p.normal.right = [ [ s:black, s:green ], [ s:white, s:grey ] ] |
|||
let s:p.inactive.left = [ [ s:white, s:grey ], [ s:white, s:grey ] ] |
|||
let s:p.inactive.right = [ [ s:black, s:white ], [ s:black, s:white ] ] |
|||
let s:p.insert.left = [ [ s:black, s:blue ], [ s:white, s:grey ] ] |
|||
let s:p.insert.right = [ [ s:black, s:blue ], [ s:white, s:grey ] ] |
|||
let s:p.replace.left = [ [ s:black, s:red ], [ s:white, s:grey ] ] |
|||
let s:p.replace.right = [ [ s:black, s:red ], [ s:white, s:grey ] ] |
|||
let s:p.visual.left = [ [ s:black, s:purple ], [ s:white, s:grey ] ] |
|||
let s:p.visual.right = [ [ s:black, s:purple ], [ s:white, s:grey ] ] |
|||
let s:p.normal.middle = [ [ s:white, s:black ] ] |
|||
let s:p.inactive.middle = [ [ s:white, s:grey ] ] |
|||
let s:p.tabline.left = [ [ s:white, s:grey ] ] |
|||
let s:p.tabline.tabsel = [ [ s:black, s:white ] ] |
|||
let s:p.tabline.middle = [ [ s:white, s:black ] ] |
|||
let s:p.tabline.right = [ [ s:white, s:grey ] ] |
|||
let s:p.normal.error = [ [ s:white, s:red ] ] |
|||
let s:p.normal.warning = [ [ s:black, s:yellow ] ] |
|||
|
|||
let g:lightline#colorscheme#onedark#palette = lightline#colorscheme#flatten(s:p) |
|||
|
Loading…
Reference in new issue