pub trait ModalTheme {
fn bg(&self) -> &str;
fn border(&self) -> &str;
fn shadow(&self) -> &str;
fn header_bg(&self) -> &str;
fn header_text(&self) -> &str;
fn divider(&self) -> &str;
fn footer_bg(&self) -> &str;
fn footer_border(&self) -> &str;
fn close_icon(&self) -> &str;
fn close_icon_hover(&self) -> &str;
fn backdrop_dim(&self) -> &str;
fn backdrop_full(&self) -> &str;
fn sidebar_bg(&self) -> &str;
fn sidebar_border(&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;
fn wizard_dot_inactive(&self) -> &str;
fn wizard_dot_active(&self) -> &str;
}
#[derive(Default)]
pub struct DefaultModalTheme;
impl ModalTheme for DefaultModalTheme {
fn bg(&self) -> &str { "#1e222d" }
fn border(&self) -> &str { "#363a45" }
fn shadow(&self) -> &str { "rgba(0,0,0,0.4)" }
fn header_bg(&self) -> &str { "#1e222d" }
fn header_text(&self) -> &str { "#ffffff" }
fn divider(&self) -> &str { "#363a45" }
fn footer_bg(&self) -> &str { "#1e222d" }
fn footer_border(&self) -> &str { "#363a45" }
fn close_icon(&self) -> &str { "#9598a1" }
fn close_icon_hover(&self) -> &str { "#ffffff" }
fn backdrop_dim(&self) -> &str { "rgba(0,0,0,0.45)" }
fn backdrop_full(&self) -> &str { "#131722" }
fn sidebar_bg(&self) -> &str { "#1e222d" }
fn sidebar_border(&self) -> &str { "#363a45" }
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)" }
fn wizard_dot_inactive(&self) -> &str { "#363a45" }
fn wizard_dot_active(&self) -> &str { "#2962ff" }
}