pub trait ContainerTheme {
fn bg(&self) -> &str;
fn border(&self) -> &str;
fn shadow(&self) -> &str;
fn card_shadow_color(&self) -> &str {
"rgba(0,0,0,0.4)"
}
fn section_header_bg(&self) -> &str {
"#161b22ff"
}
fn section_header_text(&self) -> &str {
"#ffffff"
}
fn panel_bg(&self) -> &str {
"#0d1117ff"
}
fn panel_border(&self) -> &str {
"#30363dff"
}
}
#[derive(Default)]
pub struct DefaultContainerTheme;
impl ContainerTheme for DefaultContainerTheme {
fn bg(&self) -> &str {
"#1e1e2e"
}
fn border(&self) -> &str {
"#363a45"
}
fn shadow(&self) -> &str {
"rgba(0,0,0,0.4)"
}
}