summaryrefslogtreecommitdiff
path: root/components/SimpleResource.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/SimpleResource.qml')
-rw-r--r--components/SimpleResource.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/SimpleResource.qml b/components/SimpleResource.qml
index b6b321b..eac09d5 100644
--- a/components/SimpleResource.qml
+++ b/components/SimpleResource.qml
@@ -40,12 +40,12 @@ Item {
Icon {
text: !root.isAlt ? root.icon : root.altIcon
- color: root.value < root.thresholdL1 ? WallustColors.color15 : root.value >= root.thresholdL3 ? root.thresholdColorL3 : root.value >= root.thresholdL2 ? root.thresholdColorL2 : root.thresholdColorL1
+ color: root.value < root.thresholdL1 ? Colors.foreground2 : root.value >= root.thresholdL3 ? root.thresholdColorL3 : root.value >= root.thresholdL2 ? root.thresholdColorL2 : root.thresholdColorL1
}
IText {
animate: true
text: !root.isAlt ? root.text : root.altText
- color: root.value < root.thresholdL1 ? WallustColors.foreground : root.value >= root.thresholdL3 ? root.thresholdColorL3 : root.value >= root.thresholdL2 ? root.thresholdColorL2 : root.thresholdColorL1
+ color: root.value < root.thresholdL1 ? Colors.foreground1 : root.value >= root.thresholdL3 ? root.thresholdColorL3 : root.value >= root.thresholdL2 ? root.thresholdColorL2 : root.thresholdColorL1
}
Item {