Remove customization for font color from EnforcedPlainTextLabel.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-09-03 20:11:18 +02:00 committed by Matthieu Gallien
parent 5073be1c0e
commit e55dae140f
18 changed files with 0 additions and 25 deletions

View file

@ -134,7 +134,6 @@ ColumnLayout {
width: parent.width * 0.8
anchors.centerIn: parent
text: qsTr("No recent emojis")
color: palette.midlight
wrapMode: Text.Wrap
font.bold: true
visible: emojiView.count === 0

View file

@ -71,7 +71,6 @@ AbstractButton {
text: root.text
wrapMode: Text.Wrap
color: root.colored ? palette.brightText : palette.buttonText
font.bold: root.primary
}
@ -85,7 +84,6 @@ AbstractButton {
text: root.secondaryText
wrapMode: Text.Wrap
color: palette.midlight
visible: root.secondaryText !== ""
}
}

View file

@ -153,7 +153,6 @@ Page {
Layout.rightMargin: headerGridLayout.textRightMargin
text: `${root.fileDetails.sizeString} · ${root.fileDetails.lastChangedString}`
color: palette.midlight
wrapMode: Text.Wrap
}
@ -164,7 +163,6 @@ Page {
Layout.rightMargin: headerGridLayout.textRightMargin
text: root.fileDetails.lockExpireString
color: palette.midlight
wrapMode: Text.Wrap
visible: headerGridLayout.showFileLockedString
}

View file

@ -27,7 +27,6 @@ EnforcedPlainTextLabel {
color: palette.base
}
color: palette.midlight
elide: Text.ElideRight
padding: Style.smallSpacing
}

View file

@ -64,7 +64,6 @@ TabButton {
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
color: tabButtonLayout.elementColors
text: tabButton.text
font.bold: tabButton.checked
}

View file

@ -140,7 +140,6 @@ GridLayout {
Layout.column: 1
text: root.detailText
color: palette.midlight
elide: Text.ElideRight
visible: text !== ""
}

View file

@ -241,7 +241,6 @@ Page {
Layout.rightMargin: root.padding
text: root.fileDetails.name
color: palette.midlight
wrapMode: Text.Wrap
}
}

View file

@ -282,7 +282,6 @@ ColumnLayout {
id: sharingDisabledLabel
width: parent.width
text: qsTr("Sharing is disabled")
color: palette.midlight
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
@ -290,7 +289,6 @@ ColumnLayout {
EnforcedPlainTextLabel {
width: parent.width
text: qsTr("This item cannot be shared.")
color: palette.midlight
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
@ -299,7 +297,6 @@ ColumnLayout {
EnforcedPlainTextLabel {
width: parent.width
text: qsTr("Sharing is disabled.")
color: palette.midlight
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter

View file

@ -244,7 +244,6 @@ RowLayout {
wrapMode: Text.Wrap
maximumLineCount: 2
font.pixelSize: Style.topLinePixelSize
color: palette.midlight
visible: text !== ""
}

View file

@ -132,7 +132,6 @@ ScrollView {
EnforcedPlainTextLabel {
width: parent.width
text: qsTr("No activities yet")
color: palette.midlight
font.bold: true
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter

View file

@ -195,7 +195,6 @@ ApplicationWindow {
EnforcedPlainTextLabel {
id: message
text: root.subject
color: root.usingUserAvatar ? palette.brightText : palette.windowText
font.pixelSize: Style.topLinePixelSize
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter

View file

@ -38,7 +38,6 @@ ColumnLayout {
text: root.lineText
elide: Text.ElideRight
font.pixelSize: root.titleFontSize
color: root.titleColor
}
EnforcedPlainTextLabel {
id: subline
@ -47,6 +46,5 @@ ColumnLayout {
visible: text !== ""
elide: Text.ElideRight
font.pixelSize: root.sublineFontSize
color: root.sublineColor
}
}

View file

@ -25,6 +25,5 @@ ToolTip {
contentItem: EnforcedPlainTextLabel {
text: toolTip.text
wrapMode: Text.Wrap
color: palette.toolTipText
}
}

View file

@ -79,7 +79,6 @@ RowLayout {
text: syncStatus.syncStatusDetailString
visible: syncStatus.syncStatusDetailString !== ""
color: palette.midlight
font.pixelSize: Style.subLinePixelSize
wrapMode: Text.Wrap
}

View file

@ -45,7 +45,6 @@ ColumnLayout {
text: qsTr("Load more results")
wrapMode: Text.Wrap
font.pixelSize: unifiedSearchResultItemFetchMore.fontSize
color: unifiedSearchResultItemFetchMore.textColor
visible: !unifiedSearchResultItemFetchMore.isFetchMoreInProgress
}

View file

@ -38,7 +38,6 @@ ColumnLayout {
EnforcedPlainTextLabel {
id: unifiedSearchResultsNoResultsLabel
text: qsTr("No results for")
color: palette.dark
font.pixelSize: Style.subLinePixelSize * 1.25
wrapMode: Text.Wrap
Layout.fillWidth: true

View file

@ -28,7 +28,6 @@ EnforcedPlainTextLabel {
text: section
font.pixelSize: Style.unifiedSearchResultTitleFontSize
color: UserModel.currentUser.accentColor
Accessible.role: Accessible.Separator
Accessible.name: qsTr("Search results section %1").arg(section)

View file

@ -463,7 +463,6 @@ ApplicationWindow {
width: Style.currentAccountLabelWidth
text: UserModel.currentUser ? UserModel.currentUser.name : ""
elide: Text.ElideRight
color: Style.currentUserHeaderTextColor
font.pixelSize: Style.topLinePixelSize
font.bold: true
@ -475,7 +474,6 @@ ApplicationWindow {
width: Style.currentAccountLabelWidth
text: UserModel.currentUser ? UserModel.currentUser.server : ""
elide: Text.ElideRight
color: Style.currentUserHeaderTextColor
visible: UserModel.numUsers() > 1
}
@ -502,7 +500,6 @@ ApplicationWindow {
? UserModel.currentUser.statusMessage
: UserModel.currentUser ? UserModel.currentUser.server : ""
elide: Text.ElideRight
color: Style.currentUserHeaderTextColor
font.pixelSize: Style.subLinePixelSize
}
}