1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use tui::style::Color;

pub const LIGHT: Theme = Theme {
    main: Color::Black,
    disabled: Color::Gray,
    selected_background: Color::Gray,
    secondary: Color::Rgb(0, 128, 0),
};

pub const DARK: Theme = Theme {
    main: Color::White,
    disabled: Color::Rgb(154, 154, 154),
    selected_background: Color::Rgb(154, 154, 154),
    secondary: Color::Rgb(71, 105, 56),
};

#[derive(Clone, Copy)]
pub struct Theme {
    pub main: Color,
    pub disabled: Color,
    pub selected_background: Color,
    pub secondary: Color,
}