aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/SwitchDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/SwitchDelegate.qml')
-rw-r--r--src/imports/controls/SwitchDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/SwitchDelegate.qml b/src/imports/controls/SwitchDelegate.qml
index 4bbc3403..decec965 100644
--- a/src/imports/controls/SwitchDelegate.qml
+++ b/src/imports/controls/SwitchDelegate.qml
@@ -67,7 +67,7 @@ T.SwitchDelegate {
text: control.text
font: control.font
- color: control.enabled ? "#26282a" : "#bdbebf"
+ color: control.enabled ? Default.textDarkColor : Default.textDisabledColor
elide: Text.ElideRight
visible: control.text
horizontalAlignment: Text.AlignLeft
@@ -80,7 +80,7 @@ T.SwitchDelegate {
implicitWidth: 100
implicitHeight: 40
visible: control.down || control.highlighted
- color: control.down ? "#bdbebf" : "#eeeeee"
+ color: control.down ? Default.delegatePressedColor : Default.delegateColor
}
//! [background]
}