2018-04-14 00:50:26 +00:00
|
|
|
" =============================================================================
|
2019-02-05 16:00:21 +00:00
|
|
|
" Filename: autoload/lightline/colorscheme/dracula.vim
|
2018-04-14 00:50:26 +00:00
|
|
|
" Author: adamalbrecht
|
|
|
|
" License: MIT License
|
|
|
|
" Last Change: 2018/04/11
|
|
|
|
" =============================================================================
|
|
|
|
|
2019-05-25 21:50:22 +00:00
|
|
|
let s:black = g:dracula#palette.bg
|
|
|
|
let s:gray = g:dracula#palette.selection
|
|
|
|
let s:white = g:dracula#palette.fg
|
|
|
|
let s:darkblue = g:dracula#palette.comment
|
|
|
|
let s:cyan = g:dracula#palette.cyan
|
|
|
|
let s:green = g:dracula#palette.green
|
|
|
|
let s:orange = g:dracula#palette.orange
|
|
|
|
let s:purple = g:dracula#palette.purple
|
|
|
|
let s:red = g:dracula#palette.red
|
|
|
|
let s:yellow = g:dracula#palette.yellow
|
2018-04-14 00:50:26 +00:00
|
|
|
|
|
|
|
if exists('g:lightline')
|
|
|
|
|
|
|
|
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
|
|
|
let s:p.normal.left = [ [ s:black, s:purple ], [ s:cyan, s:gray ] ]
|
|
|
|
let s:p.normal.right = [ [ s:black, s:purple ], [ s:white, s:darkblue ] ]
|
2019-12-03 02:40:43 +00:00
|
|
|
let s:p.inactive.right = [ [ s:black, s:darkblue ], [ s:white, s:black ] ]
|
2018-04-14 00:50:26 +00:00
|
|
|
let s:p.inactive.left = [ [ s:cyan, s:black ], [ s:white, s:black ] ]
|
|
|
|
let s:p.insert.left = [ [ s:black, s:green ], [ s:cyan, s:gray ] ]
|
|
|
|
let s:p.replace.left = [ [ s:black, s:red ], [ s:cyan, s:gray ] ]
|
|
|
|
let s:p.visual.left = [ [ s:black, s:orange ], [ s:cyan, s:gray ] ]
|
|
|
|
let s:p.normal.middle = [ [ s:white, s:gray ] ]
|
|
|
|
let s:p.inactive.middle = [ [ s:white, s:gray ] ]
|
|
|
|
let s:p.tabline.left = [ [ s:darkblue, s:gray ] ]
|
|
|
|
let s:p.tabline.tabsel = [ [ s:cyan, s:black ] ]
|
|
|
|
let s:p.tabline.middle = [ [ s:darkblue, s:gray ] ]
|
|
|
|
let s:p.tabline.right = copy(s:p.normal.right)
|
|
|
|
let s:p.normal.error = [ [ s:red, s:black ] ]
|
|
|
|
let s:p.normal.warning = [ [ s:yellow, s:black ] ]
|
|
|
|
|
2019-02-05 16:00:21 +00:00
|
|
|
let g:lightline#colorscheme#dracula#palette = lightline#colorscheme#flatten(s:p)
|
2018-04-14 00:50:26 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2019-05-25 21:50:22 +00:00
|
|
|
" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0:
|