summaryrefslogtreecommitdiff
path: root/imports/Bootstrap/Bootstrap.qml
blob: f5035e899a2983d473feb3a296ae6cd310fe10f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pragma Singleton
import QtQuick 2.15

QtObject {
	enum Mode {
		Light,
		Dark
	}
	readonly property int mode: Bootstrap.Mode.Light

	readonly property font bodyFont: Qt.font({
		family: "Roboto",
		pointSize: 15.0,
		weight: Font.Normal
	})
	readonly property color bodyColor: mode ? "#a1a1a8" : "#747579"
	readonly property color bodyBg: mode ? "#222529" : "#fff"
	readonly property color headingColor: mode ? "#fff" : "#24292d"
	readonly property color borderColor: mode ? "#12ffffff" : "#eff1f2"
}