summaryrefslogtreecommitdiff
path: root/config/Appearance.qml
diff options
context:
space:
mode:
Diffstat (limited to 'config/Appearance.qml')
-rw-r--r--config/Appearance.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/Appearance.qml b/config/Appearance.qml
index a80f010..b17b125 100644
--- a/config/Appearance.qml
+++ b/config/Appearance.qml
@@ -27,6 +27,10 @@ Singleton {
return c;
}
+ function on(c: color): color {
+ return Qt.hsla(c.hslHue, c.hslSaturation, 0.2, 1);
+ }
+
FileView {
path: `${StandardPaths.standardLocations(StandardPaths.GenericStateLocation)[0]}/caelestia/scheme/current-mode.txt`
watchChanges: true