mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-21 16:16:14 +02:00
fix(cli): Better match rustc's color choices
I missed that rustc was using "bright" colors
This commit is contained in:
1 parent
56eef884d7
commit
686e4cebe8
1 file changed
+2
-2
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user