summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-04 17:10:58 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-04 17:10:58 +1000
commit83020b8b1f7954a146dcfb8d6dba2148dbeaec1c (patch)
treedffb30d5d6046a8244812c51d2760409d93f95c1
parentlauncher: fix wallpaper searching (diff)
downloadcaelestia-shell-83020b8b1f7954a146dcfb8d6dba2148dbeaec1c.tar.gz
caelestia-shell-83020b8b1f7954a146dcfb8d6dba2148dbeaec1c.tar.bz2
caelestia-shell-83020b8b1f7954a146dcfb8d6dba2148dbeaec1c.zip
appearance: better on colours
-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);
}