mirror of
https://github.com/adoyle0/thaw.git
synced 2025-03-14 06:29:49 -04:00
23 lines
449 B
Rust
23 lines
449 B
Rust
use crate::theme::ThemeMethod;
|
|
|
|
#[derive(Clone)]
|
|
pub struct MenuTheme {
|
|
pub color: String,
|
|
pub item_color_hover: String,
|
|
}
|
|
|
|
impl ThemeMethod for MenuTheme {
|
|
fn light() -> Self {
|
|
Self {
|
|
color: "#333639".into(),
|
|
item_color_hover: "#f3f5f6".into(),
|
|
}
|
|
}
|
|
|
|
fn dark() -> Self {
|
|
Self {
|
|
color: "#333639".into(),
|
|
item_color_hover: "#f3f5f6".into(),
|
|
}
|
|
}
|
|
}
|