mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-05 00:13:34 +08:00
implement light colorscheme
This commit is contained in:
parent
c2541dd9a9
commit
72a201e618
|
@ -1,7 +1,7 @@
|
|||
let s:N1 = [ '#00005f' , '#dfff00' , 17 , 190 ]
|
||||
let s:N2 = [ '#ffffff' , '#444444' , 255 , 238 ]
|
||||
let s:N3 = [ '#9cffd3' , '#202020' , 85 , 234 ]
|
||||
let g:airline#themes#default#normal = {
|
||||
let g:airline#themes#dark#normal = {
|
||||
\ 'mode': [ s:N1[0] , s:N1[1] , s:N1[2] , s:N1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:N1[1] , s:N2[1] , s:N1[3] , s:N2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:N2[0] , s:N2[1] , s:N2[2] , s:N2[3] , '' ] ,
|
||||
|
@ -10,34 +10,34 @@ let g:airline#themes#default#normal = {
|
|||
\ 'file': [ '#ff0000' , '#1c1c1c' , 160 , 233 , '' ] ,
|
||||
\ 'inactive': [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#default#normal_modified = copy(g:airline#themes#default#normal)
|
||||
let g:airline#themes#default#normal_modified.info_separator = [ '#444444' , '#5f005f' , 238 , 53 , '' ]
|
||||
let g:airline#themes#default#normal_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
|
||||
let g:airline#themes#dark#normal_modified = copy(g:airline#themes#dark#normal)
|
||||
let g:airline#themes#dark#normal_modified.info_separator = [ '#444444' , '#5f005f' , 238 , 53 , '' ]
|
||||
let g:airline#themes#dark#normal_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
|
||||
|
||||
let s:I1 = [ '#00005f' , '#00dfff' , 17 , 45 ]
|
||||
let s:I2 = [ '#ffffff' , '#005fff' , 255 , 27 ]
|
||||
let s:I3 = [ '#ffffff' , '#000080' , 15 , 17 ]
|
||||
let g:airline#themes#default#insert = {
|
||||
let g:airline#themes#dark#insert = {
|
||||
\ 'mode': [ s:I1[0] , s:I1[1] , s:I1[2] , s:I1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:I1[1] , s:I2[1] , s:I1[3] , s:I2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:I2[0] , s:I2[1] , s:I2[2] , s:I2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:I2[1] , s:I3[1] , s:I2[3] , s:I3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:I3[0] , s:I3[1] , s:I3[2] , s:I3[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#default#insert_modified = copy(g:airline#themes#default#insert)
|
||||
let g:airline#themes#default#insert_modified.info_separator = [ '#005fff' , '#5f005f' , 27 , 53 , '' ]
|
||||
let g:airline#themes#default#insert_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
|
||||
let g:airline#themes#dark#insert_modified = copy(g:airline#themes#dark#insert)
|
||||
let g:airline#themes#dark#insert_modified.info_separator = [ '#005fff' , '#5f005f' , 27 , 53 , '' ]
|
||||
let g:airline#themes#dark#insert_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
|
||||
|
||||
let s:V1 = [ '#000000' , '#ffaf00' , 232 , 214 ]
|
||||
let s:V2 = [ '#000000' , '#ff5f00' , 232 , 202 ]
|
||||
let s:V3 = [ '#ffffff' , '#5f0000' , 15 , 52 ]
|
||||
let g:airline#themes#default#visual = {
|
||||
let g:airline#themes#dark#visual = {
|
||||
\ 'mode': [ s:V1[0] , s:V1[1] , s:V1[2] , s:V1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:V1[1] , s:V2[1] , s:V1[3] , s:V2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:V2[0] , s:V2[1] , s:V2[2] , s:V2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:V2[1] , s:V3[1] , s:V2[3] , s:V3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:V3[0] , s:V3[1] , s:V3[2] , s:V3[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#default#visual_modified = copy(g:airline#themes#default#visual)
|
||||
let g:airline#themes#default#visual_modified.info_separator = [ '#ff5f00' , '#5f005f' , 202 , 53 , '' ]
|
||||
let g:airline#themes#default#visual_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
|
||||
let g:airline#themes#dark#visual_modified = copy(g:airline#themes#dark#visual)
|
||||
let g:airline#themes#dark#visual_modified.info_separator = [ '#ff5f00' , '#5f005f' , 202 , 53 , '' ]
|
||||
let g:airline#themes#dark#visual_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ]
|
43
autoload/airline/themes/light.vim
Normal file
43
autoload/airline/themes/light.vim
Normal file
|
@ -0,0 +1,43 @@
|
|||
let s:N1 = [ '#ffffff' , '#005fff' , 255 , 27 ]
|
||||
let s:N2 = [ '#000087' , '#00dfff' , 18 , 45 ]
|
||||
let s:N3 = [ '#005fff' , '#afffff' , 27 , 159 ]
|
||||
let g:airline#themes#light#normal = {
|
||||
\ 'mode': [ s:N1[0] , s:N1[1] , s:N1[2] , s:N1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:N1[1] , s:N2[1] , s:N1[3] , s:N2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:N2[0] , s:N2[1] , s:N2[2] , s:N2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:N3[0] , s:N3[1] , s:N3[2] , s:N3[3] , '' ] ,
|
||||
\ 'file': [ '#df0000' , '#ffffff' , 160 , 255 , '' ] ,
|
||||
\ 'inactive': [ '#9e9e9e' , '#ffffff' , 247 , 255 , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#light#normal_modified = copy(g:airline#themes#light#normal)
|
||||
let g:airline#themes#light#normal_modified.info_separator = [ '#00dfff' , '#ffdfdf' , 45 , 224 , '' ]
|
||||
let g:airline#themes#light#normal_modified.statusline = [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ]
|
||||
|
||||
let s:I1 = [ '#ffffff' , '#00875f' , 255 , 29 ]
|
||||
let s:I2 = [ '#005f00' , '#00df87' , 22 , 42 ]
|
||||
let s:I3 = [ '#005f5f' , '#afff87' , 23 , 156 ]
|
||||
let g:airline#themes#light#insert = {
|
||||
\ 'mode': [ s:I1[0] , s:I1[1] , s:I1[2] , s:I1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:I1[1] , s:I2[1] , s:I1[3] , s:I2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:I2[0] , s:I2[1] , s:I2[2] , s:I2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:I2[1] , s:I3[1] , s:I2[3] , s:I3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:I3[0] , s:I3[1] , s:I3[2] , s:I3[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#light#insert_modified = copy(g:airline#themes#light#insert)
|
||||
let g:airline#themes#light#insert_modified.info_separator = [ '#00df87' , '#ffdfdf' , 42 , 224 , '' ]
|
||||
let g:airline#themes#light#insert_modified.statusline = [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ]
|
||||
|
||||
let s:V1 = [ '#5f0000' , '#ff5f00' , 52 , 202 ]
|
||||
let s:V2 = [ '#5f0000' , '#ffaf00' , 52 , 214 ]
|
||||
let s:V3 = [ '#df5f00' , '#ffff87' , 166 , 228 ]
|
||||
let g:airline#themes#light#visual = {
|
||||
\ 'mode': [ s:V1[0] , s:V1[1] , s:V1[2] , s:V1[3] , 'bold' ] ,
|
||||
\ 'mode_separator': [ s:V1[1] , s:V2[1] , s:V1[3] , s:V2[3] , 'bold' ] ,
|
||||
\ 'info': [ s:V2[0] , s:V2[1] , s:V2[2] , s:V2[3] , '' ] ,
|
||||
\ 'info_separator': [ s:V2[1] , s:V3[1] , s:V2[3] , s:V3[3] , 'bold' ] ,
|
||||
\ 'statusline': [ s:V3[0] , s:V3[1] , s:V3[2] , s:V3[3] , '' ] ,
|
||||
\ }
|
||||
let g:airline#themes#light#visual_modified = copy(g:airline#themes#light#visual)
|
||||
let g:airline#themes#light#visual_modified.info_separator = [ '#ffaf00' , '#ffdfdf' , 214 , 224 , '' ]
|
||||
let g:airline#themes#light#visual_modified.statusline = [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ]
|
|
@ -19,7 +19,7 @@ call s:check_defined('g:airline_enable_syntastic', 1)
|
|||
call s:check_defined('g:airline_fugitive_prefix', exists('g:airline_powerline_fonts')?' ':'')
|
||||
call s:check_defined('g:airline_readonly_symbol', exists('g:airline_powerline_fonts')?'':'RO')
|
||||
call s:check_defined('g:airline_linecolumn_prefix', exists('g:airline_powerline_fonts')?' ':':')
|
||||
call s:check_defined('g:airline_theme', 'default')
|
||||
call s:check_defined('g:airline_theme', 'light')
|
||||
call s:check_defined('g:airline_modified_detection', 1)
|
||||
call s:check_defined('g:airline_exclude_filenames', ['DebuggerWatch','DebuggerStack','DebuggerStatus'])
|
||||
call s:check_defined('g:airline_exclude_filetypes', ['qf','netrw','diff','undotree','gundo','nerdtree','tagbar'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user