feat: fontbuilder to streamline font styling
This commit is contained in:
@@ -23,8 +23,7 @@ Row {
|
||||
MaterialIcon {
|
||||
anchors.centerIn: parent
|
||||
fill: 1
|
||||
font.pointSize: Math.floor(info.implicitHeight / 2) || 1
|
||||
grade: 200
|
||||
fontStyle: Tokens.font.icon.large
|
||||
text: "person"
|
||||
}
|
||||
|
||||
@@ -65,7 +64,6 @@ Row {
|
||||
anchors.leftMargin: icon.anchors.leftMargin
|
||||
anchors.verticalCenter: icon.verticalCenter
|
||||
elide: Text.ElideRight
|
||||
font.pointSize: 13
|
||||
text: `: ${SystemInfo.osPrettyName || SystemInfo.osName}`
|
||||
width: Config.dashboard.sizes.infoWidth
|
||||
}
|
||||
@@ -103,7 +101,7 @@ Row {
|
||||
anchors.leftMargin: (Config.dashboard.sizes.infoIconSize - implicitWidth) / 2
|
||||
color: line.colour
|
||||
fill: 1
|
||||
font.pointSize: 13
|
||||
fontStyle: Tokens.font.icon.small
|
||||
text: line.icon
|
||||
}
|
||||
|
||||
@@ -114,7 +112,6 @@ Row {
|
||||
anchors.leftMargin: icon.anchors.leftMargin
|
||||
anchors.verticalCenter: icon.verticalCenter
|
||||
elide: Text.ElideNone
|
||||
font.pointSize: 13
|
||||
text: `: ${line.text}`
|
||||
width: Config.dashboard.sizes.infoWidth
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user