feat: colors

This commit is contained in:
neoarz
2026-01-07 15:20:48 -05:00
parent 20868595a8
commit 0f84471a9f
9 changed files with 109 additions and 40 deletions

View File

@@ -78,8 +78,8 @@ pub fn get_storage_info() -> String {
let read_only = (fs.f_flags & MNT_RDONLY) != 0;
let mut result = format!(
"{:.2} GiB / {:.2} GiB ({:.0}%)",
used_gib, total_gib, percentage
"{:.2} GiB / {:.2} GiB ({})",
used_gib, total_gib, crate::output::colors::percent(percentage)
);
if !filesystem.is_empty() {