diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-30 09:11:59 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-30 09:11:59 +0200 |
commit | fb69d8089a49fdc06800ecc839bcde6bb08f14b0 (patch) | |
tree | 246a4395c9d09d4607fe014ced7b8f93c877d971 | |
parent | 952d557638bf5c3936e2cd94fd746bc0a244efea (diff) |
airline-theme
-rw-r--r-- | .vim/autoload/airline/themes/pks256.vim | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.vim/autoload/airline/themes/pks256.vim b/.vim/autoload/airline/themes/pks256.vim new file mode 100644 index 0000000..1edb680 --- /dev/null +++ b/.vim/autoload/airline/themes/pks256.vim @@ -0,0 +1,45 @@ +let g:airline#themes#pks256#palette = {} + +let s:N1 = [ '#ffffff' , '#005fff' , 255 , 5 ] +let s:N2 = [ '#000087' , '#00dfff' , 255 , 8 ] +let s:N3 = [ '#005fff' , '#afffff' , 0 , 252 ] +let g:airline#themes#pks256#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) +let g:airline#themes#pks256#palette.normal_modified = { + \ 'airline_c': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , + \ } + + +let s:I1 = [ '#ffffff' , '#00875f' , 255 , 1 ] +let s:I2 = [ '#005f00' , '#00df87' , 255 , 8 ] +let s:I3 = [ '#005f5f' , '#afff87' , 0 , 252 ] +let g:airline#themes#pks256#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) +let g:airline#themes#pks256#palette.insert_modified = { + \ 'airline_c': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , + \ } +let g:airline#themes#pks256#palette.insert_paste = { + \ 'airline_a': [ s:I1[0] , '#d78700' , s:I1[2] , 172 , '' ] , + \ } + + +let g:airline#themes#pks256#palette.replace = copy(g:airline#themes#pks256#palette.insert) +let g:airline#themes#pks256#palette.replace.airline_a = [ s:I2[0] , '#ff0000' , s:I1[2] , 196 , '' ] +let g:airline#themes#pks256#palette.replace_modified = g:airline#themes#pks256#palette.insert_modified + + +let s:V1 = [ '#ffffff' , '#ff5f00' , 255 , 2 ] +let s:V2 = [ '#5f0000' , '#ffaf00' , 255 , 8 ] +let s:V3 = [ '#df5f00' , '#ffff87' , 0 , 252 ] +let g:airline#themes#pks256#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) +let g:airline#themes#pks256#palette.visual_modified = { + \ 'airline_c': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , + \ } + + +let s:IA1 = [ '#666666' , '#b2b2b2' , 242 , 249 , '' ] +let s:IA2 = [ '#8a8a8a' , '#d0d0d0' , 245 , 252 , '' ] +let s:IA3 = [ '#a8a8a8' , '#ffffff' , 248 , 255 , '' ] +let g:airline#themes#pks256#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) +let g:airline#themes#pks256#palette.inactive_modified = { + \ 'airline_c': [ '#df0000' , '' , 160 , '' , '' ] , + \ } + |