1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-18 12:05:52 +00:00

Fix name of BAT_THEME_{DARK,LIGHT} env vars

This commit is contained in:
Tau Gärtli 2025-01-07 22:42:04 +01:00
parent 1321160203
commit 280f3eeb4e
No known key found for this signature in database

View File

@ -10,9 +10,9 @@ pub mod env {
/// See [`crate::theme::ThemeOptions::theme`]. /// See [`crate::theme::ThemeOptions::theme`].
pub const BAT_THEME: &str = "BAT_THEME"; pub const BAT_THEME: &str = "BAT_THEME";
/// See [`crate::theme::ThemeOptions::theme_dark`]. /// 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`]. /// 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 /// Chooses an appropriate theme or falls back to a default theme