Fix #1929896 [[Enhancement - Viewer] Make contrast in dark team a little better in viewer controls](https://bugs.launchpad.net/calibre/+bug/1929896)

This commit is contained in:
Kovid Goyal 2021-05-28 08:35:10 +05:30
parent ae21888f90
commit 89c9a48c2b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -9,6 +9,7 @@ LIGHT_GRADIENT = 'linear-gradient(to bottom, {}, {})'.format(LIGHT, LIGHT_DARKER
DT_DARK = '#2d2d2d'
DT_DARK_DARKER = 'black'
DT_DARK_LIGHTER = '#777'
DT_DARK_LIGTHER_CONTRAST = '#1d1d1d'
DT_LIGHT = '#ddd'
DARK_GRADIENT = 'linear-gradient(to bottom, {}, {})'.format(DT_DARK_LIGHTER, DT_DARK)
@ -27,13 +28,13 @@ DEFAULT_COLORS = {
# Top bar specific colors
'bar-background': c(DARK, DT_DARK_LIGHTER),
'bar-foreground': c(LIGHT, DT_DARK),
'bar-foreground': c(LIGHT, DT_DARK_LIGTHER_CONTRAST),
'bar-highlight': c('yellow'),
'heart': c('#B92111'),
# Item list colors
'list-hover-background': c(DARK, DT_DARK_LIGHTER),
'list-hover-foreground': c(LIGHT, DT_DARK),
'list-hover-foreground': c(LIGHT, DT_DARK_LIGTHER_CONTRAST),
# Tree colors
'tree-highlight-item': c(LIGHT_DARKER, DT_DARK_LIGHTER),