aboutsummaryrefslogtreecommitdiffstats
path: root/theme/components/Credentials.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/Credentials.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/Credentials.qml')
-rw-r--r--theme/components/Credentials.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/theme/components/Credentials.qml b/theme/components/Credentials.qml
index 2bfbaf5..ba5323c 100644
--- a/theme/components/Credentials.qml
+++ b/theme/components/Credentials.qml
@@ -128,6 +128,7 @@ Item {
color: config.stringValue("text")
palette.base: config.stringValue("surface0")
palette.text: config.stringValue("text")
+ palette.placeholderText: config.stringValue("overlay0")
palette.highlight: config.stringValue("accent")
palette.highlightedText: config.stringValue("base")
background: Rectangle {
@@ -157,6 +158,7 @@ Item {
color: config.stringValue("text")
palette.base: config.stringValue("surface0")
palette.text: config.stringValue("text")
+ palette.placeholderText: config.stringValue("overlay0")
palette.highlight: config.stringValue("accent")
palette.highlightedText: config.stringValue("base")
background: Rectangle {