Make hardcoded color themeable

CURA-6013
This commit is contained in:
Jaime van Kessel 2018-12-14 10:59:59 +01:00
parent 450f301c8c
commit 7616f9c97d
3 changed files with 5 additions and 3 deletions

View file

@ -14,7 +14,7 @@ Row
{
id: starIcon
source: UM.Theme.getIcon("star_filled")
color: model.user_rating == 0 ? "#5a5a5a" : UM.Theme.getColor("primary")
color: model.user_rating == 0 ? UM.Theme.getColor("rating_star") : UM.Theme.getColor("primary")
height: UM.Theme.getSize("rating_star").height
width: UM.Theme.getSize("rating_star").width
}