From 686e4cebe8d77c0fa42f5d4e0f659dcfa2fb162e Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 27 Oct 2023 09:16:29 -0500 Subject: [PATCH] fix(cli): Better match rustc's color choices I missed that rustc was using "bright" colors --- crates/typos-cli/src/bin/typos-cli/report.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typos-cli/src/bin/typos-cli/report.rs b/crates/typos-cli/src/bin/typos-cli/report.rs index e834db4..17fb206 100644 --- a/crates/typos-cli/src/bin/typos-cli/report.rs +++ b/crates/typos-cli/src/bin/typos-cli/report.rs @@ -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> {