aboutsummaryrefslogtreecommitdiff
path: root/vim/airline
diff options
context:
space:
mode:
Diffstat (limited to 'vim/airline')
-rw-r--r--vim/airline/themes/tempus_dawn.vim26
1 files changed, 17 insertions, 9 deletions
diff --git a/vim/airline/themes/tempus_dawn.vim b/vim/airline/themes/tempus_dawn.vim
index 6708d32..ee95f08 100644
--- a/vim/airline/themes/tempus_dawn.vim
+++ b/vim/airline/themes/tempus_dawn.vim
@@ -1,3 +1,12 @@
+" Color sets:
+" guigfg guibg ctermfg ctermbg
+let s:dark = [ '#eff0f2' , '#676364' , 15 , 8 ]
+let s:light = [ '#676364' , '#dee2e0' , 8 , 7 ]
+let s:blue = [ '#eff0f2' , '#4b529a' , 15 , 4 ]
+let s:yellow = [ '#eff0f2' , '#8b590a' , 15 , 11 ]
+let s:red = [ '#eff0f2' , '#a64822' , 15 , 9 ]
+let s:green = [ '#eff0f2' , '#187408' , 15 , 10 ]
+
let g:airline#themes#tempus_dawn#palette = {}
let g:airline#themes#tempus_dawn#palette.accents = {
@@ -5,23 +14,22 @@ let g:airline#themes#tempus_dawn#palette.accents = {
\ }
" Normal Mode:
-let s:N1 = [ '#4a4b4e' , '#e6e9e9' , 0 , 255 ] " Mode
-let s:N2 = [ '#4a4b4e' , '#dee2e0' , 0 , 254 ] " Info
-let s:N3 = [ '#4a4b4e' , '#ced3d0' , 0 , 253 ] " StatusLine
-let g:airline#themes#tempus_dawn#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
+let g:airline#themes#tempus_dawn#palette.normal = airline#themes#generate_color_map(s:blue, s:dark, s:light)
" Insert Mode:
let g:airline#themes#tempus_dawn#palette.insert = copy(g:airline#themes#tempus_dawn#palette.normal)
-let g:airline#themes#tempus_dawn#palette.insert.airline_a = [ '#745300' , '' , 3 , '' ]
+let g:airline#themes#tempus_dawn#palette.insert.airline_a = s:yellow
+let g:airline#themes#tempus_dawn#palette.insert.airline_z = s:yellow
" Replace Mode:
let g:airline#themes#tempus_dawn#palette.replace = copy(g:airline#themes#tempus_dawn#palette.normal)
-let g:airline#themes#tempus_dawn#palette.replace.airline_a = [ '#a32a3a' , '' , 1 , '' ]
+let g:airline#themes#tempus_dawn#palette.replace.airline_a = s:red
+let g:airline#themes#tempus_dawn#palette.replace.airline_z = s:red
" Visual Mode:
let g:airline#themes#tempus_dawn#palette.visual = copy(g:airline#themes#tempus_dawn#palette.normal)
-let g:airline#themes#tempus_dawn#palette.visual.airline_a = [ '#4b529a' , '' , 4 , '' ]
+let g:airline#themes#tempus_dawn#palette.visual.airline_a = s:green
+let g:airline#themes#tempus_dawn#palette.visual.airline_z = s:green
" Inactive:
-let s:IA = [ '#676364' , '#dee2e0' , 8 , 255 ]
-let g:airline#themes#tempus_dawn#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
+let g:airline#themes#tempus_dawn#palette.inactive = airline#themes#generate_color_map(s:light, s:light, s:light)