From 285b4da3e5bf0afca6f2da0523cf5e51c5b04847 Mon Sep 17 00:00:00 2001 From: Alessandro Di Martino Date: Fri, 13 Dec 2013 17:40:52 +0100 Subject: [PATCH 1/2] Add kolor theme --- autoload/airline/themes/kolor.vim | 59 +++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 autoload/airline/themes/kolor.vim diff --git a/autoload/airline/themes/kolor.vim b/autoload/airline/themes/kolor.vim new file mode 100644 index 0000000..c04ee35 --- /dev/null +++ b/autoload/airline/themes/kolor.vim @@ -0,0 +1,59 @@ +let g:airline#themes#kolor#palette = {} + +let s:N1 = [ '#e2e2e2' , '#4f3598' , 254 , 56 ] +let s:N2 = [ '#ff5fd7' , '#242322' , 206 , 234 ] +let s:N3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] + +let g:airline#themes#kolor#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) + +let g:airline#themes#kolor#palette.normal_modified = { + \ 'airline_c': [ '#e2e2e2' , '#4f3598' , 254 , 56 , '' ] , + \ } + + +let s:I1 = [ '#242322' , '#7eaefd' , 234 , 111 ] +let s:I2 = [ '#b2b2b2' , '#242322' , 247 , 234 ] +let s:I3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] +let g:airline#themes#kolor#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) +let g:airline#themes#kolor#palette.insert_modified = { + \ 'airline_c': [ '#242322' , '#7eaefd' , 234 , 111 , '' ] , + \ } + + +let g:airline#themes#kolor#palette.replace = copy(g:airline#themes#kolor#palette.insert) +let g:airline#themes#kolor#palette.replace.airline_a = [ s:I2[0] , '#005154' , s:I2[2] , 23 , '' ] +let g:airline#themes#kolor#palette.replace_modified = { + \ 'airline_c': [ '#e2e2e2' , '#005154' , 254 , 23 , '' ] , + \ } + + +let s:V1 = [ '#242322' , '#e6987a' , 234 , 180 ] +let s:V2 = [ '#b2b2b2' , '#242322' , 247 , 234 ] +let s:V3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] +let g:airline#themes#kolor#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) +let g:airline#themes#kolor#palette.visual_modified = { + \ 'airline_c': [ '#242322' , '#e6987a' , 234 , 180 , '' ] , + \ } + + +let s:IA1 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 , '' ] +let s:IA2 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] +let s:IA3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 , '' ] +let g:airline#themes#kolor#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) +let g:airline#themes#kolor#palette.inactive_modified = { + \ 'airline_c': [ '#875faf' , '' , 97 , '' , '' ] , + \ } + + +let g:airline#themes#kolor#palette.accents = { + \ 'red': [ '#d96e8a' , '' , 168 , '' ] + \ } + + +if !get(g:, 'loaded_ctrlp', 0) + finish +endif +let g:airline#themes#kolor#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( + \ [ '#b2b2b2' , '#4a4a4a' , 247 , 238 , '' ], + \ [ '#b2b2b2' , '#242322' , 247 , 234 , '' ], + \ [ '#e2e2e2' , '#4f3598' , 254 , 56 , 'bold' ]) From 7c10cfa73ee1a89e153733fedaadc086ae17c038 Mon Sep 17 00:00:00 2001 From: Alessandro Di Martino Date: Fri, 13 Dec 2013 21:50:00 +0100 Subject: [PATCH 2/2] Improve some colors --- autoload/airline/themes/kolor.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/autoload/airline/themes/kolor.vim b/autoload/airline/themes/kolor.vim index c04ee35..e61f56f 100644 --- a/autoload/airline/themes/kolor.vim +++ b/autoload/airline/themes/kolor.vim @@ -2,7 +2,7 @@ let g:airline#themes#kolor#palette = {} let s:N1 = [ '#e2e2e2' , '#4f3598' , 254 , 56 ] let s:N2 = [ '#ff5fd7' , '#242322' , 206 , 234 ] -let s:N3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] +let s:N3 = [ '#e2e2e2' , '#4a4a4a' , 254 , 238 ] let g:airline#themes#kolor#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) @@ -12,8 +12,8 @@ let g:airline#themes#kolor#palette.normal_modified = { let s:I1 = [ '#242322' , '#7eaefd' , 234 , 111 ] -let s:I2 = [ '#b2b2b2' , '#242322' , 247 , 234 ] -let s:I3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] +let s:I2 = [ '#75d7d8' , '#242322' , 80 , 234 ] +let s:I3 = [ '#e2e2e2' , '#4a4a4a' , 254 , 238 ] let g:airline#themes#kolor#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) let g:airline#themes#kolor#palette.insert_modified = { \ 'airline_c': [ '#242322' , '#7eaefd' , 234 , 111 , '' ] , @@ -28,8 +28,8 @@ let g:airline#themes#kolor#palette.replace_modified = { let s:V1 = [ '#242322' , '#e6987a' , 234 , 180 ] -let s:V2 = [ '#b2b2b2' , '#242322' , 247 , 234 ] -let s:V3 = [ '#b2b2b2' , '#4a4a4a' , 247 , 238 ] +let s:V2 = [ '#dbc570' , '#242322' , 186 , 234 ] +let s:V3 = [ '#e2e2e2' , '#4a4a4a' , 254 , 238 ] let g:airline#themes#kolor#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) let g:airline#themes#kolor#palette.visual_modified = { \ 'airline_c': [ '#242322' , '#e6987a' , 234 , 180 , '' ] , @@ -54,6 +54,6 @@ if !get(g:, 'loaded_ctrlp', 0) finish endif let g:airline#themes#kolor#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( - \ [ '#b2b2b2' , '#4a4a4a' , 247 , 238 , '' ], - \ [ '#b2b2b2' , '#242322' , 247 , 234 , '' ], + \ [ '#e2e2e2' , '#4a4a4a' , 254 , 238 , '' ], + \ [ '#e2e2e2' , '#242322' , 254 , 234 , '' ], \ [ '#e2e2e2' , '#4f3598' , 254 , 56 , 'bold' ])