mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 16:24:53 +01:00
Add diff colors for other color schemes
This commit is contained in:
parent
93ddd73c31
commit
3e6a84d903
2 changed files with 10 additions and 1 deletions
|
|
@ -929,4 +929,3 @@ def keyPressEvent(self, ev):
|
|||
self.scrollbar.setValue(self.scrollbar.value() + d * amount)
|
||||
# }}}
|
||||
|
||||
# TODO: Add diff colors for other color schemes
|
||||
|
|
|
|||
|
|
@ -61,6 +61,11 @@ def default_theme():
|
|||
|
||||
Error us=wave uc={red}
|
||||
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 @@ def default_theme():
|
|||
Error us=wave uc=red
|
||||
SpecialCharacter bg={cursor_loc}
|
||||
|
||||
DiffDelete bg=341414 fg=642424
|
||||
DiffInsert bg=143414 fg=246424
|
||||
DiffReplace bg=141434 fg=242464
|
||||
DiffReplaceReplace bg=002050
|
||||
|
||||
'''.format(
|
||||
cursor_loc='323232',
|
||||
identifier='cae682',
|
||||
|
|
|
|||
Loading…
Reference in a new issue