From 4a383f93fc8fa5dc74aa912e2d8294716e76661e Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 19 Nov 2024 10:50:51 +0800 Subject: [PATCH] Move remaining uses of secondary text color to use palette midlight, remove this property froms style 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 +- theme/Style/Style.qml | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gui/macOS/ui/FileProviderFileDelegate.qml b/src/gui/macOS/ui/FileProviderFileDelegate.qml index 7f59c7e89..8bfdd034a 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: Style.ncSecondaryTextColor + color: palette.midlight } } } diff --git a/src/gui/macOS/ui/FileProviderSettings.qml b/src/gui/macOS/ui/FileProviderSettings.qml index b49288a20..8b11c0322 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: Style.ncSecondaryTextColor + color: palette.midlight } FileProviderSyncStatus { diff --git a/src/gui/macOS/ui/FileProviderStorageInfo.qml b/src/gui/macOS/ui/FileProviderStorageInfo.qml index b84991d2d..107f2abe5 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: Style.ncSecondaryTextColor + color: palette.midlight horizontalAlignment: Text.AlignRight } diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index 301c42fbf..3866bb82d 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -13,7 +13,6 @@ QtObject { readonly property color ncHeaderTextColor: Theme.wizardHeaderTitleColor readonly property color ncTextColor: Theme.systemPalette.windowText readonly property color ncTextBrightColor: "white" - readonly property color ncSecondaryTextColor: "#808080" readonly property color backgroundColor: Theme.systemPalette.base readonly property color positiveColor: Qt.rgba(0.38, 0.74, 0.38, 1)