Abin Simon
Abin Simon
Anyone who is interested in contributing a theme, feel free to drop it here. Once we accumulate a few, we can start a wiki page for it.
You could paste the yaml file for config here and optionally include the `LS_COLORS` value.
@zwpaper One possibility that I can think of is https://github.com/Peltoche/lsd/blob/1a63ccced0203f2131ad26682da849b16aa66a5d/src/color.rs#L246. But from what I understand this is correct as per https://github.com/crossterm-rs/crossterm/blob/db956267f80744b1d8ab08dcd7d92ee21b7a60f2/src/style/types/color.rs#L126 . I am NOT able to reproduce the difference...
`LS_COLORS` works as expected. The reason why you did not see a change is probably because this is close to the default.
I have a feeling that this may be linked to https://github.com/Peltoche/lsd/issues/248
I think I was able to track down what is going on. Taking the example of `di=1;34`, in `lscolors`, 34 is mapped to `lscolors::Colors::Blue` (https://github.com/sharkdp/lscolors/blob/c6e191b91f637058ba932a4f7b065f2e19d8a1ba/src/style.rs#L245) which was initially a `ansi_term`...
Sorry for the delay, but I did some more digging on this. The 34 comes from `ansi-term` using just 8 colors and it is equivalent to 4 in `crossterm` which...
@zwpaper Could you set `export LS_COLORS="di=01;31"` and see if `/tmp/one/lsd-0.20.1-x86_64-unknown-linux-gnu/lsd && \ls --color=always && lsd` gives you the same colors. It won't be the same shade of red as me,...
@OldWorldOrdr Could you try building `lsd` after applying this patch and see if it uses the old colors. ```diff diff --git a/src/color.rs b/src/color.rs index b5636bf..fedad32 100644 --- a/src/color.rs +++ b/src/color.rs...
@zwpaper Yeah, same for me. In fact, if I switch it using the diff I mentioned it gives me different colors compared to gnu ls. What I have no clue...