pub trait RadioTheme {
fn radio_outer_border(&self) -> &str;
fn radio_outer_border_selected(&self) -> &str;
fn radio_inner_dot(&self) -> &str;
fn radio_disabled_overlay(&self) -> &str;
fn radio_row_bg_hover(&self) -> &str;
fn radio_label_text(&self) -> &str;
fn radio_label_text_selected(&self) -> &str;
fn radio_description_text(&self) -> &str;
}
pub struct DefaultRadioTheme;
impl Default for DefaultRadioTheme {
fn default() -> Self {
Self
}
}
impl RadioTheme for DefaultRadioTheme {
fn radio_outer_border(&self) -> &str { "#2a2e39" }
fn radio_outer_border_selected(&self) -> &str { "#2962ff" }
fn radio_inner_dot(&self) -> &str { "#2962ff" }
fn radio_disabled_overlay(&self) -> &str { "rgba(0,0,0,0.35)" }
fn radio_row_bg_hover(&self) -> &str { "#2a2e39" }
fn radio_label_text(&self) -> &str { "#d1d4dc" }
fn radio_label_text_selected(&self) -> &str { "#ffffff" }
fn radio_description_text(&self) -> &str { "#4a4a4a" }
}