Skip to content

Commit 686e4ce

Browse files
committed
fix(cli): Better match rustc's color choices
I missed that rustc was using "bright" colors
1 parent 56eef88 commit 686e4ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/typos-cli/src/bin/typos-cli/report.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use unicode_width::UnicodeWidthStr;
88

99
use typos_cli::report::{Context, Message, Report, Typo};
1010

11-
const ERROR: anstyle::Style = anstyle::AnsiColor::Red.on_default();
12-
const INFO: anstyle::Style = anstyle::AnsiColor::Blue.on_default();
11+
const ERROR: anstyle::Style = anstyle::AnsiColor::BrightRed.on_default();
12+
const INFO: anstyle::Style = anstyle::AnsiColor::BrightBlue.on_default();
1313
const STRONG: anstyle::Style = anstyle::Style::new().effects(anstyle::Effects::BOLD);
1414

1515
pub struct MessageStatus<'r> {

0 commit comments

Comments
 (0)