pub trait ButtonTheme: Send + Sync {
fn button_bg_normal(&self) -> &str;
fn button_bg_hover(&self) -> &str;
fn button_bg_pressed(&self) -> &str;
fn button_bg_active(&self) -> &str;
fn button_bg_disabled(&self) -> &str;
fn button_text_normal(&self) -> &str;
fn button_text_hover(&self) -> &str;
fn button_text_active(&self) -> &str;
fn button_text_disabled(&self) -> &str;
fn button_icon_normal(&self) -> &str;
fn button_icon_hover(&self) -> &str;
fn button_icon_active(&self) -> &str;
fn button_icon_disabled(&self) -> &str;
fn button_border_normal(&self) -> &str;
fn button_border_hover(&self) -> &str;
fn button_border_focused(&self) -> &str;
fn button_accent(&self) -> &str;
fn button_danger(&self) -> &str;
fn button_success(&self) -> &str;
fn button_warning(&self) -> &str;
fn toolbar_item_bg_hover(&self) -> &str;
fn toolbar_item_bg_active(&self) -> &str;
fn toolbar_item_text(&self) -> &str;
fn toolbar_item_text_hover(&self) -> &str;
fn toolbar_item_text_active(&self) -> &str;
fn toolbar_separator(&self) -> &str;
fn toolbar_background(&self) -> &str;
fn toolbar_accent(&self) -> &str;
fn toolbar_label_text(&self) -> &str {
self.toolbar_item_text()
}
fn clock_text(&self) -> &str {
self.toolbar_item_text()
}
fn button_primary_bg(&self) -> &str;
fn button_primary_bg_hover(&self) -> &str;
fn button_primary_text(&self) -> &str;
fn button_danger_bg(&self) -> &str;
fn button_danger_bg_hover(&self) -> &str;
fn button_danger_border(&self) -> &str;
fn button_danger_border_hover(&self) -> &str;
fn button_danger_text(&self) -> &str;
fn button_secondary_hover_bg(&self) -> &str;
fn button_secondary_text_muted(&self) -> &str;
fn button_secondary_text(&self) -> &str;
fn button_ghost_idle_bg(&self) -> &str;
fn button_utility_bg(&self) -> &str;
fn button_utility_bg_hover(&self) -> &str;
fn color_swatch_border(&self) -> &str {
self.toolbar_separator()
}
fn color_swatch_hover_outline(&self) -> &str {
self.toolbar_item_bg_hover()
}
fn color_swatch_selected_border(&self) -> &str {
self.toolbar_accent()
}
fn transparency_checker_a(&self) -> &str;
fn transparency_checker_b(&self) -> &str;
fn fill_toggle_active_border(&self) -> &str {
self.toolbar_item_bg_active()
}
fn fill_toggle_off_pattern_color(&self) -> &str {
self.toolbar_separator()
}
fn dropdown_field_bg(&self) -> &str {
self.toolbar_background()
}
fn dropdown_field_bg_hover(&self) -> &str {
self.toolbar_item_bg_hover()
}
fn dropdown_field_border(&self) -> &str {
self.toolbar_separator()
}
fn dropdown_field_text(&self) -> &str {
self.toolbar_item_text()
}
fn dropdown_menu_row_bg_normal(&self) -> &str {
"transparent"
}
fn dropdown_menu_row_bg_hover(&self) -> &str {
self.toolbar_item_bg_hover()
}
fn dropdown_menu_row_bg_selected(&self) -> &str {
self.toolbar_item_bg_active()
}
fn dropdown_menu_row_text(&self) -> &str {
self.toolbar_item_text()
}
fn dropdown_menu_row_text_selected(&self) -> &str {
self.toolbar_item_text_active()
}
fn dropdown_menu_separator(&self) -> &str {
self.toolbar_separator()
}
fn dropdown_chevron_color(&self) -> &str {
self.toolbar_item_text()
}
fn selector_idle_border(&self) -> &str {
self.toolbar_separator()
}
fn selector_selected_border(&self) -> &str {
self.toolbar_accent()
}
fn selector_hover_border(&self) -> &str {
self.toolbar_item_bg_hover()
}
fn selector_label_text(&self) -> &str {
self.toolbar_item_text()
}
fn close_button_x_color(&self) -> &str {
self.toolbar_item_text()
}
fn close_button_x_color_hover(&self) -> &str {
self.toolbar_item_text_hover()
}
fn scroll_chevron_color(&self) -> &str {
self.toolbar_item_text()
}
fn scroll_chevron_color_hover(&self) -> &str {
self.toolbar_item_text_hover()
}
fn scroll_chevron_color_disabled(&self) -> &str {
self.button_text_disabled()
}
}