From ce2b0bc588cb9d9daa1dba0a21faae74a3d1177d Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sat, 6 Jul 2013 00:41:59 +0000 Subject: [PATCH] update dark and light themes --- autoload/airline/themes/dark.vim | 21 ++++++++++++--------- autoload/airline/themes/light.vim | 21 ++++++++++++--------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/autoload/airline/themes/dark.vim b/autoload/airline/themes/dark.vim index 3f09f9f..68df62a 100644 --- a/autoload/airline/themes/dark.vim +++ b/autoload/airline/themes/dark.vim @@ -10,9 +10,10 @@ let g:airline#themes#dark#normal = { \ 'file': [ '#ff0000' , '#1c1c1c' , 160 , 233 , '' ] , \ 'inactive': [ '#4e4e4e' , '#1c1c1c' , 239 , 234 , '' ] , \ } -let g:airline#themes#dark#normal_modified = copy(g:airline#themes#dark#normal) -let g:airline#themes#dark#normal_modified.info_separator = [ '#444444' , '#5f005f' , 238 , 53 , '' ] -let g:airline#themes#dark#normal_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] +let g:airline#themes#dark#normal_modified = { + \ 'info_separator': [ '#444444' , '#5f005f' , 238 , 53 , '' ] , + \ 'statusline': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] , + \ } let s:I1 = [ '#00005f' , '#00dfff' , 17 , 45 ] let s:I2 = [ '#ffffff' , '#005fff' , 255 , 27 ] @@ -24,9 +25,10 @@ let g:airline#themes#dark#insert = { \ 'info_separator': [ s:I2[1] , s:I3[1] , s:I2[3] , s:I3[3] , 'bold' ] , \ 'statusline': [ s:I3[0] , s:I3[1] , s:I3[2] , s:I3[3] , '' ] , \ } -let g:airline#themes#dark#insert_modified = copy(g:airline#themes#dark#insert) -let g:airline#themes#dark#insert_modified.info_separator = [ '#005fff' , '#5f005f' , 27 , 53 , '' ] -let g:airline#themes#dark#insert_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] +let g:airline#themes#dark#insert_modified = { + \ 'info_separator': [ '#005fff' , '#5f005f' , 27 , 53 , '' ] , + \ 'statusline': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] , + \ } let s:V1 = [ '#000000' , '#ffaf00' , 232 , 214 ] let s:V2 = [ '#000000' , '#ff5f00' , 232 , 202 ] @@ -38,6 +40,7 @@ let g:airline#themes#dark#visual = { \ 'info_separator': [ s:V2[1] , s:V3[1] , s:V2[3] , s:V3[3] , 'bold' ] , \ 'statusline': [ s:V3[0] , s:V3[1] , s:V3[2] , s:V3[3] , '' ] , \ } -let g:airline#themes#dark#visual_modified = copy(g:airline#themes#dark#visual) -let g:airline#themes#dark#visual_modified.info_separator = [ '#ff5f00' , '#5f005f' , 202 , 53 , '' ] -let g:airline#themes#dark#visual_modified.statusline = [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] +let g:airline#themes#dark#visual_modified = { + \ 'info_separator': [ '#ff5f00' , '#5f005f' , 202 , 53 , '' ] , + \ 'statusline': [ '#ffffff' , '#5f005f' , 255 , 53 , '' ] , + \ } diff --git a/autoload/airline/themes/light.vim b/autoload/airline/themes/light.vim index 7ef0620..d0843b2 100644 --- a/autoload/airline/themes/light.vim +++ b/autoload/airline/themes/light.vim @@ -10,9 +10,10 @@ let g:airline#themes#light#normal = { \ 'file': [ '#df0000' , '#ffffff' , 160 , 255 , '' ] , \ 'inactive': [ '#9e9e9e' , '#ffffff' , 247 , 255 , '' ] , \ } -let g:airline#themes#light#normal_modified = copy(g:airline#themes#light#normal) -let g:airline#themes#light#normal_modified.info_separator = [ '#00dfff' , '#ffdfdf' , 45 , 224 , '' ] -let g:airline#themes#light#normal_modified.statusline = [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] +let g:airline#themes#light#normal_modified = { + \ 'info_separator': [ '#00dfff' , '#ffdfdf' , 45 , 224 , '' ] , + \ 'statusline': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , + \ } let s:I1 = [ '#ffffff' , '#00875f' , 255 , 29 ] let s:I2 = [ '#005f00' , '#00df87' , 22 , 42 ] @@ -24,9 +25,10 @@ let g:airline#themes#light#insert = { \ 'info_separator': [ s:I2[1] , s:I3[1] , s:I2[3] , s:I3[3] , 'bold' ] , \ 'statusline': [ s:I3[0] , s:I3[1] , s:I3[2] , s:I3[3] , '' ] , \ } -let g:airline#themes#light#insert_modified = copy(g:airline#themes#light#insert) -let g:airline#themes#light#insert_modified.info_separator = [ '#00df87' , '#ffdfdf' , 42 , 224 , '' ] -let g:airline#themes#light#insert_modified.statusline = [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] +let g:airline#themes#light#insert_modified = { + \ 'info_separator': [ '#00df87' , '#ffdfdf' , 42 , 224 , '' ] , + \ 'statusline': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , + \ } let s:V1 = [ '#ffffff' , '#ff5f00' , 255 , 202 ] let s:V2 = [ '#5f0000' , '#ffaf00' , 52 , 214 ] @@ -38,6 +40,7 @@ let g:airline#themes#light#visual = { \ 'info_separator': [ s:V2[1] , s:V3[1] , s:V2[3] , s:V3[3] , 'bold' ] , \ 'statusline': [ s:V3[0] , s:V3[1] , s:V3[2] , s:V3[3] , '' ] , \ } -let g:airline#themes#light#visual_modified = copy(g:airline#themes#light#visual) -let g:airline#themes#light#visual_modified.info_separator = [ '#ffaf00' , '#ffdfdf' , 214 , 224 , '' ] -let g:airline#themes#light#visual_modified.statusline = [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] +let g:airline#themes#light#visual_modified = { + \ 'info_separator': [ '#ffaf00' , '#ffdfdf' , 214 , 224 , '' ] , + \ 'statusline': [ '#df0000' , '#ffdfdf' , 160 , 224 , '' ] , + \ }