pub trait CheckboxTheme {
fn checkbox_bg_checked(&self) -> &str;
fn checkbox_bg_unchecked(&self) -> &str;
fn checkbox_border(&self) -> &str;
fn checkbox_checkmark(&self) -> &str;
fn checkbox_notification_inner(&self) -> &str;
fn checkbox_label_text(&self) -> &str;
}
pub struct DefaultCheckboxTheme;
impl Default for DefaultCheckboxTheme {
fn default() -> Self {
Self
}
}
impl CheckboxTheme for DefaultCheckboxTheme {
fn checkbox_bg_checked(&self) -> &str { "#2196F3" }
fn checkbox_bg_unchecked(&self) -> &str { "#1e222d" }
fn checkbox_border(&self) -> &str { "#2a2e39" }
fn checkbox_checkmark(&self) -> &str { "#ffffff" }
fn checkbox_notification_inner(&self) -> &str { "#ffffff" }
fn checkbox_label_text(&self) -> &str { "#d1d4dc" }
}