mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
fix(cli): Better match rustc's color choices
I missed that rustc was using "bright" colors
This commit is contained in:
parent
56eef884d7
commit
686e4cebe8
1 changed files with 2 additions and 2 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue