From 280f3eeb4e3203bbaabb00ab0032c88e6a43de84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Tue, 7 Jan 2025 22:42:04 +0100 Subject: [PATCH] Fix name of BAT_THEME_{DARK,LIGHT} env vars --- src/theme.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme.rs b/src/theme.rs index 5863bf85..11352183 100644 --- a/src/theme.rs +++ b/src/theme.rs @@ -10,9 +10,9 @@ pub mod env { /// See [`crate::theme::ThemeOptions::theme`]. pub const BAT_THEME: &str = "BAT_THEME"; /// See [`crate::theme::ThemeOptions::theme_dark`]. - pub const BAT_THEME_DARK: &str = "BAT_THEME"; + pub const BAT_THEME_DARK: &str = "BAT_THEME_DARK"; /// See [`crate::theme::ThemeOptions::theme_light`]. - pub const BAT_THEME_LIGHT: &str = "BAT_THEME"; + pub const BAT_THEME_LIGHT: &str = "BAT_THEME_LIGHT"; } /// Chooses an appropriate theme or falls back to a default theme