summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 15:09:43 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 15:09:43 +1000
commitc5acf769812bd6edd5ba8a59d7a3dabe3acfab4e (patch)
treebb47b35612b9482625fa641f213c5a8a6b978196 /services
parentinternal: fix types for lsp (diff)
downloadcaelestia-shell-c5acf769812bd6edd5ba8a59d7a3dabe3acfab4e.tar.gz
caelestia-shell-c5acf769812bd6edd5ba8a59d7a3dabe3acfab4e.tar.bz2
caelestia-shell-c5acf769812bd6edd5ba8a59d7a3dabe3acfab4e.zip
internal: change colour palette type name
Cause qmlls doesnt like overlapping names
Diffstat (limited to 'services')
-rw-r--r--services/Colours.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/Colours.qml b/services/Colours.qml
index 554a244..47df15b 100644
--- a/services/Colours.qml
+++ b/services/Colours.qml
@@ -15,9 +15,9 @@ Singleton {
property string scheme
property string flavour
property bool light
- readonly property Colours palette: showPreview ? preview : current
- readonly property Colours current: Colours {}
- readonly property Colours preview: Colours {}
+ readonly property M3Palette palette: showPreview ? preview : current
+ readonly property M3Palette current: M3Palette {}
+ readonly property M3Palette preview: M3Palette {}
readonly property Transparency transparency: Transparency {}
function alpha(c: color, layer: bool): color {
@@ -70,7 +70,7 @@ Singleton {
readonly property real layers: 0.58
}
- component Colours: QtObject {
+ component M3Palette: QtObject {
property color m3primary_paletteKeyColor: "#7870AB"
property color m3secondary_paletteKeyColor: "#78748A"
property color m3tertiary_paletteKeyColor: "#976A7D"