1
0
Fork 0
flightgear/src/GUI/qml/Style.qml
James Turner 01f05b5383 Launcher: styling improvements everywhere
Use a standard text component to ensure the base font size can be
controlled centrally.
2018-06-21 22:54:37 +01:00

34 lines
998 B
QML

pragma Singleton
import QtQml 2.0
QtObject
{
readonly property int margin: 8
readonly property int roundRadius: 6
readonly property int inset: 20
readonly property int strutSize: 50
readonly property string frameColor: "#68A6E1"
readonly property string minorFrameColor: "#9f9f9f"
readonly property string themeColor: "#1b7ad3"
readonly property string destructiveActionColor: "#c62703"
readonly property string activeColor: Qt.darker(themeColor)
readonly property string inactiveThemeColor: "#9f9f9f"
readonly property string disabledThemeColor: disabledTextColor
readonly property string disabledMinorFrameColor: "#afafaf"
readonly property string baseTextColor: "#2f2f2f"
readonly property int baseFontPixelSize: 12
readonly property int subHeadingFontPixelSize: 14
readonly property int headingFontPixelSize: 18
readonly property string disabledTextColor: "#6f6f6f"
readonly property double panelOpacity: 0.7
}