mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add diff colors for other color schemes
This commit is contained in:
parent
93ddd73c31
commit
3e6a84d903
@ -929,4 +929,3 @@ class DiffView(QWidget): # {{{
|
|||||||
self.scrollbar.setValue(self.scrollbar.value() + d * amount)
|
self.scrollbar.setValue(self.scrollbar.value() + d * amount)
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# TODO: Add diff colors for other color schemes
|
|
||||||
|
@ -61,6 +61,11 @@ SOLARIZED = \
|
|||||||
|
|
||||||
Error us=wave uc={red}
|
Error us=wave uc={red}
|
||||||
Tooltip fg=black bg=ffffed
|
Tooltip fg=black bg=ffffed
|
||||||
|
|
||||||
|
DiffDelete bg={base02} fg={red}
|
||||||
|
DiffInsert bg={base02} fg={green}
|
||||||
|
DiffReplace bg={base02} fg={blue}
|
||||||
|
DiffReplaceReplace bg={base03}
|
||||||
'''
|
'''
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
@ -97,6 +102,11 @@ THEMES = {
|
|||||||
Error us=wave uc=red
|
Error us=wave uc=red
|
||||||
SpecialCharacter bg={cursor_loc}
|
SpecialCharacter bg={cursor_loc}
|
||||||
|
|
||||||
|
DiffDelete bg=341414 fg=642424
|
||||||
|
DiffInsert bg=143414 fg=246424
|
||||||
|
DiffReplace bg=141434 fg=242464
|
||||||
|
DiffReplaceReplace bg=002050
|
||||||
|
|
||||||
'''.format(
|
'''.format(
|
||||||
cursor_loc='323232',
|
cursor_loc='323232',
|
||||||
identifier='cae682',
|
identifier='cae682',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user