config/git/diffr: add light mode

This commit is contained in:
xeruf 2024-06-29 02:08:31 +03:00
parent d2643396e6
commit 4cde39d48e
3 changed files with 9 additions and 4 deletions

View File

@ -1,4 +0,0 @@
[core]
pager = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less --RAW-CONTROL-CHARS --quit-on-intr
[interactive]
diffFilter = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33

1
.config/git/diffr Symbolic link
View File

@ -0,0 +1 @@
diffr-dark

4
.config/git/diffr-dark Normal file
View File

@ -0,0 +1,4 @@
[core]
pager = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33 | less --RAW-CONTROL-CHARS --quit-on-intr
[interactive]
diffFilter = diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33

4
.config/git/diffr-light Normal file
View File

@ -0,0 +1,4 @@
[core]
pager = diffr --colors refine-added:none:background:0x88,0xff,0x88:bold --colors added:none:background:0xaa,0xdd,0xaa --colors refine-removed:none:background:0xff,0x99,0x99:bold --colors removed:none:background:0xdd,0xaa,0xaa | less --RAW-CONTROL-CHARS --quit-on-intr
[interactive]
diffFilter = diffr --colors refine-added:none:background:0x88,0xff,0x88:bold --colors added:none:background:0xaa,0xdd,0xaa --colors refine-removed:none:background:0xff,0x99,0x99:bold --colors removed:none:background:0xdd,0xaa,0xaa