mobile/statistics: bare minimum dark theme support

The statistics themselves still are in a light theme, but at least the
rest of the UI now works in both regular and dark themes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-01-17 17:47:14 -08:00
parent da43bd096f
commit 5f6d223184

View file

@ -15,6 +15,7 @@ Kirigami.Page {
bottomPadding: 0 bottomPadding: 0
width: rootItem.width width: rootItem.width
implicitWidth: rootItem.width implicitWidth: rootItem.width
background: Rectangle { color: subsurfaceTheme.backgroundColor }
property bool wide: width > rootItem.height property bool wide: width > rootItem.height
StatsManager { StatsManager {
id: statsManager id: statsManager
@ -56,6 +57,7 @@ Kirigami.Page {
Label { Label {
text: chartName text: chartName
font.bold: isHeader font.bold: isHeader
color: subsurfaceTheme.textColor
} }
} }
} }