From 5a6a4d13f173cb3a7a22ea7a189a5ef21b4dd929 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 14:57:41 +0200 Subject: fix: native-colour theme icons and palette-correct selector Draw a resolved icon-theme icon in the colours the theme ships; only the bundled fallback line art stays tinted to the palette. The session ComboBox read the system palette for text, background and the indicator, so its label was near-invisible and the double arrow came out an unrelated colour. Set buttonText/button/window/dark and the placeholder colour on the selector and the credential fields. --- theme/components/PowerBar.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'theme/components/PowerBar.qml') diff --git a/theme/components/PowerBar.qml b/theme/components/PowerBar.qml index 3d6b2c5..88bdee6 100644 --- a/theme/components/PowerBar.qml +++ b/theme/components/PowerBar.qml @@ -32,6 +32,11 @@ Row { height: 56 opacity: modelData.enabled ? 1 : 0.35 + // A resolved icon-theme path is drawn exactly as the theme ships + // it. Only the bundled line art is tinted to the palette. + readonly property bool themed: + modelData.icon !== "" && String(icon.source) === modelData.icon + Rectangle { anchors.fill: parent radius: 10 @@ -57,7 +62,7 @@ Row { MultiEffect { anchors.fill: icon source: icon - colorization: 1.0 + colorization: themed ? 0.0 : 1.0 colorizationColor: mouse.containsMouse && modelData.enabled ? config.stringValue("accent") : config.stringValue("subtext0") -- cgit v1.2.3