QML-UI: add more properties to Units and Theme

- colors for accentuation (background and text)
- text color to paint on highlights
- units.spacing (derived from gridUnit, so it's dpi-corrected)
- port main.qml, especially the application header to this theming and
  sizing

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-10-09 02:45:22 +02:00 committed by Dirk Hohndel
parent 431b5e07fe
commit 77fa4e37c8
3 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,10 @@
import QtQuick 2.3
QtObject {
property color accentColor: "#114d6f"
property color accentTextColor: "#ececec"
property color textColor: "#333333"
property color backgroundColor: "#ececec"
property color highlightColor: "#91c4e1"
property color highlightTextColor: "#333333"
}

View file

@ -2,4 +2,5 @@ import QtQuick 2.3
QtObject {
property int gridUnit: 24
property int spacing: gridUnit / 3
}