mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
20 lines
353 B
Rust
20 lines
353 B
Rust
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(),
|
|
}
|
|
}
|
|
}
|