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>
This commit is contained in:
Dirk Hohndel 2017-06-21 15:47:29 -07:00
parent 8f2fc84ae7
commit e0f46b033d
5 changed files with 32 additions and 5 deletions

View file

@ -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