summaryrefslogtreecommitdiffstats
path: root/manual/src/choosing-colors-styles.md
diff options
context:
space:
mode:
Diffstat (limited to 'manual/src/choosing-colors-styles.md')
-rw-r--r--manual/src/choosing-colors-styles.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/manual/src/choosing-colors-styles.md b/manual/src/choosing-colors-styles.md
index 37c95635..2b053d6b 100644
--- a/manual/src/choosing-colors-styles.md
+++ b/manual/src/choosing-colors-styles.md
@@ -1,5 +1,14 @@
# Choosing colors (styles)
+Delta detects your terminal background color automatically and chooses appropriate default colors.
+To override automatic detection use `dark` or `light`, e.g.
+
+```gitconfig
+[delta]
+ dark = true
+```
+This is necessary when running delta in some contexts such as `lazygit` or `zellij`.
+
All options that have a name like `--*-style` work in the same way. It is very similar to how
colors/styles are specified in a gitconfig file:
<https://git-scm.com/docs/git-config#Documentation/git-config.txt-color>