aboutsummaryrefslogtreecommitdiffstats
path: root/theme/components/Panel.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 14:57:41 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 14:57:41 +0200
commit5a6a4d13f173cb3a7a22ea7a189a5ef21b4dd929 (patch)
tree755742801741cb34ac7931513860ee88f8367c85 /theme/components/Panel.qml
parente89b6eb1eda0f412935e3e0cf6c53c84f00a483d (diff)
downloadsddm-theme-udt-5a6a4d13f173cb3a7a22ea7a189a5ef21b4dd929.tar.gz
sddm-theme-udt-5a6a4d13f173cb3a7a22ea7a189a5ef21b4dd929.zip
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.
Diffstat (limited to 'theme/components/Panel.qml')
-rw-r--r--theme/components/Panel.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/theme/components/Panel.qml b/theme/components/Panel.qml
index eac2c58..5cefd35 100644
--- a/theme/components/Panel.qml
+++ b/theme/components/Panel.qml
@@ -218,6 +218,12 @@ Item {
font.family: "Noto Sans"
palette.base: config.stringValue("surface0")
palette.text: config.stringValue("text")
+ palette.button: config.stringValue("surface0")
+ palette.buttonText: config.stringValue("text")
+ palette.window: config.stringValue("surface0")
+ palette.placeholderText: config.stringValue("overlay0")
+ palette.mid: config.stringValue("overlay1")
+ palette.dark: config.stringValue("subtext0")
palette.highlight: config.stringValue("accent")
palette.highlightedText: config.stringValue("base")
background: Rectangle {