mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 13:15:57 +08: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
@ -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…
x
Reference in New Issue
Block a user