summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/StatisticsPage.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-17 17:47:14 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-19 12:42:48 -0800
commit5f6d223184d2b79f9125b2969d4163d72089377d (patch)
treed48192fadc76ffe4a0f9ad14f75ee9809d5a9802 /mobile-widgets/qml/StatisticsPage.qml
parentda43bd096f64c1b9a8e6a8660c6a3e77af5e9383 (diff)
downloadsubsurface-5f6d223184d2b79f9125b2969d4163d72089377d.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qml/StatisticsPage.qml')
-rw-r--r--mobile-widgets/qml/StatisticsPage.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/StatisticsPage.qml b/mobile-widgets/qml/StatisticsPage.qml
index 7ad70271e..97d504222 100644
--- a/mobile-widgets/qml/StatisticsPage.qml
+++ b/mobile-widgets/qml/StatisticsPage.qml
@@ -15,6 +15,7 @@ Kirigami.Page {
bottomPadding: 0
width: rootItem.width
implicitWidth: rootItem.width
+ background: Rectangle { color: subsurfaceTheme.backgroundColor }
property bool wide: width > rootItem.height
StatsManager {
id: statsManager
@@ -56,6 +57,7 @@ Kirigami.Page {
Label {
text: chartName
font.bold: isHeader
+ color: subsurfaceTheme.textColor
}
}
}