appearance: better on colours
This commit is contained in:
parent
b7b8e5c5a5
commit
83020b8b1f
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ Singleton {
|
|||
}
|
||||
|
||||
function on(c: color): color {
|
||||
if (c.hslLightness < 0.5)
|
||||
return Qt.hsla(c.hslHue, c.hslSaturation, 0.9, 1);
|
||||
return Qt.hsla(c.hslHue, c.hslSaturation, 0.2, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue