mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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 {
|
Theme.Units {
|
||||||
id: units
|
id: units
|
||||||
|
property int spacing: Math.ceil(gridUnit / 3)
|
||||||
}
|
}
|
||||||
|
|
||||||
Theme.Theme {
|
Theme.Theme {
|
||||||
id: theme
|
id: theme
|
||||||
|
/* Added for subsurface */
|
||||||
|
property color accentColor: "#2d5b9a"
|
||||||
|
property color accentTextColor: "#ececec"
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
|
|
|
@ -54,5 +54,4 @@ QtObject {
|
||||||
property color complementaryBackgroundColor: Qt.rgba(0,0,0, 0.54)
|
property color complementaryBackgroundColor: Qt.rgba(0,0,0, 0.54)
|
||||||
property color complementaryHoverColor: "#2196F3"
|
property color complementaryHoverColor: "#2196F3"
|
||||||
property color complementaryFocusColor: "#2196F3"
|
property color complementaryFocusColor: "#2196F3"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue