diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-06 21:52:04 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-06 14:04:36 -0800 |
commit | 74586d792230447384967fe1765e2ed562281e8a (patch) | |
tree | be30433cc98066b4435a31e73072619784751624 | |
parent | cbb8866b089d3366611d2fff68da892e0ed8be20 (diff) | |
download | subsurface-74586d792230447384967fe1765e2ed562281e8a.tar.gz |
Add some compatibility extensions to theme and unit
- This allows us to use these new things without changing much in our
own code, things now work again.
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-mobile/main.qml | 4 | ||||
-rw-r--r-- | qt-mobile/theme/Theme.qml | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index 5c8c04b2c..e9cfb5b74 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -17,10 +17,14 @@ ApplicationWindow { Theme.Units { id: units + property int spacing: Math.ceil(gridUnit / 3) } Theme.Theme { id: theme + /* Added for subsurface */ + property color accentColor: "#2d5b9a" + property color accentTextColor: "#ececec" } Menu { diff --git a/qt-mobile/theme/Theme.qml b/qt-mobile/theme/Theme.qml index faf96f96f..2c51ae00f 100644 --- a/qt-mobile/theme/Theme.qml +++ b/qt-mobile/theme/Theme.qml @@ -54,5 +54,4 @@ QtObject { property color complementaryBackgroundColor: Qt.rgba(0,0,0, 0.54) property color complementaryHoverColor: "#2196F3" property color complementaryFocusColor: "#2196F3" - } |