feat: fontbuilder to streamline font styling

This commit is contained in:
2026-09-30 14:23:31 +02:00
parent 2c90339c77
commit f825e4d53b
115 changed files with 1687 additions and 916 deletions
+4 -6
View File
@@ -43,8 +43,7 @@ CustomRect {
value: root.percentage
Behavior on clampedVal {
Anim {
}
Anim {}
}
ColumnLayout {
@@ -56,14 +55,14 @@ CustomRect {
MaterialIcon {
Layout.alignment: Qt.AlignHCenter
color: root.accent
font.pointSize: Tokens.font.size.large
fontStyle: Tokens.font.icon.large
text: "hard_drive"
}
CustomText {
Layout.alignment: Qt.AlignHCenter
color: root.accent
font.pointSize: Tokens.font.size.large
font: Tokens.font.body.large
text: Math.round(root.percentage * 100) + "%"
}
@@ -112,8 +111,7 @@ CustomRect {
model: Storage.disks
DiskItem {
}
DiskItem {}
}
}
}