From 83020b8b1f7954a146dcfb8d6dba2148dbeaec1c Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 4 May 2025 17:10:58 +1000 Subject: appearance: better on colours --- config/Appearance.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') 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); } -- cgit v1.2.3-freya