support dynamic toggling between dark/light theme via darkman

This commit is contained in:
Joel Beckmeyer
2026-05-07 08:13:13 -04:00
parent a58ced0fcd
commit 7725847263
2 changed files with 32 additions and 18 deletions
+32 -17
View File
@@ -24,7 +24,7 @@ font=FiraCode:size=10
# dpi-aware=no
# gamma-correct-blending=no
# initial-color-theme=1
initial-color-theme=light
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
initial-window-mode=maximized
@@ -103,28 +103,24 @@ initial-window-mode=maximized
[colors-dark]
alpha=0.95
background=fbf1c7
foreground=3c3836
# Normal/regular colors (color palette 0-7)
regular0=bdae93
background=282828
foreground=ebdbb2
regular0=282828
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=7c6f64
# Bright colors (color palette 8-15)
bright0=a89984
bright1=9d0006
bright2=79740e
bright3=b57614
bright4=076678
bright5=8f3f71
bright6=427b58
bright7=665c54
regular7=a89984
bright0=928374
bright1=fb4934
bright2=b8bb26
bright3=fabd2f
bright4=83a598
bright5=d3869b
bright6=8ec07c
bright7=ebdbb2
## dimmed colors (see foot.ini(5) man page)
# dim-blend-towards=black
@@ -168,6 +164,25 @@ bright7=665c54
# Alternative color theme, see man page foot.ini(5)
# Same builtin defaults as [color], except for:
# dim-blend-towards=white
alpha=0.95
background=fbf1c7
foreground=3c3836
regular0=bdae93
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=7c6f64
bright0=a89984
bright1=9d0006
bright2=79740e
bright3=b57614
bright4=076678
bright5=8f3f71
bright6=427b58
bright7=665c54
[csd]
# preferred=server
-1
View File
@@ -76,7 +76,6 @@ vim.opt.mouse = "a"
-- Colorscheme
vim.opt.termguicolors = true
vim.o.background = "light"
vim.g.gruvbox_contrast_light = "medium"
vim.g.gruvbox_italicize_comments = 0
vim.cmd([[colorscheme gruvbox]])