summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorChiel ten Brinke <ctenbrinke@gmail.com>2022-01-13 11:04:53 +0100
committerDan Davison <dandavison7@gmail.com>2022-01-25 12:04:58 -0500
commit603b80724200b31a35ac6bed6f9e160b922e0f40 (patch)
tree34ff8ffd90d05ff92fd28aa98102f04cd18fb947 /manual
parent9436b0541813f7358627fe0692c98c0a9839fa52 (diff)
Contribute zebra features
Diffstat (limited to 'manual')
-rw-r--r--manual/src/color-moved-support.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/manual/src/color-moved-support.md b/manual/src/color-moved-support.md
index 5f4c42fc..cd301221 100644
--- a/manual/src/color-moved-support.md
+++ b/manual/src/color-moved-support.md
@@ -20,6 +20,13 @@ This feature allows all of git's color-moved options to be rendered using delta
map-styles = bold purple => syntax magenta, bold cyan => syntax blue
```
+There is a pair of features provided in [themes.config](https://github.com/chtenb/delta/blob/master/themes.gitconfig) called `zebra-dark` and `zebra-light` which utilise the moved colors by displaying them as a faint background color on the affected lines while keeping syntax highlighting as the foreground color. You can enable one of these features by stacking it upon the theme you are using.
+
+<table><tr>
+ <td><img width=600px src="https://user-images.githubusercontent.com/1030961/149756321-d9e885fe-206c-4e08-8c40-e0ed5969b04a.png" alt="image" /></td>
+ <td><img width=600px src="https://user-images.githubusercontent.com/1030961/149756332-ce8a4e2a-7487-4880-a151-761872657a28.png" alt="image" /></td>
+</tr></table>
+
It is also possible to reference other styles.
```gitconfig