📝 add filename coloring explanation between LS_COLOR and theme

Signed-off-by: zwPapEr <zw.paper@gmail.com>
This commit is contained in:
zwPapEr 2021-09-09 12:00:35 +08:00 committed by Abin Simon
parent fc7d2337ab
commit d58a7a3656
2 changed files with 6 additions and 2 deletions

View file

@ -327,6 +327,12 @@ when configured with the `theme-file-name` which is a `yaml` file,
Check [Theme file content](#theme-file-content) for details.
### Filename coloring
`lsd` use both [LS_COLORS](https://github.com/trapd00r/LS_COLORS) and this theme feature to
colorize the filename, `lsd` will use the color and format option defined in `LS_COLORS`,
and then the theme configurations if no `LS_COLOR` are found.
### Theme file content
Theme file use the [crossterm](https://crates.io/crates/crossterm)

View file

@ -100,8 +100,6 @@ pub enum IconTheme {
Fancy,
}
impl IconTheme {}
impl Configurable<Self> for IconTheme {
/// Get a potential `IconTheme` variant from [ArgMatches].
///