Skip to content

where does eza get default colors from? #706

Discussion options

You must be logged in to vote

The colors themselves are "hardcoded", meaning e.g. config type files are yellow, dirs are blue, etc... just using ansi escape codes from ansiterm that will obviously show up differently depending on the specific color scheme you have setup with your specific terminal that determines exactly which hue to display for each of the color options. 👍

The problem is I don't know how else you would do this, as (to my knowledge) that is essentially the only way to colored text in a terminal. I know LSD has a config file you can use to specify color preferences (that is something we are working on too, currently you have to use ENV_VAR's for eza to change the colors of certain things).

Hope this an…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by soloturn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants