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