From db6f301f1301d85ca7a4271363760836f53ac0d0 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 22 Aug 2026 17:18:56 -0400 Subject: feat: add per-mode theme overrides (#2324) * feat: add per-mode theme overrides allow [theme.custom.light] and [theme.custom.dark] blocks so custom overrides can differ per resolved appearance when auto_switch flips. precedence: theme defaults, then [theme.custom], then the block for the active mode. configs without the new blocks resolve unchanged. refs #837 * docs: complete per-mode theme documentation --------- Co-authored-by: Ogulcan Celik --- src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 56dbb8df..a6ba1c03 100644 --- a/src/main.rs +++ b/src/main.rs @@ -137,6 +137,15 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # red = "#ff6188" # green = "#a6e3a1" +# Layer appearance-specific overrides on top when auto_switch is enabled. +# [theme.custom.light] +# panel_bg = "#eff1f5" +# text = "#4c4f69" +# +# [theme.custom.dark] +# panel_bg = "#1e1e2e" +# text = "#cdd6f4" + [terminal] # Executable used for new interactive panes. # Empty means $SHELL, then /bin/sh. -- cgit v1.2.3