2013-07-25 09:41:03 -04:00
|
|
|
" vim-airline companion theme of Luna
|
2013-07-27 14:51:58 -04:00
|
|
|
" (https://github.com/Pychimp/vim-luna)
|
2013-07-25 09:41:03 -04:00
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette = {}
|
2013-08-17 23:25:24 -04:00
|
|
|
let s:file = [ '#ffffff' , '' , 231 , '' , '' ]
|
2013-08-17 20:59:49 -04:00
|
|
|
|
|
|
|
|
2013-08-17 23:25:24 -04:00
|
|
|
let s:N1 = [ '#ffffff' , '#005252' , 231 , 36 ]
|
|
|
|
let s:N2 = [ '#ffffff' , '#003f3f' , 231 , 29 ]
|
|
|
|
let s:N3 = [ '#ffffff' , '#002b2b' , 231 , 23 ]
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file)
|
|
|
|
let g:airline#themes#luna#palette.normal_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#ffffff' , '#450000' , 231 , 52 , '' ] ,
|
2013-07-25 09:41:03 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
|
2013-08-17 23:25:24 -04:00
|
|
|
let s:I1 = [ '#ffffff' , '#789f00' , 231 , 106 ]
|
|
|
|
let s:I2 = [ '#ffffff' , '#003f3f' , 231 , 29 ]
|
|
|
|
let s:I3 = [ '#ffffff' , '#002b2b' , 231 , 23 ]
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3, s:file)
|
|
|
|
let g:airline#themes#luna#palette.insert_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#ffffff' , '#005e5e' , 255 , 52 , '' ] ,
|
2013-07-25 09:41:03 -04:00
|
|
|
\ }
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette.insert_paste = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_a': [ s:I1[0] , '#789f00' , s:I1[2] , 106 , '' ] ,
|
2013-07-25 09:41:03 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette.replace = copy(g:airline#themes#luna#palette.insert)
|
|
|
|
let g:airline#themes#luna#palette.replace.airline_a = [ s:I2[0] , '#920000' , s:I2[2] , 88 , '' ]
|
|
|
|
let g:airline#themes#luna#palette.replace_modified = g:airline#themes#luna#palette.insert_modified
|
2013-07-25 09:41:03 -04:00
|
|
|
|
|
|
|
let s:V1 = [ '#ffff9a' , '#ff8036' , 222 , 208 ]
|
|
|
|
let s:V2 = [ '#ffffff' , '#003f3f' , 231 , 29 ]
|
|
|
|
let s:V3 = [ '#ffffff' , '#002b2b' , 231 , 23 ]
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3, s:file)
|
|
|
|
let g:airline#themes#luna#palette.visual_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c': [ '#ffffff' , '#450000' , 231 , 52 , '' ] ,
|
2013-07-25 09:41:03 -04:00
|
|
|
\ }
|
|
|
|
|
|
|
|
let s:IA = [ '#4e4e4e' , '#002b2b' , 59 , 23 , '' ]
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#luna#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
2013-08-11 16:13:04 -04:00
|
|
|
|
2013-07-27 14:51:58 -04:00
|
|
|
|
2013-08-26 11:17:24 -04:00
|
|
|
if !get(g:, 'loaded_ctrlp', 0)
|
|
|
|
finish
|
2013-07-27 16:16:13 -04:00
|
|
|
endif
|
2013-08-26 11:17:24 -04:00
|
|
|
let g:airline#themes#luna#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
|
|
|
\ [ '#ffffff' , '#002b2b' , 231 , 23 , '' ] ,
|
|
|
|
\ [ '#ffffff' , '#005252' , 231 , 36 , '' ] ,
|
|
|
|
\ [ '#ffffff' , '#973d45' , 231 , 95 , '' ] )
|
2013-09-05 13:01:36 -04:00
|
|
|
|
|
|
|
let g:airline#themes#luna#palette.tabline = {
|
|
|
|
\ 'airline_tab': ['#2aa198', '#003f3f', 88, 208, ''],
|
|
|
|
\ 'airline_tabsel': ['#ffffff', '#787800', 88, 208, ''],
|
|
|
|
\ 'airline_tabtype': ['#2aa198', '#003f3f', 88, 208, ''],
|
|
|
|
\ 'airline_tabfill': ['#ffffff', '#002b2b', 88, 208, ''],
|
|
|
|
\ 'airline_tabmod': ['#ffffff', '#780000', 88, 208, ''],
|
|
|
|
\ }
|
|
|
|
|
|
|
|
" 'airline_tabsel': ['#ffffff', '#3d9762', 88, 208, ''],
|