initial commit for media widget update + anim tokens restructure
C++ / fmt (pull_request) Successful in 4s
JS/TS / fmt (pull_request) Successful in 20s
JS/TS / lint (pull_request) Successful in 22s
Python / static (pull_request) Successful in 57s
Rust / fmt (pull_request) Successful in 1m2s
C++ / build (pull_request) Successful in 2m10s
Rust / build (pull_request) Successful in 1m50s
Rust / clippy (pull_request) Successful in 1m25s
Python / verify (pull_request) Successful in 2m58s
C++ / clang-tidy (pull_request) Successful in 7m8s

This commit is contained in:
2026-08-18 16:14:41 +02:00
parent 8ec454306f
commit 7d6f3cc275
162 changed files with 1385 additions and 1080 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ PageBase {
CustomText {
Layout.alignment: Qt.AlignHCenter
color: Colors.palette.m3onSurfaceVariant
font.pointSize: Tokens.font.size.medium
font.pointSize: Tokens.font.size.normal
text: ZUtils.version ? `v${ZUtils.version}` : "…"
}
}
+2 -2
View File
@@ -50,7 +50,7 @@ PageBase {
anchors.fill: parent
anchors.leftMargin: Tokens.padding.largeIncreased
anchors.margins: Tokens.padding.normal
anchors.margins: Tokens.padding.small
anchors.rightMargin: Tokens.padding.largeIncreased
spacing: Tokens.spacing.small
@@ -91,7 +91,7 @@ PageBase {
MaterialIcon {
color: Colors.palette.m3onSurfaceVariant
font.pointSize: Tokens.font.size.medium
font.pointSize: Tokens.font.size.normal
text: "chevron_right"
}
}
+5 -5
View File
@@ -40,10 +40,10 @@ PageBase {
// Header
RowLayout {
Layout.bottomMargin: Tokens.spacing.large
Layout.bottomMargin: Tokens.spacing.largeIncreased
Layout.fillWidth: true
Layout.leftMargin: Tokens.padding.small
spacing: Tokens.spacing.large
Layout.leftMargin: Tokens.padding.extraSmall
spacing: Tokens.spacing.largeIncreased
IconImage {
asynchronous: true
@@ -57,7 +57,7 @@ PageBase {
CustomText {
Layout.fillWidth: true
font.pointSize: Tokens.font.size.medium
font.pointSize: Tokens.font.size.normal
text: root.app?.name ?? ""
wrapMode: Text.WordWrap
}
@@ -144,7 +144,7 @@ PageBase {
anchors.fill: parent
anchors.leftMargin: Tokens.padding.largeIncreased
anchors.margins: Tokens.padding.normal
anchors.margins: Tokens.padding.small
anchors.rightMargin: Tokens.padding.largeIncreased
spacing: Tokens.spacing.small
+1 -1
View File
@@ -138,7 +138,7 @@ PageBase {
id: itemLayout
anchors.fill: parent
anchors.margins: Tokens.padding.normal
anchors.margins: Tokens.padding.small
spacing: Tokens.spacing.small
IconImage {
+1 -1
View File
@@ -26,7 +26,7 @@ PageBase {
CustomText {
Layout.bottomMargin: Tokens.spacing.small
Layout.fillWidth: true
Layout.leftMargin: Tokens.padding.small
Layout.leftMargin: Tokens.padding.extraSmall
color: Colors.palette.m3outline
font.pointSize: Tokens.font.size.small
text: qsTr("Adjust the volume of individual apps currently playing audio.")
+5 -5
View File
@@ -52,7 +52,7 @@ PageBase {
// Input
SliderRow {
Layout.topMargin: Tokens.spacing.large - parent.spacing
Layout.topMargin: Tokens.spacing.largeIncreased - parent.spacing
enabled: !Audio.sourceMuted
first: true
icon: Icons.getMicVolumeIcon(Audio.sourceVolume, Audio.sourceMuted)
@@ -84,7 +84,7 @@ PageBase {
// Per-app volumes
ConnectedRect {
Layout.fillWidth: true
Layout.topMargin: Tokens.spacing.large - parent.spacing
Layout.topMargin: Tokens.spacing.largeIncreased - parent.spacing
first: true
implicitHeight: appLayout.implicitHeight + appLayout.anchors.margins * 2
last: true
@@ -98,12 +98,12 @@ PageBase {
anchors.fill: parent
anchors.leftMargin: Tokens.padding.largeIncreased
anchors.margins: Tokens.padding.normal
anchors.margins: Tokens.padding.small
anchors.rightMargin: Tokens.padding.largeIncreased
spacing: Tokens.spacing.small
MaterialIcon {
font.pointSize: Tokens.font.size.medium
font.pointSize: Tokens.font.size.normal
text: "tune"
}
@@ -130,7 +130,7 @@ PageBase {
MaterialIcon {
color: Colors.palette.m3onSurfaceVariant
font.pointSize: Tokens.font.size.medium
font.pointSize: Tokens.font.size.normal
text: "chevron_right"
}
}
@@ -24,7 +24,7 @@ PageBase {
width: root.cappedWidth
CustomText {
Layout.topMargin: Tokens.spacing.large
Layout.topMargin: Tokens.spacing.largeIncreased
font.pointSize: Tokens.font.size.large
text: qsTr("Wallpapers")
}
@@ -73,7 +73,7 @@ PageBase {
sourceComponent: CustomRect {
color: Colors.tPalette.m3surfaceContainer
implicitHeight: noWallsLayout.implicitHeight + Tokens.padding.extraLarge * 3
radius: Tokens.rounding.large
radius: Tokens.rounding.largeIncreased
ColumnLayout {
id: noWallsLayout
+2 -2
View File
@@ -18,7 +18,7 @@ PageBase {
ColumnLayout {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
spacing: Tokens.spacing.large
spacing: Tokens.spacing.largeIncreased
width: root.cappedWidth
Item {
@@ -42,7 +42,7 @@ PageBase {
shapeMorph: true
text: qsTr("Wallpapers")
type: IconTextButton.Tonal
verticalPadding: Tokens.padding.normal
verticalPadding: Tokens.padding.small
onClicked: root.sState.openSubPage(1) // Wallpaper page
}