summaryrefslogtreecommitdiff
path: root/imports/Eduport/Eduport.qml
blob: e3b36dd481a334c1d8d7f9a850f9dae26a403ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pragma Singleton
import QtQuick 2.15

QtObject {
	readonly property real leadFontSize: 18.75
	readonly property real formControlFontSize: 16
	readonly property real h6FontSize: 15
	readonly property real formTextFontSize: 14

	readonly property FontLoader bold: FontLoader {
		source: "../../Heebo/Heebo-Bold.ttf"
	}
	readonly property FontLoader medium: FontLoader {
		source: "../../Heebo/Heebo-Medium.ttf"
	}
	readonly property FontLoader regular: FontLoader {
		source: "../../Heebo/Heebo-Regular.ttf"
	}
	readonly property font hFont: Qt.font({
		family: bold.name,
		weight: Font.Bold
	})
	readonly property font fwNormalFont: Qt.font({
		family: medium.name,
		weight: Font.Medium
	})
	readonly property font fwLightFont: Qt.font({
		family: regular.name,
		weight: Font.Normal
	})
}