Style Buttons, re-layout Login
This commit is contained in:
33
TeroStyle/Typography.qml
Normal file
33
TeroStyle/Typography.qml
Normal file
@@ -0,0 +1,33 @@
|
||||
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
|
||||
|
||||
})
|
||||
//
|
||||
// readonly property font h2: ({
|
||||
// family: regular.font,
|
||||
// pointSize: 38,
|
||||
// weight: Font.Normal
|
||||
// })
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user