on xenial help sign in
Use palette.
commit2677391620c3570bf688d2a9807e91fbfd3c44b4 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 7 Feb 2014, 10:02 (13 years ago) parent0bc44b0
1 file changed+2−2
qml/Dash/CardHeader.qml+2−2
qml/Dash/CardHeader.qml+2−2
@@ -81,7 +81,7 @@ Item {
8181 maximumLineCount: 2
8282 fontSize: "small"
8383 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale)
84− color: template["overlay"] === true ? "white" : "grey"
84+ color: template["overlay"] === true ? "white" : Theme.palette.selected.backgroundText
8585 }
8686
8787 Label {
@@ -93,7 +93,7 @@ Item {
9393 visible: titleLabel.text && text
9494 fontSize: "x-small"
9595 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale)
96− color: template["overlay"] === true ? "white" : "grey"
96+ color: template["overlay"] === true ? "white" : Theme.palette.selected.backgroundText
9797 }
9898
9999 Row {