You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I have been searching for about 10 minutes and cannot seem to find a way to activate this theme. The themes.gitconfig lists no theme called "github" and I can't find reference to it anywhere else in the documentation.
This is unfortunate since the default theme appears to be made for dark terminals, and the result (on my default MacOS terminal) has very poor contrast and color accessibility which makes it more difficult to read than regular git diff.
The text was updated successfully, but these errors were encountered:
Hi @toolness, use syntax-theme = GitHub to select the GitHub syntax-highlighting theme. (You can also specify light = true and GitHub will be selected as the default syntax-highlighting theme for light terminal backgrounds). You can use delta --list-syntax-themes and delta --show-syntax-themes to view the syntax highlighting themes. In general, delta --help is the point-of-truth documentation for all available delta configuration.
There's a distinction between "theme" and "syntax-highlighting theme", which is described here: https://dandavison.github.io/delta/custom-themes.html Basically a "theme" is a broader concept; one thing you can specify in a "theme" is the "syntax-highlighting theme".
As mentioned in dandavison#1072, the macOS default terminal is light and it's challenging to find documentation on how to make delta copacetic with it, so this adds an explicit `light = false` in the `.gitconfig` example, with a comment explaining that it can be changed for light terminals.
* Add 'light = false' w/ comment in gitconfig
As mentioned in #1072, the macOS default terminal is light and it's challenging to find documentation on how to make delta copacetic with it, so this adds an explicit `light = false` in the `.gitconfig` example, with a comment explaining that it can be changed for light terminals.
* Update README.md
fix indentation
Hello!
Your README mentions a "github" theme with a link to this screenshot:
However, I have been searching for about 10 minutes and cannot seem to find a way to activate this theme. The
themes.gitconfig
lists no theme called "github" and I can't find reference to it anywhere else in the documentation.This is unfortunate since the default theme appears to be made for dark terminals, and the result (on my default MacOS terminal) has very poor contrast and color accessibility which makes it more difficult to read than regular
git diff
.The text was updated successfully, but these errors were encountered: