mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-13 22:13:50 -05:00
Merge pull request #216 from kkopec/darcula-colorscheme
Added darcula colorscheme
This commit is contained in:
37
autoload/lightline/colorscheme/darcula.vim
Normal file
37
autoload/lightline/colorscheme/darcula.vim
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
" =============================================================================
|
||||||
|
" Filename: autoload/lightline/colorscheme/darcula.vim
|
||||||
|
" Author: kkopec
|
||||||
|
" License: MIT License
|
||||||
|
" Last Change: 2017/02/11 21:18:54.
|
||||||
|
" =============================================================================
|
||||||
|
|
||||||
|
let s:black = [ '#2b2b2b', 235 ]
|
||||||
|
let s:gray = [ '#323232', 236 ]
|
||||||
|
let s:white = [ '#a9b7c6', 250 ]
|
||||||
|
let s:blue = [ '#6897bb' , 67 ]
|
||||||
|
let s:green = [ '#629755', 71 ]
|
||||||
|
let s:purple = [ '#9876aa', 104 ]
|
||||||
|
let s:red = [ '#ff6b68', 204 ]
|
||||||
|
let s:yellow = [ '#ffc66d', 222 ]
|
||||||
|
|
||||||
|
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
||||||
|
let s:p.normal.left = [ [ s:black, s:purple ], [ s:purple, s:gray ] ]
|
||||||
|
let s:p.normal.right = [ [ s:black, s:purple ], [ s:purple, s:gray ] ]
|
||||||
|
let s:p.inactive.left = [ [ s:black, s:blue ], [ s:blue, s:gray ] ]
|
||||||
|
let s:p.inactive.right = [ [ s:black, s:blue ], [ s:blue, s:gray ] ]
|
||||||
|
let s:p.insert.left = [ [ s:black, s:green ], [ s:green, s:gray ] ]
|
||||||
|
let s:p.insert.right = [ [ s:black, s:green ], [ s:green, s:gray ] ]
|
||||||
|
let s:p.replace.left = [ [ s:black, s:red ], [ s:red, s:gray ] ]
|
||||||
|
let s:p.replace.right = [ [ s:black, s:red ], [ s:red, s:gray ] ]
|
||||||
|
let s:p.visual.left = [ [ s:black, s:yellow ], [ s:yellow, s:gray ] ]
|
||||||
|
let s:p.visual.right = [ [ s:black, s:yellow ], [ s:yellow, 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:blue, s:gray ] ]
|
||||||
|
let s:p.tabline.tabsel = [ [ s:black, s:blue ] ]
|
||||||
|
let s:p.tabline.middle = [ [ s:blue, s:gray ] ]
|
||||||
|
let s:p.tabline.right = [ [ s:black, s:blue ] ]
|
||||||
|
let s:p.normal.error = [ [ s:red, s:black ] ]
|
||||||
|
let s:p.normal.warning = [ [ s:yellow, s:black ] ]
|
||||||
|
|
||||||
|
let g:lightline#colorscheme#darcula#palette = lightline#colorscheme#flatten(s:p)
|
||||||
@@ -223,7 +223,8 @@ OPTIONS *lightline-option*
|
|||||||
The colorscheme for lightline.vim.
|
The colorscheme for lightline.vim.
|
||||||
Currently, wombat, solarized, powerline, jellybeans, Tomorrow,
|
Currently, wombat, solarized, powerline, jellybeans, Tomorrow,
|
||||||
Tomorrow_Night, Tomorrow_Night_Blue, Tomorrow_Night_Eighties,
|
Tomorrow_Night, Tomorrow_Night_Blue, Tomorrow_Night_Eighties,
|
||||||
PaperColor, seoul256, landscape, one, Dracula, Molokai and 16color are available.
|
PaperColor, seoul256, landscape, one, Dracula, darcula,
|
||||||
|
Molokai and 16color are available.
|
||||||
The default value is:
|
The default value is:
|
||||||
>
|
>
|
||||||
let g:lightline.colorscheme = 'default'
|
let g:lightline.colorscheme = 'default'
|
||||||
|
|||||||
Reference in New Issue
Block a user