mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-23 19:01:05 -07:00
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.
This commit is contained in:
parent
4119cf4209
commit
f498952830
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ Rectangle
|
||||||
|
|
||||||
text: packageData.packageVersion
|
text: packageData.packageVersion
|
||||||
font: UM.Theme.getFont("small")
|
font: UM.Theme.getFont("small")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
|
|
@ -116,6 +117,7 @@ Rectangle
|
||||||
|
|
||||||
text: packageData.description
|
text: packageData.description
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
maximumLineCount: 2
|
maximumLineCount: 2
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
|
@ -164,6 +166,7 @@ Rectangle
|
||||||
|
|
||||||
text: "… "
|
text: "… "
|
||||||
font: descriptionLabel.font
|
font: descriptionLabel.font
|
||||||
|
color: descriptionLabel.color
|
||||||
visible: descriptionLabel.truncated
|
visible: descriptionLabel.truncated
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -181,6 +184,7 @@ Rectangle
|
||||||
|
|
||||||
text: catalog.i18nc("@label", "By")
|
text: catalog.i18nc("@label", "By")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.TertiaryButton
|
Cura.TertiaryButton
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue