Skip to content

Commit

Permalink
Style help text (ordinals#4118)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Dec 3, 2024
1 parent 5749363 commit 331501d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ use {
#[command(
version,
styles = Styles::styled()
.header(AnsiColor::Green.on_default() | Effects::BOLD)
.usage(AnsiColor::Green.on_default() | Effects::BOLD)
.literal(AnsiColor::Blue.on_default() | Effects::BOLD)
.placeholder(AnsiColor::Cyan.on_default()))
]
.error(AnsiColor::Red.on_default() | Effects::BOLD)
.header(AnsiColor::Yellow.on_default() | Effects::BOLD)
.invalid(AnsiColor::Red.on_default())
.literal(AnsiColor::Blue.on_default())
.placeholder(AnsiColor::Cyan.on_default())
.usage(AnsiColor::Yellow.on_default() | Effects::BOLD)
.valid(AnsiColor::Green.on_default()),
)]
pub(crate) struct Arguments {
#[command(flatten)]
pub(crate) options: Options,
Expand Down

0 comments on commit 331501d

Please sign in to comment.