19fde9a959c5fc2a2480faefbe3638f927137e09
[feedingit] / psa_harmattan / feedingit / qml / Settings.qml
1 import Qt 4.7
2 Item {
3     property string mainTextColour: theme.inverted ? "white" : "black"
4     property string mainShadowColour: theme.inverted ? "black" : "white"
5     property int mainTextSize: 18
6     property string secondaryTextColour: theme.inverted?  "#7b97fd" : "#5c71bd"
7     property int secondaryTextSize: 14
8
9     property string backColour: theme.inverted? "#dddddd" : "#222222"
10
11     property bool hideReadFeeds: controller.getBooleanSetting("hideReadFeeds")
12     property bool hideReadArticles: controller.getBooleanSetting("hideReadArticles")
13
14     Component.onCompleted: {
15         theme.inverted = controller.getBooleanSetting("theme")
16     }
17 }