pub trait SidebarTheme {
fn bg(&self) -> &str;
fn border(&self) -> &str;
fn header_bg(&self) -> &str;
fn header_text(&self) -> &str;
fn header_icon(&self) -> &str;
fn divider(&self) -> &str;
fn action_icon_normal(&self) -> &str;
fn action_icon_hover(&self) -> &str;
fn scrollbar_thumb(&self) -> &str;
fn scrollbar_thumb_active(&self) -> &str;
fn tab_text_active(&self) -> &str;
fn tab_text_inactive(&self) -> &str;
fn tab_accent(&self) -> &str;
fn tab_bg_active(&self) -> &str;
fn tab_bg_hover(&self) -> &str;
}
#[derive(Default)]
pub struct DefaultSidebarTheme;
impl SidebarTheme for DefaultSidebarTheme {
fn bg(&self) -> &str { "#1e222d" }
fn border(&self) -> &str { "#363a45" }
fn header_bg(&self) -> &str { "#1e222d" }
fn header_text(&self) -> &str { "#ffffff" }
fn header_icon(&self) -> &str { "#9598a1" }
fn divider(&self) -> &str { "#363a45" }
fn action_icon_normal(&self) -> &str { "#9598a1" }
fn action_icon_hover(&self) -> &str { "#ffffff" }
fn scrollbar_thumb(&self) -> &str { "#363a45" }
fn scrollbar_thumb_active(&self) -> &str { "#787b86" }
fn tab_text_active(&self) -> &str { "#ffffff" }
fn tab_text_inactive(&self) -> &str { "#787b86" }
fn tab_accent(&self) -> &str { "#2962ff" }
fn tab_bg_active(&self) -> &str { "rgba(41,98,255,0.12)" }
fn tab_bg_hover(&self) -> &str { "rgba(255,255,255,0.06)" }
}