-
Notifications
You must be signed in to change notification settings - Fork 112
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
_dua interactive_ only looks good with dark-themed terminals #13
Comments
I think that the easiest solution is not to use the white color at all, but instead maybe just use bold regular or some other color. exa, for example, prints directories in blue. |
That's what I ended up doing, but I wish there were a more elegant solution. |
The problem is this line, which sets the background to white for light-themed terminals, which is also chosen as a background color. Setting it to any other color fixes the readability issue. To not change the look on dark-themed terminals, the color has to be set to black, which looks bad on light-themed terminals. Unfortunately, it is not possible to detect the background color of the terminal. I suggest review any use of |
This is done by making sure that we never have a background that is black or white combined with a foreground that uses the terminal's default and vice versa. Because we cannot access the default terminal colors, we have to rely on inverted colors and bold text for highlighting. Also, the mark pane was improved to be more consistent with the entries pane. Ideally, we would use the same color as in the entries pane, but this is currently not possible, because the mark pane does not know whether a path is a directory or not. Fixes Byron#13.
Compare the images
The text was updated successfully, but these errors were encountered: