diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/IText.qml | 2 | ||||
| -rw-r--r-- | components/Icon.qml | 2 | ||||
| -rw-r--r-- | components/SimpleResource.qml | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/components/IText.qml b/components/IText.qml index fb9aed9..ad36d09 100644 --- a/components/IText.qml +++ b/components/IText.qml @@ -13,7 +13,7 @@ Text { // renderType: Text.NativeRendering textFormat: Text.PlainText - color: WallustColors.foreground + color: Colors.foreground1 font { family: Style.font.family.iosevka diff --git a/components/Icon.qml b/components/Icon.qml index 58660e5..e72f737 100644 --- a/components/Icon.qml +++ b/components/Icon.qml @@ -9,7 +9,7 @@ IText { property real fill: 0 property real truncatedFill: Math.round(fill * 100) / 100 // Reduce memory consumption spikes from constant font remapping renderType: Text.NativeRendering - color: WallustColors.color15 + color: Colors.foreground2 font { // hintingPreference: Font.PreferFullHinting hintingPreference: Font.PreferNoHinting // so the icons dont just offset away 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 { |
