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/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 0595ae2f..02ad2fbc 100644 --- a/src/config.rs +++ b/src/config.rs @@ -33,7 +33,7 @@ pub use self::{ }, sound::SoundConfig, tab_bar::TabBarRightEntryConfig, - theme::{parse_color, CustomThemeColors, ThemeConfig, THEME_NAMES}, + theme::{parse_color, CustomThemeColors, ModeThemeColors, ThemeConfig, THEME_NAMES}, window_title::{WindowTitlePart, WindowTitleTemplate, WindowTitleToken}, }; -- cgit v1.2.3