appearance: better on colours

This commit is contained in:
2 * r + 2 * t 2025-05-04 17:10:58 +10:00
parent b7b8e5c5a5
commit 83020b8b1f

View file

@ -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);
}