summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/HintsTextEdit.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 15:47:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 17:20:07 -0700
commite0f46b033d5f641e8bd78e665cbc9539977fa7cb (patch)
treee6480cb1407997286a71196d7aaa9454dacb32aa /mobile-widgets/qml/HintsTextEdit.qml
parent8f2fc84ae74b12d54b7a801624c27c05fa579582 (diff)
downloadsubsurface-e0f46b033d5f641e8bd78e665cbc9539977fa7cb.tar.gz
QML UI: attempt to add dark theme
This isn't great, yet, but a first step to show that this is possible (and in doing so I found quite a few spots where the colors weren't correctly propagating, yet). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/HintsTextEdit.qml')
-rw-r--r--mobile-widgets/qml/HintsTextEdit.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/HintsTextEdit.qml b/mobile-widgets/qml/HintsTextEdit.qml
index 556b9380d..5bf57207f 100644
--- a/mobile-widgets/qml/HintsTextEdit.qml
+++ b/mobile-widgets/qml/HintsTextEdit.qml
@@ -66,7 +66,7 @@ TextField {
}
}
background: Rectangle {
- color: Kirigami.Theme.viewBackgroundColor
+ color: subsurfaceTheme.backgroundColor
radius: 2
layer.enabled: true
layer.effect: DropShadow {
@@ -79,7 +79,7 @@ TextField {
color: Qt.rgba(0, 0, 0, 0.5)
}
Rectangle {
- color: Kirigami.Theme.viewBackgroundColor
+ color: subsurfaceTheme.backgroundColor
width: Kirigami.Units.gridUnit
height: width
rotation: 45