saturn_cli/ui/
consts.rs

1use lazy_static::lazy_static;
2use ratatui::prelude::*;
3
4pub const DAYS: usize = 35;
5pub const DAYS_IN_WEEK: usize = 7;
6
7lazy_static! {
8    pub static ref DARK_CYAN: Color = Color::Rgb(20, 80, 80);
9    pub static ref REALLY_DARK_GRAY: Color = Color::Rgb(50, 50, 50);
10    pub static ref DARK_GRAY: Color = Color::Rgb(75, 75, 75);
11    pub static ref BRIGHT_CYAN: Color = Color::Rgb(60, 240, 240);
12    pub static ref HEADER_STYLE: Style = Style::default().fg(Color::White).bg(*DARK_CYAN);
13    pub static ref CELL_STYLE: Style = Style::default().bg(*DARK_GRAY);
14    pub static ref TODAY_STYLE: Style = Style::default().fg(*BRIGHT_CYAN).bg(*REALLY_DARK_GRAY);
15    pub static ref TITLE_STYLE: Style = Style::default().fg(Color::White);
16}