aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/autoload/airline/themes
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2024-11-06 17:19:47 -0600
committerMatt Singleton <matt@xcolour.net>2024-11-11 16:07:28 -0600
commite42262beb9b936a62b7656a55613123632809f92 (patch)
treecc50cb132d4f9729332bcd534f4dd7192a2381cb /stow/vim/.vim/autoload/airline/themes
parent54a32c6dfd4cc3f2a4547349188a1fa185716354 (diff)
custom vim theme
Diffstat (limited to 'stow/vim/.vim/autoload/airline/themes')
-rw-r--r--stow/vim/.vim/autoload/airline/themes/mono.vim55
1 files changed, 55 insertions, 0 deletions
diff --git a/stow/vim/.vim/autoload/airline/themes/mono.vim b/stow/vim/.vim/autoload/airline/themes/mono.vim
new file mode 100644
index 0000000..828a668
--- /dev/null
+++ b/stow/vim/.vim/autoload/airline/themes/mono.vim
@@ -0,0 +1,55 @@
+" Foreground colors
+let s:black = { "gui": "#303030", "cterm": "236" }
+let s:light_black = { "gui": "#585858", "cterm": "240" }
+let s:blue_fg = { "gui": "#00005f", "cterm": "17" }
+let s:green_fg = { "gui": "#005f00", "cterm": "22" }
+let s:cyan_fg = { "gui": "#005f5f", "cterm": "23" }
+let s:red_fg = { "gui": "#5f0000", "cterm": "52" }
+let s:purple_fg = { "gui": "#5f005f", "cterm": "53" }
+let s:yellow_fg = { "gui": "#5f5f00", "cterm": "58" }
+
+" Background colors
+let s:white = { "gui": "#ffffff", "cterm": "231" }
+let s:light_gray = { "gui": "#eeeeee", "cterm": "255" }
+let s:md_gray = { "gui": "#dadada", "cterm": "253" }
+let s:blue_bg = { 'gui': '#d7d7ff', 'cterm': '189' }
+let s:green_bg = { 'gui': '#d7ffd7', 'cterm': '194' }
+let s:cyan_bg = { 'gui': '#d7ffff', 'cterm': '195' }
+let s:red_bg = { 'gui': '#ffd7d7', 'cterm': '224' }
+let s:purple_bg = { 'gui': '#ffd7ff', 'cterm': '225' }
+let s:yellow_bg = { 'gui': '#ffffd7', 'cterm': '230' }
+
+" Color sets
+let s:dark = [ s:black.gui , s:md_gray.gui , s:black.cterm , s:md_gray.cterm ]
+let s:light = [ s:black.gui , s:light_gray.gui , s:black.cterm , s:light_gray.cterm ]
+let s:blue = [ s:black.gui , s:blue_bg.gui , s:black.cterm , s:blue_bg.cterm ]
+let s:yellow = [ s:black.gui , s:yellow_bg.gui , s:black.cterm , s:yellow_bg.cterm ]
+let s:red = [ s:black.gui , s:red_bg.gui , s:black.cterm , s:red_bg.cterm ]
+let s:green = [ s:black.gui , s:green_bg.gui , s:black.cterm , s:green_bg.cterm ]
+
+let g:airline#themes#mono#palette = {}
+
+let g:airline#themes#mono#palette.accents = {
+ \ 'red': [ s:red_fg.gui , '' , s:red_fg.cterm , '' ],
+ \ }
+
+" Normal Mode
+let g:airline#themes#mono#palette.normal = airline#themes#generate_color_map(s:blue, s:dark, s:light)
+
+" Insert Mode
+let g:airline#themes#mono#palette.insert = copy(g:airline#themes#mono#palette.normal)
+let g:airline#themes#mono#palette.insert.airline_a = s:yellow
+let g:airline#themes#mono#palette.insert.airline_z = s:yellow
+
+" Replace Mode
+let g:airline#themes#mono#palette.replace = copy(g:airline#themes#mono#palette.normal)
+let g:airline#themes#mono#palette.replace.airline_a = s:red
+let g:airline#themes#mono#palette.replace.airline_z = s:red
+
+" Visual Mode
+let g:airline#themes#mono#palette.visual = copy(g:airline#themes#mono#palette.normal)
+let g:airline#themes#mono#palette.visual.airline_a = s:green
+let g:airline#themes#mono#palette.visual.airline_z = s:green
+
+" Inactive
+let g:airline#themes#mono#palette.inactive = airline#themes#generate_color_map(s:light, s:light, s:light)