summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/theme/Theme.qml2
-rw-r--r--qt-mobile/theme/Units.qml9
2 files changed, 8 insertions, 3 deletions
diff --git a/qt-mobile/theme/Theme.qml b/qt-mobile/theme/Theme.qml
index 021b2f2aa..c4cfbf077 100644
--- a/qt-mobile/theme/Theme.qml
+++ b/qt-mobile/theme/Theme.qml
@@ -1,7 +1,7 @@
import QtQuick 2.3
QtObject {
- property color accentColor: "#114d6f"
+ property color accentColor: "#2d5b9a"
property color accentTextColor: "#ececec"
property color textColor: "#333333"
property color backgroundColor: "#ececec"
diff --git a/qt-mobile/theme/Units.qml b/qt-mobile/theme/Units.qml
index 6b477b089..d4b4aa774 100644
--- a/qt-mobile/theme/Units.qml
+++ b/qt-mobile/theme/Units.qml
@@ -1,6 +1,11 @@
import QtQuick 2.3
-QtObject {
- property int gridUnit: 24
+Item {
+ property int gridUnit: unitsM.paintedHeight
property int spacing: gridUnit / 3
+
+ Text {
+ id: unitsM
+ text: "M"
+ }
} \ No newline at end of file