Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configurable colors [feature request] #160

Closed
Orangenhain opened this issue Apr 14, 2017 · 15 comments
Closed

configurable colors [feature request] #160

Orangenhain opened this issue Apr 14, 2017 · 15 comments

Comments

@Orangenhain
Copy link

It would be nice if we could have configurable colors.

Not just for the files (based on type) as #116 requests, but for all the other things as well (permissions, types of users, git status, ... whatever colurs.rs allows for.

@simonwiles
Copy link

I would appreciate this -- the default configuration puts the owner in bold, bright yellow, which makes it stand out ahead of all the other information. This is my own laptop, of course, a single-user system, so generally it is the least useful information of all (this is especially awkward in the --grid view). (In fact, tbh, I would remove the owner from my normal alias, if that was possible.)

@derryl
Copy link

derryl commented Aug 3, 2017

I, too, would love to see this. Thanks for building such an awesome tool!

@frankamp
Copy link

frankamp commented Aug 3, 2017

The blue for dates doesn't match the preview on the website frontend, which has lighter dates. The experience I have in my shell is very dark, so much so that it is hard to read.

image

The main website shows something much lighter

image

Perhaps this is an issue in its own right? Now that I look at it the font doesn't look the same either. And I see the website is trying to reproduce everything in html rather than screenshot the actual output so maybe my expectations are wrong.

Thanks for making it! I'll come back and check it out again a little down the line.

@ogham
Copy link
Owner

ogham commented Aug 4, 2017

@frankamp You’ve run into one of my long-time pet peeves: terminal emulators that have a horrible default colour for blue! Believe it or not, exa just uses normal blue as its date colour. Not even dark blue, normal blue.

In my opinion this is one of the things standing in the way of more programs adopting colours. If the experience is bad, command-line programs won’t change, and they won’t change, the emulators don’t need to make their colour schemes usable. There’s no reason why one of the standard 16 colours should be unreadable by default.

Anyway, I recommend you change the blue colour because otherwise you’ll start to miss things in other programs too.

@frankamp
Copy link

frankamp commented Aug 4, 2017

@ogham I don't quite understand how color is specified, but from your comment I take it 1) exa specifies a symbolic color, not a hex or other direct representation and 2) its my terminal (something between zsh and/or iTerm in my case) that is at fault for their choice of how to interpret "blue". That's interesting all by itself. It makes me wonder if there is something akin to that direct color representation that would give you more control over what the end user experiences. Again, thanks for putting a thing out in the world.

@nakal
Copy link

nakal commented Aug 6, 2017

It is not a solution to alter the colors globally, because even the original blue can be usable given it is used on different backgrounds and/or as background color. ls tools typically respect something like LSCOLORS environment.

I'd like to change the blue color to cyan and maybe adapt some other colors, too.

@jreidthompson
Copy link

i'll add my name to the list that would like to be able to configure colors -- i also use a scheme that makes some of the colors hard to read and would like to be able to adjust them accordingly

@kaushalmodi
Copy link

I came across this thread because of the same issue of the dark blue color for dates being difficult to read on black background terminals, as @frankamp reported. Would love to see some way to customize the various field colors, especially that dark blue.

@ogham How do you change the default blue color of a terminal. I use tmux in xterm.

@jdanford
Copy link

@kaushalmodi take a look at https://wiki.archlinux.org/index.php/Xterm#Colors

@kaushalmodi
Copy link

kaushalmodi commented Aug 15, 2017

@jdanford Thanks! That helped.

I set these to get a less bright yellow and a lighter blue:

! 3 - yellow
XTerm.VT100.color3: rgb:f3/dc/55
UXTerm.VT100.color3: rgb:f3/dc/55
! 4 - blue
XTerm.VT100.color4: cornflowerblue
UXTerm.VT100.color4: cornflowerblue

image

@ogham
Copy link
Owner

ogham commented Aug 31, 2017

Hey, what's going on here?

screen shot 2017-08-31 at 22 21 33

;)

(colors is a command in the Vagrant VM. Or at least, it will be soon)

@ogham ogham closed this as completed in f6b7b7f Sep 2, 2017
@fth86
Copy link

fth86 commented Mar 30, 2018

I really don't agree with the philosophy that seems to be accepted here by everyone: why should I have to change the colors of my surrounding environment (shell) just to change the colours that exa puts on the terminal? That is so very wrong.

The default colour configuration (colour-names: blue, green, brightred, etc.) is there to assist the user in theming. Not for giving applications the excuse to lack customizability.

All heavily-used and tried terminal applications (emacs, vim, GNU source-highlight, git ...)
let you configure colours separately. As they should. Why should the default configuration of my shell dictate how application output will have to look like?

exa looks horrible given my (very sensible) default shell colour configuration. That is nobody's fault, just the way things turned out to be. I'd really like to be able to change exa's colour output. Most preferably via an environment variable similar to $LS_COLORS.

@zegonix
Copy link

zegonix commented Apr 13, 2023

I recently installed and configured starship. While having its own issues, the system for customisation seems a lot more approachable and gives full control over the colors by using rgb values (e.g.: 0xAABBCC)

@ariasuni
Copy link
Collaborator

ariasuni commented Sep 6, 2023

I realize this is very late, but there is an EXA_COLORS environment variable now (since a while).

Also, exa is unmaintained (see #1243), and colors are more sensible in the active fork eza.

@nakal
Copy link

nakal commented Sep 7, 2023

Thank you for the hint with eza. Btw, it seems that the Debian package maintainer doesn't know that exa is dead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests