Merge pull request #161 from Donearm/testing

update colours for both Ubaryd and Laederon themes
This commit is contained in:
Christian Brabandt 2018-11-12 06:38:59 +01:00 committed by GitHub
commit 01196044f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 64 additions and 31 deletions

View File

@ -1,44 +1,56 @@
" vim-airline companion theme of Laederon " vim-airline companion theme of Laederon
" (https://github.com/Donearm/Laederon) " (https://github.com/Donearm/Laederon)
"
" Author: Gianluca fiore <https://github.com/Donearm/>
" Version: 1.1
" License: MIT
" Normal mode " Normal mode
let s:N1 = [ '#1a1a18' , '#ffffff' , 232 , 255 ] " blackestgravel & snow let s:N1 = [ '#081c8c' , '#f8f6f2','18','15']
let s:N2 = [ '#ffffff' , '#44403a' , 255, 238 ] " snow & deepgravel let s:N2 = [ '#1693a5' , '#f8f6f2','62','15']
let s:N3 = [ '#90a680' , '#2e2d2a' , 64, 235 ] " dilutedpaint & darkgravel let s:N3 = [ '#90a680' , '#2e2d2a' , 64, 235 ] " dilutedpaint & darkgravel
let s:N4 = [ '#777470' , 240 ] " gravel
" Insert mode " Insert mode
let s:I1 = [ '#1a1a18' , '#1693a5' , 232 , 62 ] " blackestgravel & crystallake let s:I1 = [ '#f8f6f2', '#ab3e5b','15','161']
let s:I2 = [ '#515744' , '#44403a' , 101 , 238 ] " lichen & deepgravel let s:I2 = [ '#242321', '#ab3e5b','235','161']
let s:I3 = [ '#1693a5' , '#2e2d2a' , 39 , 235 ] " crystallake & darkgravel let s:I3 = [ '#1693a5', '#f8f6f2', '62', '15']
" Visual mode " Visual mode
let s:V1 = [ '#1a1a18' , '#ab3e5d' , 232 , 161 ] " blackestgravel & raspberry let s:V1 = [ '#005f00', '#f8f6f2','22','15']
let s:V2 = [ '#000000' , '#908571' , 16 , 252 ] " coal & winterterrain let s:V2 = [ '#f8f6f2', '#005f00','15','22']
let s:V3 = [ '#ab3e5d' , '#8c7f77' , 161 , 245 ] " raspberry & wetcoldterrain let s:V3 = [ '#594512', '#f8f6f2','64','15']
let s:V4 = [ '#515744' , 101 ] " lichen
" Replace mode " Replace mode
let s:RE = [ '#233e09' , 22 ] " oakleaf let s:R1 = [ '#90a680' , '#f8f6f2','66','15']
let s:R2 = [ '#90a680' , '#242321','66','235']
let s:R3 = [ '#f8f6f2' , '#90a680','15','66']
" Paste mode " Paste mode
let s:PA = [ '#ab3e5d' , 161 ] " raspberry let s:PA = [ '#ab3e5d' , 161 ] " raspberry
let s:IA = [ s:N2[1] , s:N3[1] , s:N2[3], s:N3[3] , '' ] let s:IA = [ s:N2[1] , s:N3[1] , s:N2[3], s:N3[3] , '' ]
let g:airline#themes#laederon#palette = {} let g:airline#themes#laederon#palette = {}
let g:airline#themes#laederon#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#laederon#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#laederon#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
let g:airline#themes#laederon#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
let g:airline#themes#laederon#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#laederon#palette.accents = { " Warning Mode
\ 'red': [ '#ef393d' , '' , 196 , '' , '' ] let s:WI = [ '#242321' , '#ab3e5b'' , 235 , 161 , '' ]
\ } let g:airline#themes#laederon#palette.normal.airline_warning = [
\ s:WI[0], s:WI[1], s:WI[2], s:WI[3]
\ ]
let g:airline#themes#laederon#palette.insert.airline_warning = g:airline#themes#laederon#palette.normal.airline_warning
let g:airline#themes#laederon#palette.visual.airline_warning = g:airline#themes#laederon#palette.normal.airline_warning
let g:airline#themes#laederon#palette.replace.airline_warning = g:airline#themes#laederon#palette.normal.airline_warning
let g:airline#themes#laederon#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) let g:airline#themes#laederon#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#laederon#palette.normal_modified = { let g:airline#themes#laederon#palette.normal_modified = {
\ 'airline_a' : [ s:N2[0] , s:N4[0] , s:N2[2] , s:N4[1] , '' ] , \ '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] , '' ] } \ 'airline_c' : [ s:V1[1] , s:N2[1] , s:V1[3] , s:N2[3] , '' ] }
let g:airline#themes#laederon#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) let g:airline#themes#laederon#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#laederon#palette.insert_modified = { let g:airline#themes#laederon#palette.insert_modified = {
\ 'airline_c' : [ s:V2[1] , s:N2[1] , s:V2[3] , s:N2[3] , '' ] } \ 'airline_c' : [ s:V2[1] , s:N2[1] , s:V2[3] , s:N2[3] , '' ] }
@ -58,5 +70,9 @@ let g:airline#themes#laederon#palette.visual_modified = {
let g:airline#themes#laederon#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA) let g:airline#themes#laederon#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#laederon#palette.inactive_modified = { let g:airline#themes#laederon#palette.inactive_modified = {
\ 'airline_c' : [ s:V1[1] , '' , s:V1[3] , '' , '' ] } \ 'airline_c' : [ '#908571' , s:IA[1] , '252' , s:IA[3] , '' ] }
let g:airline#themes#laederon#palette.accents = {
\ 'red': [ '#ef393d' , '' , 196 , '' , '' ]
\ }

View File

@ -1,25 +1,29 @@
" vim-airline companion theme of Ubaryd " vim-airline companion theme of Ubaryd
" (https://github.com/Donearm/Ubaryd) " (https://github.com/Donearm/Ubaryd)
"
" Author: Gianluca fiore <https://github.com/Donearm/>
" Version: 1.1
" License: MIT
" Normal mode " Normal mode
let s:N1 = [ '#141413' , '#c7b386' , 232 , 252 ] " blackestgravel & bleaksand let s:N1 = [ '#005f00' , '#f8f6f2','22','15']
let s:N2 = [ '#c7b386' , '#45413b' , 252, 238 ] " bleaksand & deepgravel let s:N2 = [ '#f8f6f2' , '#005f00','15','22']
let s:N3 = [ '#b88853' , '#242321' , 137, 235 ] " toffee & darkgravel let s:N3 = [ '#b88853' , '#242321' , 137, 235 ] " toffee & darkgravel
let s:N4 = [ '#857f78' , 243 ] " gravel
" Insert mode " Insert mode
let s:I1 = [ '#1a1a18' , '#fade3e' , 232 , 221 ] " blackestgravel & warmcorn let s:I1 = [ '#f8f6f2', '#e25a74','15','161']
let s:I2 = [ '#c7b386' , '#45413b' , 252 , 238 ] " bleaksand & deepgravel let s:I2 = [ '#242321', '#c14c3d','235','160']
let s:I3 = [ '#f4cf86' , '#242321' , 222 , 235 ] " lighttannedskin & darkgravel let s:I3 = [ '#f4cf86' , '#242321' , 222 , 235 ] " lighttannedskin & darkgravel
" Visual mode " Visual mode
let s:V1 = [ '#1c1b1a' , '#9a4820' , 233 , 88 ] " blackgravel & warmadobe let s:V1 = [ '#416389', '#f8f6f2','18','15']
let s:V2 = [ '#000000' , '#88633f' , 16 , 95 ] " coal & cappuccino let s:V2 = [ '#416389', '#f4cf86','18','222']
let s:V3 = [ '#88633f' , '#c7b386' , 95 , 252 ] " cappuccino & bleaksand let s:V3 = [ '#9a4820' , '#f8f6f2','88','15']
let s:V4 = [ '#c14c3d' , 160 ] " tannedumbrella
" Replace mode " Replace mode
let s:RE = [ '#c7915b' , 173 ] " nut let s:R1 = [ '#242321' , '#f8f6f2','235','15']
let s:R2 = [ '#ffa724' , '#666462','214','241']
let s:R3 = [ '#f8f6f2' , '#ff7400','15','215']
" Paste mode " Paste mode
let s:PA = [ '#f9ef6d' , 154 ] " bleaklemon let s:PA = [ '#f9ef6d' , 154 ] " bleaklemon
@ -27,15 +31,24 @@ let s:PA = [ '#f9ef6d' , 154 ] " bleaklemon
let s:IA = [ s:N2[1], s:N3[1], s:N2[3], s:N3[3], '' ] let s:IA = [ s:N2[1], s:N3[1], s:N2[3], s:N3[3], '' ]
let g:airline#themes#ubaryd#palette = {} let g:airline#themes#ubaryd#palette = {}
let g:airline#themes#ubaryd#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#ubaryd#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#ubaryd#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
let g:airline#themes#ubaryd#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
let g:airline#themes#ubaryd#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#ubaryd#palette.accents = { " Warning Mode
\ 'red': [ '#ff7400' , '' , 196 , '' , '' ], let s:WI = [ '#1C1C1C' , '#ffa724' , 234 , 214 , '' ]
\ } let g:airline#themes#ubaryd#palette.normal.airline_warning = [
\ s:WI[0], s:WI[1], s:WI[2], s:WI[3]
\ ]
let g:airline#themes#ubaryd#palette.insert.airline_warning = g:airline#themes#ubaryd#palette.normal.airline_warning
let g:airline#themes#ubaryd#palette.visual.airline_warning = g:airline#themes#ubaryd#palette.normal.airline_warning
let g:airline#themes#ubaryd#palette.replace.airline_warning = g:airline#themes#ubaryd#palette.normal.airline_warning
let g:airline#themes#ubaryd#palette.inactive = { let g:airline#themes#ubaryd#palette.inactive = {
\ 'airline_a' : [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , '' ] } \ 'airline_a' : [ s:N2[1] , s:N3[1] , s:N2[3] , s:N3[3] , '' ] }
let g:airline#themes#ubaryd#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) let g:airline#themes#ubaryd#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#ubaryd#palette.normal_modified = { let g:airline#themes#ubaryd#palette.normal_modified = {
\ 'airline_a' : [ s:N2[0] , s:N4[0] , s:N2[2] , s:N4[1] , '' ] , \ 'airline_a' : [ s:N2[0] , s:N4[0] , s:N2[2] , s:N4[1] , '' ] ,
@ -62,3 +75,7 @@ let g:airline#themes#ubaryd#palette.inactive = airline#themes#generate_color_map
let g:airline#themes#ubaryd#palette.inactive_modified = { let g:airline#themes#ubaryd#palette.inactive_modified = {
\ 'airline_c' : [ s:V1[1] , '' , s:V1[3] , '' , '' ] } \ 'airline_c' : [ s:V1[1] , '' , s:V1[3] , '' , '' ] }
let g:airline#themes#ubaryd#palette.accents = {
\ 'red': [ '#ff7400' , '' , 202 , '' , '' ],
\ }