pub trait PanelTheme {
fn bg(&self) -> &str;
fn border(&self) -> &str;
fn header_bg(&self) -> &str;
fn header_text(&self) -> &str;
fn column_header_bg(&self) -> &str;
fn column_header_text(&self) -> &str;
fn row_bg_normal(&self) -> &str;
fn row_bg_hover(&self) -> &str;
fn row_bg_selected(&self) -> &str;
fn footer_bg(&self) -> &str;
fn footer_text(&self) -> &str;
fn divider(&self) -> &str;
fn action_icon_normal(&self) -> &str;
fn action_icon_hover(&self) -> &str;
fn sort_arrow_color(&self) -> &str;
}
#[derive(Default)]
pub struct DefaultPanelTheme;
impl PanelTheme for DefaultPanelTheme {
fn bg(&self) -> &str { "#0d1117" }
fn border(&self) -> &str { "#30363d" }
fn header_bg(&self) -> &str { "#161b22" }
fn header_text(&self) -> &str { "#8091a5" }
fn column_header_bg(&self) -> &str { "#161b22" }
fn column_header_text(&self) -> &str { "#8b949e" }
fn row_bg_normal(&self) -> &str { "#0d1117" }
fn row_bg_hover(&self) -> &str { "#2a2f40" }
fn row_bg_selected(&self) -> &str { "#1e2538" }
fn footer_bg(&self) -> &str { "#161b22" }
fn footer_text(&self) -> &str { "#8b949e" }
fn divider(&self) -> &str { "#30363d" }
fn action_icon_normal(&self) -> &str { "#8b949e" }
fn action_icon_hover(&self) -> &str { "#e0e0e0" }
fn sort_arrow_color(&self) -> &str { "#58a6ff" }
}