aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-22 16:40:16 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-23 09:44:39 -0800
commit9621b884964b66830378aa7cfcb03dd1e69933b6 (patch)
tree6fd53ff4beccadfa54f6f55554a92051a8798778 /mobile-widgets/qml
parent336decd30c8614b9778051c79f457421e4baf3e7 (diff)
downloadsubsurface-9621b884964b66830378aa7cfcb03dd1e69933b6.tar.gz
mobile/UI: improve theming of spin box
Those are used for the rating / visibility when editing dives. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/TemplateSpinBox.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/TemplateSpinBox.qml b/mobile-widgets/qml/TemplateSpinBox.qml
index 51f26aa66..5cb60aef1 100644
--- a/mobile-widgets/qml/TemplateSpinBox.qml
+++ b/mobile-widgets/qml/TemplateSpinBox.qml
@@ -33,7 +33,7 @@ SpinBox {
Text {
text: "+"
font.pixelSize: control.font.pixelSize * 2
- color: control.enabled ? subsurfaceTheme.textColor : subsurfaceTheme.disabledTextColor
+ color: control.enabled ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.disabledTextColor
anchors.fill: parent
fontSizeMode: Text.Fit
horizontalAlignment: Text.AlignHCenter
@@ -51,7 +51,7 @@ SpinBox {
Text {
text: "-"
font.pixelSize: control.font.pixelSize * 2
- color: control.enabled ? subsurfaceTheme.textColor : subsurfaceTheme.disabledTextColor
+ color: control.enabled ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.disabledTextColor
anchors.fill: parent
fontSizeMode: Text.Fit
horizontalAlignment: Text.AlignHCenter