pub trait PopupTheme {
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_text(&self) -> &str;
fn item_text_hover(&self) -> &str;
fn item_text_disabled(&self) -> &str;
fn item_text_danger(&self) -> &str;
fn item_bg_danger_hover(&self) -> &str;
fn header_text(&self) -> &str;
fn separator(&self) -> &str;
fn hex_input_bg(&self) -> &str;
fn hex_input_text(&self) -> &str;
fn hex_input_border_focus(&self) -> &str;
fn hsv_indicator(&self) -> &str;
fn accent(&self) -> &str;
fn backdrop_dim(&self) -> &str;
}
#[derive(Default)]
pub struct DefaultPopupTheme;
impl PopupTheme for DefaultPopupTheme {
fn bg(&self) -> &str { "#1e222d" }
fn border(&self) -> &str { "#363a45" }
fn shadow(&self) -> &str { "rgba(0,0,0,0.4)" }
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_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 item_bg_danger_hover(&self)-> &str { "rgba(242,54,69,0.15)" }
fn header_text(&self) -> &str { "#ffffff" }
fn separator(&self) -> &str { "#363a45" }
fn hex_input_bg(&self) -> &str { "#2a2e39" }
fn hex_input_text(&self) -> &str { "#d1d4dc" }
fn hex_input_border_focus(&self) -> &str { "#2962ff" }
fn hsv_indicator(&self) -> &str { "rainbow" }
fn accent(&self) -> &str { "#2962ff" }
fn backdrop_dim(&self) -> &str { "rgba(0,0,0,0.45)" }
}