From d26ca50a9743c235fb6b2d8a7feb80b09d09d1e8 Mon Sep 17 00:00:00 2001 From: Shohei Fujii Date: Sun, 8 Sep 2013 00:19:00 +0900 Subject: [PATCH] add new theme named 'serene' --- autoload/airline/themes/serene.vim | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 autoload/airline/themes/serene.vim diff --git a/autoload/airline/themes/serene.vim b/autoload/airline/themes/serene.vim new file mode 100644 index 0000000..69ab043 --- /dev/null +++ b/autoload/airline/themes/serene.vim @@ -0,0 +1,47 @@ +let g:airline#themes#serene#palette = {} + +let s:guibg = '#080808' +let s:termbg = 232 +let s:termsep = 236 +let s:guisep = '#303030' + +let s:file = [ '#ff0000' , s:guibg , 160 , s:termbg , '' ] +let s:N1 = [ '#00dfff' , s:guibg , 45 , s:termbg ] +let s:N2 = [ '#ff5f00' , s:guibg, 202 , s:termbg ] +let s:N3 = [ '#767676' , s:guibg, 7 , s:termbg ] + +let g:airline#themes#serene#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file) +let g:airline#themes#serene#palette.normal_modified = { + \ 'airline_c': [ '#df0000' , s:guibg, 160 , s:termbg , '' ] , + \ } + +let s:I1 = [ '#5fff00' , s:guibg, 82 , s:termbg ] +let s:I2 = [ '#ff5f00' , s:guibg, 202 , s:termbg ] +let s:I3 = [ '#767676' , s:guibg, 7 , s:termbg ] +let g:airline#themes#serene#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3, s:file) +let g:airline#themes#serene#palette.insert_modified = copy(g:airline#themes#serene#palette.normal_modified) +let g:airline#themes#serene#palette.insert_paste = { + \ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] , + \ } + +let g:airline#themes#serene#palette.replace = { + \ 'airline_a': [ s:I1[0] , '#af0000' , s:I1[2] , 124 , '' ] , + \ } +let g:airline#themes#serene#palette.replace_modified = copy(g:airline#themes#serene#palette.normal_modified) + +let s:V1 = [ '#dfdf00' , s:guibg, 184 , s:termbg ] +let s:V2 = [ '#ff5f00' , s:guibg, 202 , s:termbg ] +let s:V3 = [ '#767676' , s:guibg, 243 , s:termbg ] +let g:airline#themes#serene#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3, s:file) +let g:airline#themes#serene#palette.visual_modified = copy(g:airline#themes#serene#palette.normal_modified) + +let s:IA = [ '#4e4e4e' , s:guibg , 239 , s:termbg , '' ] +let s:IA2 = [ '#4e4e4e' , s:guisep , 239 , s:termsep , '' ] +let g:airline#themes#serene#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA2, s:IA2, s:file) +let g:airline#themes#serene#inactive_modified = copy(g:airline#themes#serene#palette.normal_modified) +"let g:airline#themes#simple#palette.inactive_modified = { +" \ 'airline_c': [ '#df0000', '', 160, '', '' ] , +" \ } + + +