41 lines
771 B
QML
41 lines
771 B
QML
pragma Singleton
|
|
|
|
import QtCore
|
|
import QtQuick
|
|
|
|
Item
|
|
{
|
|
readonly property FontLoader robotoCondensed: FontLoader
|
|
{
|
|
source: "qrc:/fonts/RobotoCondensed.otf"
|
|
}
|
|
|
|
readonly property font body:
|
|
({
|
|
family: robotoCondensed.font,
|
|
pointSize: 16,
|
|
weight: Font.Medium,
|
|
letterSpacing: 0,
|
|
kerning: true,
|
|
})
|
|
|
|
readonly property font h1:
|
|
({
|
|
family: body.family,
|
|
pointSize: 38,
|
|
weight: body.weight,
|
|
letterSpacing: body.letterSpacing,
|
|
kerning: body.kerning,
|
|
})
|
|
|
|
readonly property font dash:
|
|
({
|
|
family: body.family,
|
|
pointSize: 10,
|
|
weight: body.weight,
|
|
letterSpacing: body.letterSpacing,
|
|
kerning: body.kerning,
|
|
})
|
|
|
|
}
|