1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use crate::theme::ThemeMethod;

#[derive(Clone)]
pub struct MessageTheme {
    pub background_color: String,
}

impl ThemeMethod for MessageTheme {
    fn light() -> Self {
        Self {
            background_color: "#fff".into(),
        }
    }

    fn dark() -> Self {
        Self {
            background_color: "#48484e".into(),
        }
    }
}