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>
This commit is contained in:
Sebastian Kügler 2015-11-06 21:52:04 +00:00 committed by Dirk Hohndel
parent cbb8866b08
commit 74586d7922
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -54,5 +54,4 @@ QtObject {
property color complementaryBackgroundColor: Qt.rgba(0,0,0, 0.54)
property color complementaryHoverColor: "#2196F3"
property color complementaryFocusColor: "#2196F3"
}