fix(tui/auto-drive): adjust ansi16 title contrast

This commit is contained in:
James Peter
2025-12-22 19:57:25 +10:00
parent 6e333af869
commit 82ce59155f
+4 -3
View File
@@ -107,9 +107,10 @@ pub(crate) fn auto_drive_card_style() -> CardStyle {
if palette_mode() == PaletteMode::Ansi16 {
strip_ansi16_background(&mut style);
style.title_text = Color::White;
style.accent_fg = Color::White;
style.text_primary = Color::White;
let text_color = ansi16_inverse_color();
style.title_text = text_color;
style.accent_fg = text_color;
style.text_primary = text_color;
style.text_secondary = colors::warning();
}