Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Jul 16, 2024
1 parent a6be991 commit c81891e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ pub struct Theme {
pub dir_icon: &'static str,
pub cmd_icon: &'static str,
pub success_color: Color,
#[cfg(debug_assertions)] pub fail_color: Color,
#[cfg(debug_assertions)]
pub fail_color: Color,
}

pub const THEMES: [Theme; 2] = [
Expand All @@ -18,15 +19,17 @@ pub const THEMES: [Theme; 2] = [
dir_icon: "[DIR]",
cmd_icon: "[CMD]",
success_color: Color::Green,
#[cfg(debug_assertions)] fail_color: Color::Red,
#[cfg(debug_assertions)]
fail_color: Color::Red,
},
Theme {
dir_color: Color::Blue,
cmd_color: Color::Rgb(204, 224, 208),
dir_icon: "  ",
cmd_icon: "  ",
success_color: Color::Rgb(5, 255, 55),
#[cfg(debug_assertions)] fail_color: Color::Rgb(199, 55, 44),
#[cfg(debug_assertions)]
fail_color: Color::Rgb(199, 55, 44),
},
];

Expand Down

0 comments on commit c81891e

Please sign in to comment.