summaryrefslogtreecommitdiff
path: root/Label.qml
blob: 89404108376cc7f02d2e0a78c589fed90ecb9212 (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
import QtQuick.Templates
import Bootstrap

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
}