summaryrefslogtreecommitdiff
path: root/Label.qml
blob: 3b12c5d1996b7aa170ba5a8e8df78fbb7f745f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import QtQuick 2.15
import QtQuick.Templates 2.15
import Bootstrap 5.3

Label {
	id: control
	font {
		family: Bootstrap.heading
				? Bootstrap.headingFont.family
				: Bootstrap.bodyFont.family
		pointSize: Bootstrap.heading
				? Bootstrap.headingFontSize(parent.width)
				: Bootstrap.bodyFont.pointSize
		weight: Bootstrap.heading
				? Bootstrap.headingFont.weight
				: Bootstrap.bodyFont.weight
	}
	color: Bootstrap.heading
			? Bootstrap.headingColor
			: Bootstrap.bodyColor
	linkColor: control.palette.link
}