pub trait DropdownTheme {
fn bg(&self) -> &str;
fn border(&self) -> &str;
fn shadow(&self) -> &str;
fn item_bg_normal(&self) -> &str;
fn item_bg_hover(&self) -> &str;
fn item_bg_selected(&self) -> &str;
fn item_bg_danger_hover(&self) -> &str;
fn item_text(&self) -> &str;
fn item_text_hover(&self) -> &str;
fn item_text_disabled(&self) -> &str;
fn item_text_danger(&self) -> &str;
fn header_text(&self) -> &str;
fn header_border(&self) -> &str;
fn separator(&self) -> &str;
fn shortcut_text(&self) -> &str;
fn caret_color(&self) -> &str;
fn toggle_on(&self) -> &str;
fn toggle_off(&self) -> &str;
fn toggle_thumb(&self) -> &str;
fn trigger_bg(&self) -> &str;
fn trigger_bg_hover(&self) -> &str;
fn trigger_border(&self) -> &str;
fn trigger_text(&self) -> &str;
fn trigger_arrow(&self) -> &str;
fn checkbox_border(&self) -> &str;
fn checkbox_checked(&self) -> &str;
fn cell_bg_hover(&self) -> &str;
fn cell_border(&self) -> &str;
}
#[derive(Debug, Clone, Copy, Default)]
pub struct DefaultDropdownTheme;
impl DropdownTheme for DefaultDropdownTheme {
fn bg(&self) -> &str { "#1e222d" }
fn border(&self) -> &str { "#363a45" }
fn shadow(&self) -> &str { "rgba(0,0,0,0.5)" }
fn item_bg_normal(&self) -> &str { "#1e222d" }
fn item_bg_hover(&self) -> &str { "#2a2e39" }
fn item_bg_selected(&self) -> &str { "rgba(41,98,255,0.15)" }
fn item_bg_danger_hover(&self) -> &str { "rgba(242,54,69,0.15)" }
fn item_text(&self) -> &str { "#d1d4dc" }
fn item_text_hover(&self) -> &str { "#ffffff" }
fn item_text_disabled(&self) -> &str { "#6a6d78" }
fn item_text_danger(&self) -> &str { "#f23645" }
fn header_text(&self) -> &str { "#ffffff" }
fn header_border(&self) -> &str { "#363a45" }
fn separator(&self) -> &str { "#363a45" }
fn shortcut_text(&self) -> &str { "#6a6d78" }
fn caret_color(&self) -> &str { "#6a6d78" }
fn toggle_on(&self) -> &str { "#2962ff" }
fn toggle_off(&self) -> &str { "#6a6d78" }
fn toggle_thumb(&self) -> &str { "#ffffff" }
fn trigger_bg(&self) -> &str { "#2a2e39" }
fn trigger_bg_hover(&self) -> &str { "#363a45" }
fn trigger_border(&self) -> &str { "#363a45" }
fn trigger_text(&self) -> &str { "#d1d4dc" }
fn trigger_arrow(&self) -> &str { "#6a6d78" }
fn checkbox_border(&self) -> &str { "#6a6d78" }
fn checkbox_checked(&self) -> &str { "#2962ff" }
fn cell_bg_hover(&self) -> &str { "#2a2e39" }
fn cell_border(&self) -> &str { "#363a45" }
}