summaryrefslogtreecommitdiff
path: root/gui/themes/ThemeObject.qml
blob: bd558e1b7e8638df1ab8844301e0952d09c57019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 2.3

QtObject {
    property var theme;
    // here we expose any var contained in 
    // the js file. This object can be accessed as the global 
    // customTheme, since it's loaded in main.qml
    // TODO it'd be real nice if we can implement a fallback mechanism so that any value defaults to the general theme.
    property string bgColor: theme.bgColor
    property string fgColor: theme.fgColor
    property string iconOn: theme.iconOn
    property string iconOff: theme.iconOff
    property string iconConnecting: theme.iconConnecting
    property string iconSplash: theme.iconSplash
}