aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/qml/Style/Slider.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-09-10 16:15:01 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-09-27 11:39:47 +0000
commitfb6763fddfce329924ccb3678fbdf7875978a7ca (patch)
tree9a27d6b9c9ccbb5f954bb57c55c655fd3c59eedb /examples/quickcontrols2/wearable/qml/Style/Slider.qml
parent8a87193078d7a51c5a049e4698c44b0af43edbb3 (diff)
wearable: add a dark theme with a runtime switch on the Settings page
Change-Id: Iaa205c19aa413de7a5537f17f74d969547d5e558 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/qml/Style/Slider.qml')
-rw-r--r--examples/quickcontrols2/wearable/qml/Style/Slider.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Style/Slider.qml b/examples/quickcontrols2/wearable/qml/Style/Slider.qml
index 0f19fbca..cdff4aec 100644
--- a/examples/quickcontrols2/wearable/qml/Style/Slider.qml
+++ b/examples/quickcontrols2/wearable/qml/Style/Slider.qml
@@ -66,14 +66,14 @@ T.Slider {
radius: 5
color: control.pressed ? "#f0f0f0" : "#f6f6f6"
- border.color: UIStyle.colorQtGray7
+ border.color: UIStyle.themeColorQtGray7
}
background: Rectangle {
y: (control.height - height) / 2
height: 4
radius: 2
- color: UIStyle.colorQtGray3
+ color: UIStyle.themeColorQtGray3
Rectangle {
width: control.visualPosition * parent.width