mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-12 21:33:41 +08:00
Merge pull request #172 from ZortacDev/upstream-pull
Added dark and light variants of the Ayu theme
This commit is contained in:
commit
01b3098642
34
autoload/airline/themes/ayu_dark.vim
Normal file
34
autoload/airline/themes/ayu_dark.vim
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
" Normal mode
|
||||||
|
" (Dark)
|
||||||
|
let s:N1 = [ '#3D424D' , '#C2D94C' , 59 , 149 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:N2 = [ '#C2D94C' , '#304357' , 149 , 59 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:N3 = [ '#B3B1AD' , '#0A0E14' , 145 , 16 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
" Insert mode
|
||||||
|
let s:I1 = [ '#3D424D' , '#39BAE6' , 59 , 74 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:I2 = [ '#39BAE6' , '#304357' , 74 , 59 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:I3 = [ '#B3B1AD' , '#0A0E14' , 145 , 16 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
" Visual mode
|
||||||
|
let s:V1 = [ '#3D424D' , '#FF8F40' , 59 , 209 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:V2 = [ '#FF8F40' , '#304357' , 209 , 59 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:V3 = [ '#B3B1AD' , '#0A0E14' , 145 , 16 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
" Replace mode
|
||||||
|
let s:RE = [ '#3D424D' , '#FF3333' , 59 , 203 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_dark#palette = {}
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_dark#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_dark#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||||
|
let g:airline#themes#ayu_dark#palette.insert_replace = {
|
||||||
|
\ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] }
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_dark#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_dark#palette.replace = copy(g:airline#themes#ayu_dark#palette.normal)
|
||||||
|
let g:airline#themes#ayu_dark#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ]
|
||||||
|
|
||||||
|
let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ]
|
||||||
|
let g:airline#themes#ayu_dark#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
34
autoload/airline/themes/ayu_light.vim
Normal file
34
autoload/airline/themes/ayu_light.vim
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
" Normal mode
|
||||||
|
" (Dark)
|
||||||
|
let s:N1 = [ '#6C7680' , '#86B300' , 66 , 106 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:N2 = [ '#86B300' , '#6C7680' , 106 , 66 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:N3 = [ '#6C7680' , '#FAFAFA' , 66 , 231 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
" Insert mode
|
||||||
|
let s:I1 = [ '#6C7680' , '#55B4D4' , 66 , 74 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:I2 = [ '#55B4D4' , '#6C7680' , 74 , 66 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:I3 = [ '#6C7680' , '#FAFAFA' , 66 , 231 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
" Visual mode
|
||||||
|
let s:V1 = [ '#6C7680' , '#FA8D3E' , 66 , 209 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:V2 = [ '#FA8D3E' , '#6C7680' , 209 , 66 ] " guifg guibg ctermfg ctermbg
|
||||||
|
let s:V3 = [ '#6C7680' , '#FAFAFA' , 66 , 231 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
" Replace mode
|
||||||
|
let s:RE = [ '#6C7680' , '#F51818' , 66 , 196 ] " guifg guibg ctermfg ctermbg
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_light#palette = {}
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_light#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_light#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||||
|
let g:airline#themes#ayu_light#palette.insert_replace = {
|
||||||
|
\ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] }
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_light#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||||
|
|
||||||
|
let g:airline#themes#ayu_light#palette.replace = copy(g:airline#themes#ayu_light#palette.normal)
|
||||||
|
let g:airline#themes#ayu_light#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ]
|
||||||
|
|
||||||
|
let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ]
|
||||||
|
let g:airline#themes#ayu_light#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
|
@ -29,7 +29,9 @@ Currently this repository contains the following themes:
|
||||||
* angr
|
* angr
|
||||||
* atomic
|
* atomic
|
||||||
* aurora
|
* aurora
|
||||||
|
* ayu_light
|
||||||
* ayu_mirage
|
* ayu_mirage
|
||||||
|
* ayu_dark
|
||||||
* badcat
|
* badcat
|
||||||
* badwolf
|
* badwolf
|
||||||
* base16 (|airline-theme-base16|)
|
* base16 (|airline-theme-base16|)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user