aboutsummaryrefslogtreecommitdiff
path: root/vim/airline
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2022-04-08 09:38:37 -0500
committerMatt Singleton <matt@xcolour.net>2022-04-08 09:38:37 -0500
commit21117bc2ee7e9cfa48cedad2c4e3874e0ae54631 (patch)
tree951a60667a781d1a2444e38a4d261b7eb9da11ac /vim/airline
parentf9128ac66e1b626645f9bb93b08c17a162f25918 (diff)
custom airline theme
Diffstat (limited to 'vim/airline')
-rw-r--r--vim/airline/themes/tempus_dawn.vim27
1 files changed, 27 insertions, 0 deletions
diff --git a/vim/airline/themes/tempus_dawn.vim b/vim/airline/themes/tempus_dawn.vim
new file mode 100644
index 0000000..57e668b
--- /dev/null
+++ b/vim/airline/themes/tempus_dawn.vim
@@ -0,0 +1,27 @@
+let g:airline#themes#tempus_dawn#palette = {}
+
+let g:airline#themes#tempus_dawn#palette.accents = {
+ \ 'red': [ '#a64822' , '' , 9 , '' ],
+ \ }
+
+" Normal Mode:
+let s:N1 = [ '#4a4b4e' , '#e2e4e1' , 0 , 255 ] " Mode
+let s:N2 = [ '#4a4b4e' , '#CED3D0' , 0 , 254 ] " Info
+let s:N3 = [ '#4a4b4e' , '#BDC4C0' , 0 , 253 ] " StatusLine
+let g:airline#themes#tempus_dawn#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
+
+" 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 , '' ]
+
+" 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 , '' ]
+
+" 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 , '' ]
+
+" Inactive:
+let s:IA = [ '#676364' , '#e2e4e1' , 8 , 255 ]
+let g:airline#themes#tempus_dawn#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)