2013-07-14 04:13:51 -04:00
|
|
|
" vim-airline companion theme of Ubaryd
|
|
|
|
" (https://github.com/Donearm/Ubaryd)
|
|
|
|
|
|
|
|
" Normal mode
|
|
|
|
let s:N1 = [ '#141413' , '#c7b386' , 232 , 252 ] " blackestgravel & bleaksand
|
|
|
|
let s:N2 = [ '#c7b386' , '#45413b' , 252, 238 ] " bleaksand & deepgravel
|
|
|
|
let s:N3 = [ '#b88853' , '#242321' , 137, 235 ] " toffee & darkgravel
|
|
|
|
let s:N4 = [ '#857f78' , 243 ] " gravel
|
|
|
|
|
|
|
|
" Insert mode
|
|
|
|
let s:I1 = [ '#1a1a18' , '#fade3e' , 232 , 221 ] " blackestgravel & warmcorn
|
|
|
|
let s:I2 = [ '#c7b386' , '#45413b' , 252 , 238 ] " bleaksand & deepgravel
|
|
|
|
let s:I3 = [ '#f4cf86' , '#242321' , 222 , 235 ] " lighttannedskin & darkgravel
|
2013-08-08 00:10:08 -04:00
|
|
|
|
2013-07-14 04:13:51 -04:00
|
|
|
" Visual mode
|
|
|
|
let s:V1 = [ '#1c1b1a' , '#9a4820' , 233 , 88 ] " blackgravel & warmadobe
|
|
|
|
let s:V2 = [ '#000000' , '#88633f' , 16 , 95 ] " coal & cappuccino
|
|
|
|
let s:V3 = [ '#88633f' , '#c7b386' , 95 , 252 ] " cappuccino & bleaksand
|
|
|
|
let s:V4 = [ '#c14c3d' , 160 ] " tannedumbrella
|
|
|
|
|
|
|
|
" Replace mode
|
|
|
|
let s:RE = [ '#c7915b' , 173 ] " nut
|
|
|
|
|
2013-08-08 00:10:08 -04:00
|
|
|
" Paste mode
|
2013-07-14 04:13:51 -04:00
|
|
|
let s:PA = [ '#f9ef6d' , 154 ] " bleaklemon
|
|
|
|
|
2013-08-10 09:43:12 -04:00
|
|
|
let s:file = [ '#ff7400' , '' , 196 , '' , '' ]
|
2013-08-17 15:20:40 -04:00
|
|
|
let s:IA = [ s:N2[1], s:N3[1], s:N2[3], s:N3[3], '' ]
|
2013-07-14 04:13:51 -04:00
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette = {}
|
|
|
|
let g:airline#themes#ubaryd#palette.inactive = {
|
|
|
|
\ 'airline_a' : [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , '' ] }
|
|
|
|
|
2013-07-14 04:13:51 -04:00
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3, s:file)
|
|
|
|
let g:airline#themes#ubaryd#palette.normal_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_a' : [ s:N2[0] , s:N4[0] , s:N2[2] , s:N4[1] , '' ] ,
|
|
|
|
\ 'airline_c' : [ s:V1[1] , s:N2[1] , s:V1[3] , s:N2[3] , '' ] }
|
2013-07-14 04:13:51 -04:00
|
|
|
|
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3, s:file)
|
|
|
|
let g:airline#themes#ubaryd#palette.insert_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c' : [ s:V2[1] , s:N2[1] , s:V2[3] , s:N2[3] , '' ] }
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.insert_paste = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_a' : [ s:I1[0] , s:PA[0] , s:I1[2] , s:PA[1] , '' ] }
|
2013-07-14 04:13:51 -04:00
|
|
|
|
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.replace = copy(airline#themes#ubaryd#palette.insert)
|
|
|
|
let g:airline#themes#ubaryd#palette.replace.airline_a = [ s:I1[0] , s:RE[0] , s:I1[2] , s:RE[1] , '' ]
|
|
|
|
let g:airline#themes#ubaryd#palette.replace_modified = g:airline#themes#ubaryd#palette.insert_modified
|
2013-07-14 04:13:51 -04:00
|
|
|
|
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3, s:file)
|
|
|
|
let g:airline#themes#ubaryd#palette.visual_modified = {
|
2013-08-17 15:20:40 -04:00
|
|
|
\ 'airline_c' : [ s:V3[0] , s:V4[0] , s:V3[2] , s:V4[1] , '' ] }
|
2013-07-14 04:13:51 -04:00
|
|
|
|
2013-08-17 20:59:49 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:file)
|
2013-09-05 17:34:48 -04:00
|
|
|
let g:airline#themes#ubaryd#palette.inactive_modified = {
|
|
|
|
\ 'airline_c' : [ s:V1[1] , '' , s:V1[3] , '' , '' ] }
|
2013-08-11 16:13:04 -04:00
|
|
|
|