diff options
Diffstat (limited to 'src/color.rs')
-rw-r--r-- | src/color.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/color.rs b/src/color.rs index 8cb93c1..9a3a14b 100644 --- a/src/color.rs +++ b/src/color.rs @@ -38,6 +38,12 @@ pub enum Elem { Acl, Context, + /// Attributes + Archive, + AttributeRead, + Hidden, + System, + /// Last Time Modified DayOld, HourOld, @@ -112,6 +118,11 @@ impl Elem { Elem::Acl => theme.permission.acl, Elem::Context => theme.permission.context, + Elem::Archive => theme.attributes.archive, + Elem::AttributeRead => theme.attributes.read, + Elem::Hidden => theme.attributes.hidden, + Elem::System => theme.attributes.system, + Elem::DayOld => theme.date.day_old, Elem::HourOld => theme.date.hour_old, Elem::Older => theme.date.older, @@ -399,6 +410,12 @@ mod elem { acl: Color::DarkCyan, context: Color::Cyan, }, + attributes: color::Attributes { + read: Color::Green, + archive: Color::Yellow, + hidden: Color::Red, + system: Color::Magenta, + }, file_type: color::FileType { file: color::File { exec_uid: Color::AnsiValue(40), // Green3 |