summaryrefslogtreecommitdiffstats
path: root/manual/src/choosing-colors-styles.md
blob: 37c956353f0c3baf7a3473fc1f4e8ab7eec820b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Choosing colors (styles)

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>

Here's an example:

```gitconfig
[delta]
    minus-style = red bold ul "#ffeeee"
```

That means: For removed lines, set the foreground (text) color to 'red', make it bold and underlined, and set the background color to `#ffeeee`.

For full details, see the `STYLES` section in [`delta --help`](./full---help-output.md).