diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-15 22:49:23 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-15 22:49:23 +0800 |
| commit | 089f500a2e0aaa39ca7d35ec788d7bece32cd68c (patch) | |
| tree | 0926cd93537549562c32d5a95c121183b62894d7 /components | |
| parent | 646235d5aa29e2aaf3a048a8a684efb16c784c43 (diff) | |
color: better default colors
Diffstat (limited to 'components')
| -rw-r--r-- | components/IText.qml | 1 | ||||
| -rw-r--r-- | components/SimpleResource.qml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/components/IText.qml b/components/IText.qml index 2810f31..fb9aed9 100644 --- a/components/IText.qml +++ b/components/IText.qml @@ -1,6 +1,7 @@ pragma ComponentBehavior: Bound import QtQuick + import qs.config Text { diff --git a/components/SimpleResource.qml b/components/SimpleResource.qml index 0775069..08d29b4 100644 --- a/components/SimpleResource.qml +++ b/components/SimpleResource.qml @@ -32,7 +32,7 @@ Item { Icon { text: root.icon - 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 ? WallustColors.color15 : root.value >= root.thresholdL3 ? root.thresholdColorL3 : root.value >= root.thresholdL2 ? root.thresholdColorL2 : root.thresholdColorL1 } IText { animate: true |
