From 8363441967c1dd07d621b56293617d49f6265807 Mon Sep 17 00:00:00 2001 From: Carlos Yaconi H Date: Tue, 26 Apr 2016 17:46:15 -0300 Subject: [PATCH] Port cool's gui colors to cterm colors --- autoload/airline/themes/cool.vim | 40 +++++++++++++++++--------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/autoload/airline/themes/cool.vim b/autoload/airline/themes/cool.vim index 2c7c157..83abdb1 100644 --- a/autoload/airline/themes/cool.vim +++ b/autoload/airline/themes/cool.vim @@ -1,18 +1,18 @@ let g:airline#themes#cool#palette = {} " NORMAL -let s:N1 = [ '#585858' , '#E4E4E4' , 17 , 190 ] -let s:N2 = [ '#E4E4E4' , '#0087AF' , 255 , 238 ] -let s:N3 = [ '#EEEEEE' , '#005F87' , 85 , 234 ] +let s:N1 = [ '#585858' , '#E4E4E4' , 59 , 188 ] +let s:N2 = [ '#E4E4E4' , '#0087AF' , 188 , 31 ] +let s:N3 = [ '#EEEEEE' , '#005F87' , 231 , 24] let g:airline#themes#cool#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) "let g:airline#themes#cool#palette.normal_modified = { "\ 'airline_c': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] , "\ } " INSERT -let s:I1 = [ '#585858' , '#E4E4E4' , 17 , 45 ] -let s:I2 = [ '#E4E4E4' , '#47AF00' , 255 , 27 ] -let s:I3 = [ '#EEEEEE' , '#2E8700' , 15 , 17 ] +let s:I1 = [ '#585858' , '#E4E4E4' , 59 , 188 ] +let s:I2 = [ '#E4E4E4' , '#47AF00' , 188 , 70 ] +let s:I3 = [ '#EEEEEE' , '#2E8700' , 231 , 28 ] let g:airline#themes#cool#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) "let g:airline#themes#cool#palette.insert_modified = { "\ 'airline_c': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] , @@ -22,26 +22,26 @@ let g:airline#themes#cool#palette.insert = airline#themes#generate_color_map(s:I "\ } " REPLACE -let s:R1 = [ '#585858' , '#E4E4E4' , 17 , 45 ] -let s:R2 = [ '#E4E4E4' , '#AF5F00' , 255 , 27 ] -let s:R3 = [ '#EEEEEE' , '#875300' , 15 , 17 ] +let s:R1 = [ '#585858' , '#E4E4E4' , 59 , 188 ] +let s:R2 = [ '#E4E4E4' , '#AF5F00' , 188 , 130 ] +let s:R3 = [ '#EEEEEE' , '#875300' , 231 , 94 ] let g:airline#themes#cool#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) "let g:airline#themes#cool#palette.replace.airline_a = [ s:I2[0] , '#af0000' , s:I2[2] , 124 , '' ] "let g:airline#themes#cool#palette.replace_modified = g:airline#themes#cool#palette.insert_modified " VISUAL -let s:V1 = [ '#585858' , '#E4E4E4' , 232 , 214 ] -let s:V2 = [ '#E4E4E4' , '#AF2800' , 232 , 202 ] -let s:V3 = [ '#EEEEEE' , '#872800' , 15 , 52 ] +let s:V1 = [ '#585858' , '#E4E4E4' , 59 , 188 ] +let s:V2 = [ '#E4E4E4' , '#AF2800' , 188 , 124 ] +let s:V3 = [ '#EEEEEE' , '#872800' , 231 , 88 ] let g:airline#themes#cool#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) "let g:airline#themes#cool#palette.visual_modified = { "\ 'airline_c': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] , "\ } " INACTIVE -let s:IA1 = [ '#585858' , '#E4E4E4' , 239 , 234 , '' ] -let s:IA2 = [ '#E4E4E4' , '#466D79' , 239 , 235 , '' ] -let s:IA3 = [ '#EEEEEE' , '#324E59' , 239 , 236 , '' ] +let s:IA1 = [ '#585858' , '#E4E4E4' , 59 , 188 , '' ] +let s:IA2 = [ '#E4E4E4' , '#466D79' , 188 , 60 , '' ] +let s:IA3 = [ '#EEEEEE' , '#324E59' , 231 , 59 , '' ] let g:airline#themes#cool#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) "let g:airline#themes#cool#palette.inactive_modified = { "\ 'airline_c': [ '#875faf' , '' , 97 , '' , '' ] , @@ -49,7 +49,7 @@ let g:airline#themes#cool#palette.inactive = airline#themes#generate_color_map(s let g:airline#themes#cool#palette.accents = { - \ 'red': [ '#ff0000' , '' , 160 , '' ] + \ 'red': [ '#ff0000' , '' , 196 , '' ] \ } " CTRLP @@ -57,7 +57,9 @@ if !get(g:, 'loaded_ctrlp', 0) finish endif let g:airline#themes#cool#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( - \ [ '#E4E4E4' , '#00AFA2' , 231 , 98 , '' ], - \ [ '#EEEEEE' , '#008787' , 55 , 231 , '' ], - \ [ '#585858' , '#E4E4E4' , 189 , 55 , '' ]) + \ [ '#E4E4E4' , '#00AFA2' , 188 , 37 , '' ], + \ [ '#EEEEEE' , '#008787' , 231 , 30 , '' ], + \ [ '#585858' , '#E4E4E4' , 59 , 188 , '' ]) + +