fix(cli): Better match rustc's color choices

I missed that rustc was using "bright" colors
This commit is contained in:
Ed Page 2023-10-27 09:16:29 -05:00
parent 56eef884d7
commit 686e4cebe8

View file

@ -8,8 +8,8 @@ use unicode_width::UnicodeWidthStr;
use typos_cli::report::{Context, Message, Report, Typo};
const ERROR: anstyle::Style = anstyle::AnsiColor::Red.on_default();
const INFO: anstyle::Style = anstyle::AnsiColor::Blue.on_default();
const ERROR: anstyle::Style = anstyle::AnsiColor::BrightRed.on_default();
const INFO: anstyle::Style = anstyle::AnsiColor::BrightBlue.on_default();
const STRONG: anstyle::Style = anstyle::Style::new().effects(anstyle::Effects::BOLD);
pub struct MessageStatus<'r> {