upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-19 16:24:33 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-19 16:24:33 +0000
commit1d58ee5b01e28f77f736c9f415e0cc869a244cc6 (patch)
tree43181c1dafed01089112ec7980004b3b91f84034 /grasp-audit
parent9372ad649b6c438b1e4645f1dbe95c0f648bb80d (diff)
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.
Diffstat (limited to 'grasp-audit')
-rw-r--r--grasp-audit/src/result.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/grasp-audit/src/result.rs b/grasp-audit/src/result.rs
index 4e0e1b1..ae3ef26 100644
--- a/grasp-audit/src/result.rs
+++ b/grasp-audit/src/result.rs
@@ -5,8 +5,8 @@ use std::collections::BTreeMap;
5use std::time::{Duration, Instant}; 5use std::time::{Duration, Instant};
6 6
7// ANSI color codes 7// ANSI color codes
8const GREEN: &str = "\x1b[32m"; 8const GREEN: &str = "\x1b[1;92m"; // Bold bright green - ANSI standard for high visibility
9const RED: &str = "\x1b[31m"; 9const RED: &str = "\x1b[1;91m"; // Bold bright red - ANSI standard for high visibility
10const YELLOW: &str = "\x1b[33m"; 10const YELLOW: &str = "\x1b[33m";
11const BLUE: &str = "\x1b[34m"; 11const BLUE: &str = "\x1b[34m";
12const CYAN: &str = "\x1b[36m"; 12const CYAN: &str = "\x1b[36m";