#
cargo/util/
style.rs

    1use anstyle::*;
    2
    3pub const NOP: Style = Style::new();
    4pub const HEADER: Style = AnsiColor::Green.on_default().effects(Effects::BOLD);
    5pub const USAGE: Style = AnsiColor::Green.on_default().effects(Effects::BOLD);
    6pub const LITERAL: Style = AnsiColor::Cyan.on_default().effects(Effects::BOLD);
    7pub const PLACEHOLDER: Style = AnsiColor::Cyan.on_default();
    8pub const ERROR: Style = AnsiColor::Red.on_default().effects(Effects::BOLD);
    9pub const WARN: Style = AnsiColor::Yellow.on_default().effects(Effects::BOLD);
    10pub const NOTE: Style = AnsiColor::Cyan.on_default().effects(Effects::BOLD);
    11pub const GOOD: Style = AnsiColor::Green.on_default().effects(Effects::BOLD);
    12pub const VALID: Style = AnsiColor::Cyan.on_default().effects(Effects::BOLD);
    13pub const INVALID: Style = AnsiColor::Yellow.on_default().effects(Effects::BOLD);