mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:23:23 +00:00
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:
parent
cbb8866b08
commit
74586d7922
2 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -54,5 +54,4 @@ QtObject {
|
|||
property color complementaryBackgroundColor: Qt.rgba(0,0,0, 0.54)
|
||||
property color complementaryHoverColor: "#2196F3"
|
||||
property color complementaryFocusColor: "#2196F3"
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue