From 783ff0368c4abdebb44360c3ac04f4dad282e4da Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Wed, 16 Jun 2021 16:45:04 +0300 Subject: [PATCH] default indicator:use colorizer manager colors --- indicators/default/package/ui/main.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indicators/default/package/ui/main.qml b/indicators/default/package/ui/main.qml index 6e132bbf8..be9a856ae 100644 --- a/indicators/default/package/ui/main.qml +++ b/indicators/default/package/ui/main.qml @@ -29,12 +29,12 @@ LatteComponents.IndicatorItem{ readonly property int thicknessMargin: screenEdgeMargin + thickLocalMargin + (glowEnabled ? 1 : 0) - property real textColorBrightness: colorBrightness(theme.textColor) + property real textColorBrightness: colorBrightness(indicator.palette.textColor) - property color isActiveColor: theme.buttonFocusColor + property color isActiveColor: indicator.palette.buttonFocusColor property color minimizedColor: { if (minimizedTaskColoredDifferently) { - return (textColorBrightness > 127.5 ? Qt.darker(theme.textColor, 1.7) : Qt.lighter(theme.textColor, 7)); + return (textColorBrightness > 127.5 ? Qt.darker(indicator.palette.textColor, 1.7) : Qt.lighter(indicator.palette.textColor, 7)); } return isActiveColor; @@ -104,7 +104,7 @@ LatteComponents.IndicatorItem{ location: plasmoid.location glowOpacity: root.glowOpacity contrastColor: indicator.shadowColor - attentionColor: theme.negativeTextColor + attentionColor: indicator.palette.negativeTextColor roundCorners: true showAttention: indicator.inAttention