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
use Color;
use BorderType;
// Terminal-adaptive palette. The TUI defers to the user's terminal theme:
// it uses only `Color::Reset` (the terminal's default fg/bg) and the 16
// standard ANSI colors, which the terminal remaps per its active theme.
// We never hard-code RGB, so `explore` stays legible on BOTH light and dark
// terminals — the same principle the rest of the CLI already follows.
// Emphasis/selection that needs a "highlight box" uses reverse video
// (Modifier::REVERSED) at the call site instead of a fixed background.
// Background: defer to the terminal's default background.
pub const BG: Color = Reset;
// Surface (panels): also the terminal background — no forced fill.
pub const SURFACE: Color = Reset;
// Text: the terminal's default foreground.
pub const TEXT: Color = Reset;
// Dimmed text: secondary info (counts, dates, badges, hints).
pub const TEXT_DIM: Color = DarkGray;
// Subtle: borders, separators when inactive.
pub const SUBTLE: Color = DarkGray;
// Subgroup labels.
pub const SUBGROUP: Color = Yellow;
// User dir labels.
pub const USER_DIR: Color = Magenta;
// Accent: panel titles, expand/collapse icons, shortcut keys, bullets.
pub const ACCENT: Color = Cyan;
// Active panel border.
pub const BORDER_ACTIVE: Color = Cyan;
// Semantic colors.
pub const GREEN: Color = Green;
pub const YELLOW: Color = Yellow;
pub const RED: Color = Red;
// Border type: rounded corners
pub const BORDER_TYPE: BorderType = Rounded;