use anstyle::{AnsiColor, Color, Style};

pub fn clap_styles() -> clap::builder::Styles {
	clap::builder::Styles::styled()
		.usage(
			Style::new()
				.bold()
				.fg_color(Some(Color::Ansi(AnsiColor::Blue))),
		)
		.header(
			Style::new()
				.bold()
				.fg_color(Some(Color::Ansi(AnsiColor::Blue))),
		)
		.literal(
			Style::new()
				.bold()
				.fg_color(Some(Color::Ansi(AnsiColor::BrightBlack))),
		)
		.invalid(
			Style::new()
				.bold()
				.fg_color(Some(Color::Ansi(AnsiColor::Red))),
		)
		.error(
			Style::new()
				.bold()
				.fg_color(Some(Color::Ansi(AnsiColor::Red))),
		)
		.valid(
			Style::new()
				.bold()
				.underline()
				.fg_color(Some(Color::Ansi(AnsiColor::Green))),
		)
		.placeholder(Style::new().fg_color(Some(Color::Ansi(AnsiColor::White))))
}
