themes: brighten the highlight for the dark themes

Use a slightly brighter highlight color for the dark themes.  The low
contrast colors were hard to see.
This commit is contained in:
David Aguilar
2019-03-07 00:52:25 -08:00
parent 6fa8293691
commit d9de2d88fc
+4 -12
View File
@@ -136,14 +136,10 @@ class Theme(object):
)
lighter = qtutils.hsl_css(
color.hslHueF(),
color.hslSaturationF()*0.4,
color.lightnessF()*0.55
)
focus = qtutils.hsl_css(
color.hslHueF(),
color.hslSaturationF() * 3,
0.09
color.hslSaturationF()*0.7,
color.lightnessF()*0.6
)
focus = color_rgb
else:
background = '#edeef3'
field = '#ffffff'
@@ -160,11 +156,7 @@ class Theme(object):
color.hslSaturationF()*2,
0.92
)
focus = qtutils.hsl_css(
color.hslHueF(),
color.hslSaturationF(),
color.lightnessF()
)
focus = color_rgb
return """
/* regular widgets */