()
| 140 | /// Light theme — darker accents on light terminal background. |
| 141 | #[must_use] |
| 142 | pub fn light() -> Self { |
| 143 | let fg = Color::Rgb(30, 30, 30); |
| 144 | let muted_fg = Color::Rgb(120, 120, 120); |
| 145 | let border_color = Color::Rgb(180, 200, 170); |
| 146 | let title_bg = Color::Rgb(220, 235, 210); |
| 147 | let cursor_bg = Color::Rgb(230, 245, 220); |
| 148 | let selection_bg = Color::Rgb(215, 235, 200); |
| 149 | |
| 150 | Self { |
| 151 | text: Style::new().fg(fg), |
| 152 | muted: Style::new().fg(muted_fg), |
| 153 | heading: Style::new().fg(fg).add_modifier(Modifier::BOLD), |
| 154 | |
| 155 | accent: Style::new().fg(brand::NVIDIA_GREEN_DARK), |
| 156 | accent_bold: Style::new() |
| 157 | .fg(brand::NVIDIA_GREEN_DARK) |
| 158 | .add_modifier(Modifier::BOLD), |
| 159 | |
| 160 | selected: Style::new().add_modifier(Modifier::BOLD), |
| 161 | |
| 162 | border: Style::new().fg(border_color), |
| 163 | border_focused: Style::new().fg(brand::NVIDIA_GREEN_DARK), |
| 164 | |
| 165 | status_ok: Style::new().fg(brand::NVIDIA_GREEN_DARK), |
| 166 | status_warn: Style::new().fg(Color::Rgb(180, 140, 0)), |
| 167 | status_err: Style::new().fg(Color::Rgb(200, 40, 40)), |
| 168 | |
| 169 | key_hint: Style::new().fg(brand::NVIDIA_GREEN_DARK), |
| 170 | |
| 171 | log_cursor: Style::new().bg(cursor_bg), |
| 172 | log_selection: Style::new().bg(selection_bg), |
| 173 | |
| 174 | claw: Style::new().fg(brand::MAROON).add_modifier(Modifier::BOLD), |
| 175 | |
| 176 | title_bar: Style::new() |
| 177 | .fg(fg) |
| 178 | .bg(title_bg) |
| 179 | .add_modifier(Modifier::BOLD), |
| 180 | badge: Style::new() |
| 181 | .fg(Color::White) |
| 182 | .bg(brand::NVIDIA_GREEN_DARK) |
| 183 | .add_modifier(Modifier::BOLD), |
| 184 | } |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | /// Resolve a [`ThemeMode`] into a concrete [`Theme`]. |
nothing calls this directly
no outgoing calls
no test coverage detected