mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-28 11:36:47 +08:00
47fd63586c
- Raven (for Dark colorschemes) - Silver (for Light colorschemes)
89 lines
3.9 KiB
VimL
89 lines
3.9 KiB
VimL
let g:airline#themes#silver#palette = {}
|
|
|
|
" TODO: Using GUI values, the cterm values must be set
|
|
let g:airline#themes#silver#palette.accents = {
|
|
\ 'red': [ '#ff2121' , '' , 196 , '' , '' ],
|
|
\ }
|
|
|
|
let s:N1 = [ '#414141' , '#e1e1e1' , 59 , 188 ]
|
|
let s:N2 = [ '#414141' , '#e1e1e1' , 59 , 188 ]
|
|
let s:N3 = [ '#414141' , '#e1e1e1' , 59 , 188 ]
|
|
let g:airline#themes#silver#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
|
let g:airline#themes#silver#palette.normal_modified = {
|
|
\ 'airline_c': [ '#e25000' , '#e1e1e1' , 166 , 188 , '' ] ,
|
|
\ }
|
|
|
|
let s:I1 = [ '#0d935c' , '#e1e1e1' , 29 , 188 ]
|
|
let s:I2 = [ '#0d935c' , '#e1e1e1' , 29 , 188 ]
|
|
let s:I3 = [ '#0d935c' , '#e1e1e1' , 29 , 188 ]
|
|
let g:airline#themes#silver#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
|
let g:airline#themes#silver#palette.insert_modified = {
|
|
\ 'airline_c': [ '#e25000' , '#e1e1e1' , 166 , 188 , '' ] ,
|
|
\ }
|
|
let g:airline#themes#silver#palette.insert_paste = {
|
|
\ 'airline_a': [ s:I1[0] , '#e1e1e1' , s:I1[2] , 188 , '' ] ,
|
|
\ }
|
|
|
|
let g:airline#themes#silver#palette.replace = copy(g:airline#themes#silver#palette.insert)
|
|
let g:airline#themes#silver#palette.replace.airline_a = [ '#b30000' , s:I1[1] , 124 , s:I1[3] , '' ]
|
|
let g:airline#themes#silver#palette.replace.airline_z = [ '#b30000' , s:I1[1] , 124 , s:I1[3] , '' ]
|
|
let g:airline#themes#silver#palette.replace_modified = g:airline#themes#silver#palette.insert_modified
|
|
|
|
let s:V1 = [ '#0000b3' , '#e1e1e1' , 19 , 188 ]
|
|
let s:V2 = [ '#0000b3' , '#e1e1e1' , 19 , 188 ]
|
|
let s:V3 = [ '#0000b3' , '#e1e1e1' , 19 , 188 ]
|
|
let g:airline#themes#silver#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
|
let g:airline#themes#silver#palette.visual_modified = {
|
|
\ 'airline_c': [ '#e25000' , '#e1e1e1' , 166 , 188 , '' ] ,
|
|
\ }
|
|
|
|
let s:IA = [ '#a1a1a1' , '#dddddd' , 145 , 188 , '' ]
|
|
let g:airline#themes#silver#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
|
let g:airline#themes#silver#palette.inactive_modified = {
|
|
\ 'airline_c': [ '#e25000' , '' , 166 , '' , '' ] ,
|
|
\ }
|
|
|
|
" TODO: Tabs colors need to be converted from Sol to minimal ones
|
|
" TODO: add cterm from here
|
|
let g:airline#themes#silver#palette.tabline = {
|
|
\ 'airline_tab': ['#414141' , '#e1e1e1' , 59 , 188 , '' ],
|
|
\ 'airline_tabsel': ['#e1e1e1' , '#007599' , 188 , 30 , '' ],
|
|
\ 'airline_tabtype': ['#414141' , '#e1e1e1' , 59 , 188 , '' ],
|
|
\ 'airline_tabfill': ['#414141' , '#e1e1e1' , 59 , 188 , '' ],
|
|
\ 'airline_tabmod': ['#e1e1e1' , '#007599' , 188 , 30 , '' ],
|
|
\ }
|
|
|
|
let s:WI = [ '#ff0000', '#e1e1e1', 196, 188 ]
|
|
let g:airline#themes#silver#palette.normal.airline_warning = [
|
|
\ s:WI[0], s:WI[1], s:WI[2], s:WI[3]
|
|
\ ]
|
|
|
|
let g:airline#themes#silver#palette.normal_modified.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
let g:airline#themes#silver#palette.insert.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
let g:airline#themes#silver#palette.insert_modified.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
let g:airline#themes#silver#palette.visual.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
let g:airline#themes#silver#palette.visual_modified.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
let g:airline#themes#silver#palette.replace.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
let g:airline#themes#silver#palette.replace_modified.airline_warning =
|
|
\ g:airline#themes#silver#palette.normal.airline_warning
|
|
|
|
if !get(g:, 'loaded_ctrlp', 0)
|
|
finish
|
|
endif
|
|
let g:airline#themes#silver#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
|
\ [ '#414141' , '#e1e1e1' , 59 , 188 , '' ] ,
|
|
\ [ '#414141' , '#e1e1e1' , 59 , 188 , '' ] ,
|
|
\ [ '#e1e1e1' , '#007599' , 188 , 30 , '' ] )
|