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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
//! gitstack theme definitions
//!
//! A refined color palette inspired by Catppuccin Mocha.
//! All UI elements reference constants from this module.
use Color;
// =============================================================================
// Text hierarchy
// =============================================================================
/// Primary text (commit messages, selected items, etc.)
pub const TEXT: Color = Rgb;
/// Secondary text (author names, supplementary info)
pub const SUBTEXT1: Color = Rgb;
/// Tertiary text (separators, disabled items)
pub const SUBTEXT0: Color = Rgb;
/// Lowest contrast (faint dividers, hints)
pub const OVERLAY0: Color = Rgb;
// =============================================================================
// Surfaces (backgrounds)
// =============================================================================
/// Overlay background
pub const SURFACE0: Color = Rgb;
/// Selected line background
pub const SURFACE1: Color = Rgb;
/// Hover/focus background
pub const SURFACE2: Color = Rgb;
// =============================================================================
// Accent colors
// =============================================================================
/// Lavender: panel borders, titles
pub const LAVENDER: Color = Rgb;
/// Blue: branch names, links
pub const BLUE: Color = Rgb;
/// Sapphire: info display, commit types
pub const SAPPHIRE: Color = Rgb;
/// Sky: main branch graph
pub const SKY: Color = Rgb;
/// Teal: success, ahead
pub const TEAL: Color = Rgb;
/// Green: added lines, ahead badge
pub const GREEN: Color = Rgb;
/// Yellow: selection highlight, warnings
pub const YELLOW: Color = Rgb;
/// Peach: important, hash display
pub const PEACH: Color = Rgb;
/// Maroon: hot paths, dirty files
pub const MAROON: Color = Rgb;
/// Red: deleted lines, behind
pub const RED: Color = Rgb;
/// Mauve: merges, signals, scores
pub const MAUVE: Color = Rgb;
/// Pink: decorative, flamingo
pub const PINK: Color = Rgb;
/// Flamingo: auxiliary decoration
pub const FLAMINGO: Color = Rgb;
// =============================================================================
// Semantic colors (purpose-based aliases)
// =============================================================================
/// Border color (normal)
pub const BORDER: Color = OVERLAY0;
/// Selected cursor foreground
pub const SELECTED_FG: Color = YELLOW;
/// Diff addition
pub const DIFF_ADD: Color = GREEN;
/// Diff deletion
pub const DIFF_DEL: Color = RED;
/// File status: Added
pub const FILE_ADDED: Color = GREEN;
/// File status: Modified
pub const FILE_MODIFIED: Color = YELLOW;
/// File status: Deleted
pub const FILE_DELETED: Color = RED;
/// File status: Renamed
pub const FILE_RENAMED: Color = BLUE;
/// Key badge background
pub const KEY_BADGE_BG: Color = Rgb;
/// Key badge foreground
pub const KEY_BADGE_FG: Color = LAVENDER;
/// Key badge description text
pub const KEY_BADGE_DESC: Color = SUBTEXT1;
/// Separator line
pub const SEPARATOR: Color = Rgb;
// =============================================================================
// Dashboard-style panel colors
// =============================================================================
/// Dashboard: active panel border (green)
pub const PANEL_BORDER_ACTIVE: Color = GREEN;
/// Dashboard: inactive panel border
pub const PANEL_BORDER_INACTIVE: Color = OVERLAY0;
/// Dashboard: active panel title (green bold)
pub const PANEL_TITLE_ACTIVE: Color = GREEN;
/// Dashboard: inactive panel title
pub const PANEL_TITLE_INACTIVE: Color = SUBTEXT0;
/// Dashboard: selected line background color (blue-toned)
pub const SELECTED_LINE_BG: Color = Rgb;
/// Dashboard: unfocused selected line background color (faint)
pub const SELECTED_LINE_BG_INACTIVE: Color = Rgb;
/// Dashboard: footer key badge color
pub const FOOTER_KEY: Color = SAPPHIRE;
/// Dashboard: footer description text color
pub const FOOTER_DESC: Color = SUBTEXT1;
// =============================================================================
// Graph palette (12 colors -- soft and harmonious scheme)
// =============================================================================
/// Color palette used for graphs (12 colors)
///
/// Color scheme balancing visibility and aesthetics:
/// - Index 0: main branch (Sky -- translucent cyan)
/// - Index 1-11: evenly distributed across different hues
pub const GRAPH_PALETTE: = ;