scheme setter, light mode?

This commit is contained in:
Zacharias-Brohn
2026-02-19 01:10:46 +01:00
parent 646f70a98d
commit 7f8a516b4b
16 changed files with 333 additions and 42 deletions
+8 -5
View File
@@ -13,7 +13,6 @@ Item {
id: root
implicitWidth: rowLayout.implicitWidth + rowLayout.anchors.leftMargin + rowLayout.anchors.rightMargin
implicitHeight: 34
property color textColor: DynamicColors.palette.m3tertiaryFixed
clip: true
Rectangle {
@@ -41,46 +40,50 @@ Item {
Layout.alignment: Qt.AlignVCenter
font.pixelSize: 18
text: "memory_alt"
color: root.textColor
color: DynamicColors.palette.m3primary
}
Resource {
percentage: ResourceUsage.memoryUsedPercentage
warningThreshold: 95
mainColor: DynamicColors.palette.m3primary
}
MaterialIcon {
Layout.alignment: Qt.AlignVCenter
font.pixelSize: 18
text: "memory"
color: root.textColor
color: DynamicColors.palette.m3secondary
}
Resource {
percentage: ResourceUsage.cpuUsage
warningThreshold: 80
mainColor: DynamicColors.palette.m3secondary
}
MaterialIcon {
Layout.alignment: Qt.AlignVCenter
font.pixelSize: 18
text: "gamepad"
color: root.textColor
color: DynamicColors.palette.m3tertiary
}
Resource {
percentage: ResourceUsage.gpuUsage
mainColor: DynamicColors.palette.m3tertiary
}
MaterialIcon {
Layout.alignment: Qt.AlignVCenter
font.pixelSize: 18
text: "developer_board"
color: root.textColor
color: DynamicColors.palette.m3primary
}
Resource {
percentage: ResourceUsage.gpuMemUsage
mainColor: DynamicColors.palette.m3primary
}
}
}