fan-control icon indicating copy to clipboard operation
fan-control copied to clipboard

Theme should follow the system

Open wiiznokes opened this issue 1 year ago • 1 comments
trafficstars

  • It doesn't work on COSMIC (it should also follow the accent color)
  • make it works on other system

wiiznokes avatar Jun 26 '24 19:06 wiiznokes

For theme:

pub fn theme(&self) -> theme::Theme {
        match self {
            Self::Dark => {
                let mut t = theme::system_dark();
                t.theme_type.prefer_dark(Some(true));
                t
            }
            Self::Light => {
                let mut t = theme::system_light();
                t.theme_type.prefer_dark(Some(false));
                t
            }
            Self::System => theme::system_preference(),
        }
    }

https://hachyderm.io/@edfloreshz/112769206427407768

wiiznokes avatar Jul 11 '24 21:07 wiiznokes