mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
Theme colors for inode and links are now being applied to the output
This commit is contained in:
parent
907214cb39
commit
c2cf835916
1 changed files with 2 additions and 6 deletions
|
@ -116,8 +116,8 @@ impl Elem {
|
|||
Elem::FileLarge => theme.size.large,
|
||||
Elem::FileMedium => theme.size.medium,
|
||||
Elem::FileSmall => theme.size.small,
|
||||
Elem::INode { valid: false } => theme.inode.valid,
|
||||
Elem::INode { valid: true } => theme.inode.invalid,
|
||||
Elem::INode { valid: true } => theme.inode.valid,
|
||||
Elem::INode { valid: false } => theme.inode.invalid,
|
||||
Elem::TreeEdge => theme.tree_edge,
|
||||
Elem::Links { valid: false } => theme.links.invalid,
|
||||
Elem::Links { valid: true } => theme.links.valid,
|
||||
|
@ -227,10 +227,6 @@ impl Colors {
|
|||
Elem::CharDevice => Some("cd"),
|
||||
Elem::BrokenSymLink => Some("or"),
|
||||
Elem::MissingSymLinkTarget => Some("mi"),
|
||||
Elem::INode { valid } | Elem::Links { valid } => match valid {
|
||||
true => Some("so"),
|
||||
false => Some("no"),
|
||||
},
|
||||
_ => None,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue