From c5acf769812bd6edd5ba8a59d7a3dabe3acfab4e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 19 Jul 2025 15:09:43 +1000 Subject: internal: change colour palette type name Cause qmlls doesnt like overlapping names --- services/Colours.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'services/Colours.qml') 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" -- cgit v1.2.3-freya