pub trait CloseButtonTheme {
fn close_button_x_color(&self) -> &str;
fn close_button_x_color_hover(&self) -> &str;
fn close_button_bg_hover(&self) -> &str;
}
pub struct DefaultCloseButtonTheme;
impl Default for DefaultCloseButtonTheme {
fn default() -> Self {
Self
}
}
impl CloseButtonTheme for DefaultCloseButtonTheme {
fn close_button_x_color(&self) -> &str { "#787b86" }
fn close_button_x_color_hover(&self) -> &str { "#ffffff" }
fn close_button_bg_hover(&self) -> &str { "#2a2e39" }
}