From f498952830803c04063040dcda2ebfbc2c5e9397 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 9 Nov 2021 17:32:22 +0100 Subject: [PATCH] Give text colours to text This way it's still visible in the dark theme, rather than black on black. Contributes to issue CURA-8561. --- plugins/Marketplace/resources/qml/PackageCard.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/Marketplace/resources/qml/PackageCard.qml b/plugins/Marketplace/resources/qml/PackageCard.qml index 0c5f133dfb..61632de3ef 100644 --- a/plugins/Marketplace/resources/qml/PackageCard.qml +++ b/plugins/Marketplace/resources/qml/PackageCard.qml @@ -88,6 +88,7 @@ Rectangle text: packageData.packageVersion font: UM.Theme.getFont("small") + color: UM.Theme.getColor("text") } UM.RecolorImage @@ -116,6 +117,7 @@ Rectangle text: packageData.description font: UM.Theme.getFont("default") + color: UM.Theme.getColor("text") maximumLineCount: 2 wrapMode: Text.Wrap elide: Text.ElideRight @@ -164,6 +166,7 @@ Rectangle text: "… " font: descriptionLabel.font + color: descriptionLabel.color visible: descriptionLabel.truncated } } @@ -181,6 +184,7 @@ Rectangle text: catalog.i18nc("@label", "By") font: UM.Theme.getFont("default") + color: UM.Theme.getColor("text") } Cura.TertiaryButton