diff options
author | Matt Singleton <matt@xcolour.net> | 2023-02-22 19:04:33 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2023-02-22 19:04:33 -0600 |
commit | 687b587df09b49a903decf47b53cac7412b28970 (patch) | |
tree | 42858e94dbba132fe55455a7dbefbef8d7ed7305 | |
parent | e6ba41328886ca5675d12d94f71385d977b90d24 (diff) |
tempus totus for foot and vim
-rw-r--r-- | config/linux/foot/foot.ini | 19 | ||||
-rw-r--r-- | home/vimrc | 4 | ||||
-rw-r--r-- | vim/airline/themes/tempus.vim | 35 | ||||
-rw-r--r-- | vim/airline/themes/tempus_dawn.vim | 35 |
4 files changed, 56 insertions, 37 deletions
diff --git a/config/linux/foot/foot.ini b/config/linux/foot/foot.ini index 1055f45..ece9c04 100644 --- a/config/linux/foot/foot.ini +++ b/config/linux/foot/foot.ini @@ -69,6 +69,25 @@ bright5=0x8e45a8 bright6=0x3f649c bright7=0xeff0f2 +background=0xffffff +foreground=0x4a484d +regular0=0x4a484d +regular1=0xa50000 +regular2=0x005d26 +regular3=0x714700 +regular4=0x1d3ccf +regular5=0x88267a +regular6=0x185570 +regular7=0xefefef +bright0=0x5e4b4f +bright1=0x992030 +bright2=0x4a5500 +bright3=0x8a3600 +bright4=0x2d45b0 +bright5=0x700dc9 +bright6=0x005289 +bright7=0xffffff + # selection-foreground=<inverse foreground/background> # selection-background=<inverse foreground/background> @@ -95,8 +95,8 @@ nnoremap <leader>r :ALEDetail<Enter> " set background=light -silent! colo tempus_dawn -let g:airline_theme='tempus_dawn' +silent! colo tempus_totus +let g:airline_theme='tempus' set hlsearch syntax enable diff --git a/vim/airline/themes/tempus.vim b/vim/airline/themes/tempus.vim new file mode 100644 index 0000000..e24f167 --- /dev/null +++ b/vim/airline/themes/tempus.vim @@ -0,0 +1,35 @@ +" Color sets: +" guigfg guibg ctermfg ctermbg +let s:dark = [ '#eff0f2' , '#676364' , 15 , 8 ] +let s:light = [ '#676364' , '#dee2e0' , 0 , 7 ] +let s:blue = [ '#eff0f2' , '#4b529a' , 15 , 12 ] +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#palette = {} + +let g:airline#themes#tempus#palette.accents = { + \ 'red': [ '#a64822' , '' , 9 , '' ], + \ } + +" Normal Mode: +let g:airline#themes#tempus#palette.normal = airline#themes#generate_color_map(s:blue, s:dark, s:light) + +" Insert Mode: +let g:airline#themes#tempus#palette.insert = copy(g:airline#themes#tempus#palette.normal) +let g:airline#themes#tempus#palette.insert.airline_a = s:yellow +let g:airline#themes#tempus#palette.insert.airline_z = s:yellow + +" Replace Mode: +let g:airline#themes#tempus#palette.replace = copy(g:airline#themes#tempus#palette.normal) +let g:airline#themes#tempus#palette.replace.airline_a = s:red +let g:airline#themes#tempus#palette.replace.airline_z = s:red + +" Visual Mode: +let g:airline#themes#tempus#palette.visual = copy(g:airline#themes#tempus#palette.normal) +let g:airline#themes#tempus#palette.visual.airline_a = s:green +let g:airline#themes#tempus#palette.visual.airline_z = s:green + +" Inactive: +let g:airline#themes#tempus#palette.inactive = airline#themes#generate_color_map(s:light, s:light, s:light) diff --git a/vim/airline/themes/tempus_dawn.vim b/vim/airline/themes/tempus_dawn.vim deleted file mode 100644 index ee95f08..0000000 --- a/vim/airline/themes/tempus_dawn.vim +++ /dev/null @@ -1,35 +0,0 @@ -" 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 = { - \ 'red': [ '#a64822' , '' , 9 , '' ], - \ } - -" Normal Mode: -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 = 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 = 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 = s:green -let g:airline#themes#tempus_dawn#palette.visual.airline_z = s:green - -" Inactive: -let g:airline#themes#tempus_dawn#palette.inactive = airline#themes#generate_color_map(s:light, s:light, s:light) |