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

dark theme doesn't match repo and is hard to read #79

Closed
hoshsadiq opened this issue Jan 7, 2020 · 4 comments
Closed

dark theme doesn't match repo and is hard to read #79

hoshsadiq opened this issue Jan 7, 2020 · 4 comments

Comments

@hoshsadiq
Copy link

Hello, I'm unable to replicate the dark theme on the README here. This is the diff for git diff 13e39b1~10. This is not necessarily an issue with delta, and could very well be my terminal setup in general. How can I go about debugging what the reason is for this? The annoying thing is this is a similar output even when I use a different theme.

Screenshot from 2020-01-07 03-02-00

@hoshsadiq
Copy link
Author

This seems to be an issue with tmux and alacritty, in that, 24 bit colours aren't properly set up. Adding below to my .tmux.conf fixed the issue.

set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"

@hoshsadiq
Copy link
Author

Also see alacritty/alacritty#109

@dandavison
Copy link
Owner

Great, sorry I didn't reply to this before you fixed it! Let me know if the README can be improved.

@fabian-thomas
Copy link

Note that the COLORTERM env var needs to be set correctly too. This is especially important when using delta over ssh, since ssh usually discards COLORTERM.

export COLORTERM=truecolor

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

3 participants