mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Keep only useful entries in the color theme
This commit is contained in:
parent
aa9e04aeb0
commit
0c25bb466c
@ -27,15 +27,9 @@ THEMES = {
|
|||||||
|
|
||||||
Cursor bg=656565
|
Cursor bg=656565
|
||||||
Normal fg=f6f3e8 bg=242424
|
Normal fg=f6f3e8 bg=242424
|
||||||
NonText fg=808080 bg=303030
|
|
||||||
LineNr fg=857b6f bg=000000
|
LineNr fg=857b6f bg=000000
|
||||||
StatusLine fg=f6f3e8 bg=444444 italic
|
LineNrC fg=yellow
|
||||||
StatusLineNC fg=857b6f bg=444444
|
|
||||||
VertSplit fg=444444 bg=444444
|
|
||||||
Folded bg=384048 fg=a0a8b0
|
|
||||||
Title fg=f6f3e8 bold
|
|
||||||
Visual fg=f6f3e8 bg=444444
|
Visual fg=f6f3e8 bg=444444
|
||||||
SpecialKey fg=808080 bg=343434
|
|
||||||
|
|
||||||
Comment fg=99968b
|
Comment fg=99968b
|
||||||
Todo fg=8f8f8f
|
Todo fg=8f8f8f
|
||||||
@ -75,6 +69,7 @@ def read_theme(raw):
|
|||||||
continue
|
continue
|
||||||
bold = italic = False
|
bold = italic = False
|
||||||
fg = bg = name = underline = underline_color = None
|
fg = bg = name = underline = underline_color = None
|
||||||
|
line = line.partition('#')[0]
|
||||||
for i, token in enumerate(line.split()):
|
for i, token in enumerate(line.split()):
|
||||||
if i == 0:
|
if i == 0:
|
||||||
name = token
|
name = token
|
||||||
|
Loading…
x
Reference in New Issue
Block a user