From 225f8571521ec7434ff94840d257149d91f710ac Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 7 Jan 2025 13:00:04 +0900 Subject: [PATCH] Replace use of midlight palette colour for secondary text with mid colour Improves visibility Signed-off-by: Claudio Cambra --- src/gui/macOS/ui/FileProviderFileDelegate.qml | 2 +- src/gui/macOS/ui/FileProviderSettings.qml | 2 +- src/gui/macOS/ui/FileProviderStorageInfo.qml | 2 +- src/gui/tray/ActivityList.qml | 2 +- src/gui/tray/ListItemLineAndSubline.qml | 2 +- src/gui/tray/NCBusyIndicator.qml | 2 +- src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml | 2 +- src/gui/tray/UnifiedSearchResultItem.qml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gui/macOS/ui/FileProviderFileDelegate.qml b/src/gui/macOS/ui/FileProviderFileDelegate.qml index 8bfdd034a559b..fc7d5c74208e0 100644 --- a/src/gui/macOS/ui/FileProviderFileDelegate.qml +++ b/src/gui/macOS/ui/FileProviderFileDelegate.qml @@ -81,7 +81,7 @@ Item { EnforcedPlainTextLabel { id: fileTypeLabel text: root.fileTypeString - color: palette.midlight + color: palette.mid } } } diff --git a/src/gui/macOS/ui/FileProviderSettings.qml b/src/gui/macOS/ui/FileProviderSettings.qml index e7d2e1ee5fbd2..d2a6bdf2bb971 100644 --- a/src/gui/macOS/ui/FileProviderSettings.qml +++ b/src/gui/macOS/ui/FileProviderSettings.qml @@ -74,7 +74,7 @@ Page { Rectangle { Layout.fillWidth: true height: Style.normalBorderWidth - color: palette.midlight + color: palette.mid } FileProviderSyncStatus { diff --git a/src/gui/macOS/ui/FileProviderStorageInfo.qml b/src/gui/macOS/ui/FileProviderStorageInfo.qml index 107f2abe53616..557f830fcea2a 100644 --- a/src/gui/macOS/ui/FileProviderStorageInfo.qml +++ b/src/gui/macOS/ui/FileProviderStorageInfo.qml @@ -48,7 +48,7 @@ GridLayout { Layout.fillWidth: true text: qsTr("%1 GB of %2 GB remote files synced").arg(root.localUsedStorage.toFixed(2)).arg(root.remoteUsedStorage.toFixed(2)); elide: Text.ElideRight - color: palette.midlight + color: palette.mid horizontalAlignment: Text.AlignRight } diff --git a/src/gui/tray/ActivityList.qml b/src/gui/tray/ActivityList.qml index 0e57289f8644a..0fa3723d2c807 100644 --- a/src/gui/tray/ActivityList.qml +++ b/src/gui/tray/ActivityList.qml @@ -126,7 +126,7 @@ ScrollView { verticalAlignment: Image.AlignVCenter horizontalAlignment: Image.AlignHCenter fillMode: Image.PreserveAspectFit - source: "image://svgimage-custom-color/activity.svg/" + palette.midlight + source: "image://svgimage-custom-color/activity.svg/" + palette.mid } EnforcedPlainTextLabel { diff --git a/src/gui/tray/ListItemLineAndSubline.qml b/src/gui/tray/ListItemLineAndSubline.qml index 84a0f1c6a56ee..e810c65baf795 100644 --- a/src/gui/tray/ListItemLineAndSubline.qml +++ b/src/gui/tray/ListItemLineAndSubline.qml @@ -30,7 +30,7 @@ ColumnLayout { property int sublineFontSize: Style.unifiedSearchResultSublineFontSize property color titleColor: palette.windowText - property color sublineColor: palette.midlight + property color sublineColor: palette.mid EnforcedPlainTextLabel { id: title diff --git a/src/gui/tray/NCBusyIndicator.qml b/src/gui/tray/NCBusyIndicator.qml index 031c762f24704..9b51efe9bfb5a 100644 --- a/src/gui/tray/NCBusyIndicator.qml +++ b/src/gui/tray/NCBusyIndicator.qml @@ -19,7 +19,7 @@ import Style BusyIndicator { id: root - property color color: palette.midlight + property color color: palette.mid property string imageSource: "image://svgimage-custom-color/change.svg/" property int imageSourceSizeWidth: 64 diff --git a/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml b/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml index 7a39991ccafec..e62f2de2abc42 100644 --- a/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml +++ b/src/gui/tray/UnifiedSearchResultFetchMoreTrigger.qml @@ -26,7 +26,7 @@ ColumnLayout { property int fontSize: Style.unifiedSearchResultTitleFontSize - property string textColor: palette.midlight + property string textColor: palette.mid Accessible.role: Accessible.ListItem Accessible.name: unifiedSearchResultItemFetchMoreText.text diff --git a/src/gui/tray/UnifiedSearchResultItem.qml b/src/gui/tray/UnifiedSearchResultItem.qml index 3f034143bcb14..5ddc23edacaa9 100644 --- a/src/gui/tray/UnifiedSearchResultItem.qml +++ b/src/gui/tray/UnifiedSearchResultItem.qml @@ -36,7 +36,7 @@ RowLayout { property int sublineFontSize: Style.unifiedSearchResultSublineFontSize property color titleColor: palette.buttonText - property color sublineColor: palette.midlight + property color sublineColor: palette.mid Accessible.role: Accessible.ListItem