Skip to content

Commit

Permalink
chore: change color scheme to cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Apr 15, 2024
1 parent ce65c96 commit f20889a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ use clap::{Parser, Subcommand};
use std::io::{Error, ErrorKind};
use std::path::PathBuf;

const CMD_STYLE: Style = Style::new().bold();
const CMD_STYLE: Style = Style::new().bold().fg_color(Some(Ansi(AnsiColor::BrightCyan)));
const HEADER_STYLE: Style = Style::new()
.bold()
.underline()
.fg_color(Some(Ansi(AnsiColor::Blue)));
const PLACEHOLDER_STYLE: Style = Style::new().fg_color(Some(Ansi(AnsiColor::Green)));
.fg_color(Some(Ansi(AnsiColor::Green)));
const PLACEHOLDER_STYLE: Style = Style::new().fg_color(Some(Ansi(AnsiColor::BrightCyan)));
const STYLES: Styles = Styles::styled()
.literal(AnsiColor::BrightCyan.on_default().bold())
.placeholder(AnsiColor::BrightCyan.on_default());


const OPTIONS_PLACEHOLDER: &str = "{options}";
const SUBCOMMANDS_PLACEHOLDER: &str = "{subcommands}";
Expand Down Expand Up @@ -68,10 +71,6 @@ Print the graveyard path
}
}

const STYLES: Styles = Styles::styled()
.literal(AnsiColor::Magenta.on_default())
.placeholder(AnsiColor::Green.on_default());

#[derive(Parser, Debug, Default)]
#[command(
name = "rip",
Expand Down

0 comments on commit f20889a

Please sign in to comment.