change charging color

This commit is contained in:
2026-06-01 17:12:28 +02:00
parent 7eba84c8be
commit 9436acd626
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ Singleton {
readonly property var colors: {
if (deviceState === UPowerDeviceState.Charging || deviceState === UPowerDeviceState.FullyCharged)
return {
fg: DynamicColors.palette.m3primary,
bg: DynamicColors.palette.m3onPrimary
fg: DynamicColors.swapRG(DynamicColors.palette.m3error),
bg: DynamicColors.swapRG(DynamicColors.palette.m3onError)
};
else if (currentPerc <= 0.2)
return {