1use ratatui::{
10 Frame,
11 layout::Rect,
12 style::{Color, Style},
13 widgets::{Block, Clear},
14};
15
16pub const GHOST_WHITE: Color = Color::Indexed(15);
17pub const COOL_GREY: Color = Color::Indexed(246);
18pub const LIGHT_PERIWINKLE: Color = Color::Indexed(252);
19pub const VERY_LIGHT_AZURE: Color = Color::Indexed(75);
20pub const EUCALYPTUS: Color = Color::Indexed(115);
21pub const SIZZLING_RED: Color = Color::Indexed(197);
22pub const SPACE_CADET: Color = Color::Indexed(17);
23pub const DARK_GUNMETAL: Color = Color::Indexed(235); pub const INDIGO: Color = Color::Indexed(24);
25pub const VIVID_SKY_BLUE: Color = Color::Indexed(45);
26pub const RED: Color = Color::Indexed(196);
27
28pub fn clear_area(f: &mut Frame<'_>, area: Rect) {
30 f.render_widget(Clear, area);
31 f.render_widget(Block::new().style(Style::new().bg(DARK_GUNMETAL)), area);
32}