diff --git a/src/main.rs b/src/main.rs index 735aca4..360b0c3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,24 +23,25 @@ const STASHED_PREFIX: &str = "\u{2691}"; // U+2691 BLACK FLAG // What to print before the number of staged files. +const STAGED_PREFIX: &str = "+"; // U+002B PLUS SIGN // What to print before the number of renamed files. const RENAMED_PREFIX: &str = "~"; // U+007E TILDE // What to print before the number of changed files. -const CHANGED_PREFIX: &str = "+"; // U+002B PLUS SIGN +const CHANGED_PREFIX: &str = "\u{2206}"; // U+2206 INCREMENT // What to print before the number of deleted files. const DELETED_PREFIX: &str = "\u{2212}"; // U+2212 MINUS SIGN // What to print before the number of conflicting files. -const CONFLICTED_PREFIX: &str = "\u{f655}"; // Nerd font nf-mdi-close +const CONFLICTED_PREFIX: &str = "\u{203c}"; // U+203C DOUBLE EXCLAMATION MARK // What to print before the number of untracked files. const UNTRACKED_PREFIX: &str = "\u{f142}"; // Nerd Font nf-fa-ellipsis_v // What to print before the number of ignored files. -const IGNORED_PREFIX: &str = "!"; // U+0021 EXCLAMATION MARK +const IGNORED_PREFIX: &str = "\u{eabc}"; // Nred Font nf-cod-circle // What to print if the branch is clean. const CLEAN_INDICATOR: &str = "\u{f00c}"; // Nerd Font nf-fa-check @@ -68,8 +69,8 @@ } fn changed_style() -> String { - return format!("%{{{}%}}", SetForegroundColor(Color::DarkMagenta)); -} + return format!("%{{{}%}}", SetForegroundColor(Color::DarkRed)); +} fn deleted_style() -> String { return format!("%{{{}%}}", SetForegroundColor(Color::DarkRed)); @@ -80,7 +81,7 @@ } fn untracked_style() -> String { - return format!("%{{{}%}}", SetForegroundColor(Color::DarkGreen)); + return format!("%{{{}%}}", SetForegroundColor(Color::Gray)); } fn ignored_style() -> String {