summaryrefslogtreecommitdiff
path: root/imports/Eduport/Eduport.qml
blob: d2c783176c46ddbceaee21cf63891c4e5d24ff29 (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
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 font hFont: Qt.font({
		family: bold.name,
		weight: Font.Bold
	})
	readonly property font normalFont: Qt.font({
		family: medium.name,
		weight: Font.Medium
	})
}