summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Desktop/TextFieldStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Desktop/TextFieldStyle.qml')
-rw-r--r--src/controls/Styles/Desktop/TextFieldStyle.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controls/Styles/Desktop/TextFieldStyle.qml b/src/controls/Styles/Desktop/TextFieldStyle.qml
index 5c623b80..585df03d 100644
--- a/src/controls/Styles/Desktop/TextFieldStyle.qml
+++ b/src/controls/Styles/Desktop/TextFieldStyle.qml
@@ -54,10 +54,10 @@ Style {
hover: hovered
hints: control.styleHints
- property color textColor: __syspal.text
+ property color textColor: SystemPaletteSingleton.text(control.enabled)
property color placeholderTextColor: "darkGray"
- property color selectionColor: __syspal.highlight
- property color selectedTextColor: __syspal.highlightedText
+ property color selectionColor: SystemPaletteSingleton.highlight(control.enabled)
+ property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled)
property bool rounded: !!hints["rounded"]