lsd-rs/lsd

Add `ls_colors` option to theme

Offen

#608 geöffnet am 17.01.2022

 (2 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)Rust (434 Forks)batch import
area/themegood first issuekind/enhancement

Repository-Metriken

Stars
 (13.400 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 34T 3h) (2 gemergte PRs in 30 T)

Beschreibung

As of now, we support theme for colors, and still use ls_colors for file name colors, how about adding the ls_colors option to the theme configuration file, and so that we can configure all the colors in one place.

also, there is something that needs to be covered:

  1. the ls_colors in the theme should be optional, and fall back to LS_COLORS env
  2. the one in themes should overwrite the env one

@meain

Contributor Guide