1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//! Centralized color definitions for section parts
//!
//! Single source of truth for all color settings used throughout the TUI.
//! All colors are defined as constants in the `SectionColors` struct.
//!
//! ## Color Organization
//!
//! Colors are organized by their usage:
//! - **Text colors**: HINT, VALUE, ACTION, DISABLED, ERROR, SUCCESS, FOOTER, BRANDING
//! - **Border colors**: BORDER, FOCUSED_BORDER
//! - **Highlight colors**: HIGHLIGHT (for selected items)
//!
//! ## Usage
//!
//! ```rust
//! use frentui::color::SectionColors;
//! use ratatui::style::Style;
//!
//! let style = Style::default().fg(SectionColors::HINT);
//! ```
//!
//! ## Color Values
//!
//! - **HINT**: Rgb(150, 150, 150) - Gray for hints/notes
//! - **VALUE**: Yellow - Highlighted values
//! - **BORDER**: Cyan - Section borders
//! - **FOCUSED_BORDER**: Yellow - Focused section borders (with bold modifier)
//! - **HIGHLIGHT**: Magenta - Selected/highlighted items
//! - **ACTION**: White - Action menu items
//! - **DISABLED**: Rgb(150, 150, 150) - Disabled actions (same as HINT)
//! - **ERROR**: Red - Validation errors
//! - **SUCCESS**: Green - Validation success
//! - **FOOTER**: Rgb(100, 100, 100) - Footer text (darker gray)
//! - **BRANDING**: Yellow - Branding/header text
use Color;
/// Color definitions for section components
///
/// All colors used in the TUI are defined here as constants.
/// This ensures consistency and makes it easy to adjust the color scheme.
;