summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/Appearance.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/Appearance.qml b/config/Appearance.qml
index 7773f37..a806aa1 100644
--- a/config/Appearance.qml
+++ b/config/Appearance.qml
@@ -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);
}