summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorAlex <a.neyman17@gmail.com>2026-08-22 17:18:56 -0400
committerGitHub <noreply@github.com>2026-08-23 00:18:56 +0300
commitdb6f301f1301d85ca7a4271363760836f53ac0d0 (patch)
tree7ac8748407268190f3bea23190fb3cfb07bd4bf2 /src/config.rs
parent1d604329b0ded93d18fd6b27f72c7473d1fee20f (diff)
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 <ogulcancelik@gmail.com>
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
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},
};