mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
fix(grasp-audit): improve color readability with bold bright colors
Changes RED from standard red (\x1b[31m) to bold bright red (\x1b[1;91m) and GREEN from standard green (\x1b[32m) to bold bright green (\x1b[1;92m). This follows ANSI/ISO standards (ECMA-48) and matches industry best practices used by Rust/Cargo and other modern CLI tools. Bold bright colors provide significantly better readability on dark terminal backgrounds while maintaining maximum compatibility with all terminals. Addresses user feedback that red color was too hard to read.
This commit is contained in:
@@ -5,8 +5,8 @@ use std::collections::BTreeMap;
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
// ANSI color codes
|
||||
const GREEN: &str = "\x1b[32m";
|
||||
const RED: &str = "\x1b[31m";
|
||||
const GREEN: &str = "\x1b[1;92m"; // Bold bright green - ANSI standard for high visibility
|
||||
const RED: &str = "\x1b[1;91m"; // Bold bright red - ANSI standard for high visibility
|
||||
const YELLOW: &str = "\x1b[33m";
|
||||
const BLUE: &str = "\x1b[34m";
|
||||
const CYAN: &str = "\x1b[36m";
|
||||
|
||||
Reference in New Issue
Block a user