From d2098d305033cfdf5cc368a0546633d76a2d2a30 Mon Sep 17 00:00:00 2001 From: Frigyes Erdosi Szucs Date: Mon, 8 Jul 2024 15:28:43 +0200 Subject: [PATCH] feat(theme): set theme to auto by default --- src/core/theme.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/theme.rs b/src/core/theme.rs index 3fee5b1..fe97c5e 100644 --- a/src/core/theme.rs +++ b/src/core/theme.rs @@ -5,14 +5,14 @@ use iced::{color, Color}; /// Color scheme pub enum Theme { #[default] + /// `Dark` or `Light`, according to `dark_light` + Auto, /// `Dark`-ish and purple Lupin, /// white on black Dark, /// black on white Light, - /// `Dark` or `Light`, according to `dark_light` - Auto, } #[derive(Debug, Clone, Copy)] @@ -127,8 +127,7 @@ impl std::fmt::Display for Theme { Self::Dark => "Dark", Self::Light => "Light", Self::Lupin => "Lupin", - // should it be "Follow System"? - Self::Auto => "Auto (sync on startup)", + Self::Auto => "Auto (follow system theme)", } ) }