#
cargo/util/
style.rs

    1use anstyle::*;
    2
    3pub const NOP: Style = Style::new();
    4pub const HEADER: Style = AnsiColor::BrightGreen.on_default().effects(Effects::BOLD);
    5pub const USAGE: Style = AnsiColor::BrightGreen.on_default().effects(Effects::BOLD);
    6pub const LITERAL: Style = AnsiColor::BrightCyan.on_default().effects(Effects::BOLD);
    7pub const PLACEHOLDER: Style = AnsiColor::Cyan.on_default();
    8pub const ERROR: Style = annotate_snippets::renderer::DEFAULT_ERROR_STYLE;
    9pub const WARN: Style = annotate_snippets::renderer::DEFAULT_WARNING_STYLE;
    10pub const NOTE: Style = annotate_snippets::renderer::DEFAULT_NOTE_STYLE;
    11pub const GOOD: Style = AnsiColor::BrightGreen.on_default().effects(Effects::BOLD);
    12pub const VALID: Style = AnsiColor::BrightCyan.on_default().effects(Effects::BOLD);
    13pub const INVALID: Style = annotate_snippets::renderer::DEFAULT_WARNING_STYLE;
    14pub const TRANSIENT: Style = annotate_snippets::renderer::DEFAULT_HELP_STYLE;