thaw/thaw_mobile/tabbar/theme.rs

21 lines
353 B
Rust
Raw Permalink Normal View History

2023-11-01 14:04:12 +08:00
use crate::theme::ThemeMethod;
#[derive(Clone)]
pub struct TabbarTheme {
pub background_color: String,
}
impl ThemeMethod for TabbarTheme {
fn light() -> Self {
Self {
background_color: "#fff".into(),
}
}
fn dark() -> Self {
Self {
background_color: "#323233".into(),
}
}
}