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

Fix color scheme for light terminals #25

Merged
3 commits merged into from
Jul 25, 2019
Merged

Fix color scheme for light terminals #25

3 commits merged into from
Jul 25, 2019

Conversation

vks
Copy link
Contributor

@vks vks commented Jul 24, 2019

Fixes #13.

Due to the way colors work in the terminal, I had to change the color scheme for dark terminals as well.

I also tried to make the coloring of the entries and the mark pane more consistent.

vks and others added 3 commits July 24, 2019 14:34
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.
This required passing the information whether a path is a directory
accordingly.
@ghost ghost merged commit fa7daf1 into Byron:master Jul 25, 2019
@ghost
Copy link

ghost commented Jul 25, 2019

Awesome, thank you so much! I will cut a new release today :).

@vks vks deleted the light-terminal branch July 25, 2019 08:30
This pull request was closed.
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

Successfully merging this pull request may close these issues.

_dua interactive_ only looks good with dark-themed terminals
1 participant