agent_tui_domain/domain/core/style.rs
1//! Screen styling types.
2
3#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
4pub enum Color {
5 Default,
6 Indexed(u8),
7 Rgb(u8, u8, u8),
8}
9
10#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Hash)]
11pub struct CellStyle {
12 pub bold: bool,
13 pub underline: bool,
14 pub inverse: bool,
15 pub fg_color: Option<Color>,
16 pub bg_color: Option<Color>,
17}