From ef3a464f3ffa5eb00544f7b8d8c3164ecb4cb39c Mon Sep 17 00:00:00 2001 From: Lonnie Watson Date: Tue, 17 Nov 2026 15:51:53 -0500 Subject: [PATCH] Qualify the palette as Commons.Color for Qt 6.12 Qt 6.12's QtQuick exports its own Color type, which shadows the shell's qs.Commons Color singleton, so bare Color.x resolves to undefined and the plugin loses its theme colours. Import qs.Commons as Commons and use Commons.Color, as Omarchy does since omacom/omarchy#14553. Co-Authored-By: Claude Opus 5.5 --- Panel.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Panel.qml b/Panel.qml index fae358e..eb4b6ee 100644 --- a/Panel.qml +++ b/Panel.qml @@ -3,6 +3,7 @@ import QtQuick.Controls import Quickshell import Quickshell.Io import qs.Commons +import qs.Commons as Commons import qs.Ui Panel { @@ -10,8 +11,8 @@ Panel { moduleName: "plugin-manager" ipcTarget: "plugin-manager" - readonly property color foreground: bar ? bar.foreground : Color.foreground - readonly property color accent: Color.accent + readonly property color foreground: bar ? bar.foreground : Commons.Color.foreground + readonly property color accent: Commons.Color.accent readonly property color dim: Qt.darker(foreground, 1.55) readonly property string fontFamily: bar ? bar.fontFamily : Style.font.family readonly property string pluginIcon: String.fromCodePoint(0xf0431)