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);
14
15#[cfg(feature = "clap")]
16pub const CLAP_STYLING: clap::builder::styling::Styles = clap::builder::styling::Styles::styled()
17 .header(HEADER)
18 .usage(USAGE)
19 .literal(LITERAL)
20 .placeholder(PLACEHOLDER)
21 .error(ERROR)
22 .valid(VALID)
23 .invalid(INVALID);
24