Use dark palette colour for secondary text

Improves readability in dark mode

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2025-01-07 14:55:49 +09:00 committed by Matthieu Gallien
parent b89bd88f98
commit 0daec76aee
8 changed files with 8 additions and 8 deletions

View File

@ -81,7 +81,7 @@ Item {
EnforcedPlainTextLabel {
id: fileTypeLabel
text: root.fileTypeString
color: palette.mid
color: palette.dark
}
}
}

View File

@ -74,7 +74,7 @@ Page {
Rectangle {
Layout.fillWidth: true
height: Style.normalBorderWidth
color: palette.mid
color: palette.dark
}
FileProviderSyncStatus {

View File

@ -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.mid
color: palette.dark
horizontalAlignment: Text.AlignRight
}

View File

@ -126,7 +126,7 @@ ScrollView {
verticalAlignment: Image.AlignVCenter
horizontalAlignment: Image.AlignHCenter
fillMode: Image.PreserveAspectFit
source: "image://svgimage-custom-color/activity.svg/" + palette.mid
source: "image://svgimage-custom-color/activity.svg/" + palette.dark
}
EnforcedPlainTextLabel {

View File

@ -30,7 +30,7 @@ ColumnLayout {
property int sublineFontSize: Style.unifiedSearchResultSublineFontSize
property color titleColor: palette.windowText
property color sublineColor: palette.mid
property color sublineColor: palette.dark
EnforcedPlainTextLabel {
id: title

View File

@ -19,7 +19,7 @@ import Style
BusyIndicator {
id: root
property color color: palette.mid
property color color: palette.dark
property string imageSource: "image://svgimage-custom-color/change.svg/"
property int imageSourceSizeWidth: 64

View File

@ -26,7 +26,7 @@ ColumnLayout {
property int fontSize: Style.unifiedSearchResultTitleFontSize
property string textColor: palette.mid
property string textColor: palette.dark
Accessible.role: Accessible.ListItem
Accessible.name: unifiedSearchResultItemFetchMoreText.text

View File

@ -36,7 +36,7 @@ RowLayout {
property int sublineFontSize: Style.unifiedSearchResultSublineFontSize
property color titleColor: palette.buttonText
property color sublineColor: palette.mid
property color sublineColor: palette.dark
Accessible.role: Accessible.ListItem