on xenial help sign in
Fix font colors before Theme palette is updated to match new designs.
3f4627bMichał Karnicki
qml/Dash/Card.qml+2
@@ -81,5 +81,7 @@ AbstractButton {
81 text: cardData && cardData["summary"] || ""
81 text: cardData && cardData["summary"] || ""
82 height: text ? implicitHeight : 0
82 height: text ? implicitHeight : 0
83 fontSize: "small"
83 fontSize: "small"
84+ // TODO karni (for each Label): Update Ubuntu.Components.Themes.Palette and use theme color instead
85+ color: "grey"
84 }
86 }
85}
87}
qml/Dash/CardHeader.qml+4−1
@@ -71,6 +71,8 @@ Item {
71 wrapMode: Text.Wrap
71 wrapMode: Text.Wrap
72 maximumLineCount: 2
72 maximumLineCount: 2
73 fontSize: "small"
73 fontSize: "small"
74+ // TODO karni (for each Label): Update Ubuntu.Components.Themes.Palette and use theme color instead
75+ color: template["overlay"] === true ? "white" : "grey" // Theme.palette.normal.backgroundText
74 }
76 }
75
77
76 Label {
78 Label {
@@ -81,6 +83,7 @@ Item {
81 font.weight: Font.Light
83 font.weight: Font.Light
82 visible: titleLabel.text && text
84 visible: titleLabel.text && text
83 fontSize: "x-small"
85 fontSize: "x-small"
86+ color: template["overlay"] === true ? "white" : "grey" // Theme.palette.normal.backgroundText
84 }
87 }
85
88
86 Row {
89 Row {
@@ -101,7 +104,7 @@ Item {
101 width: parent.labelWidth
104 width: parent.labelWidth
102 elide: Text.ElideRight
105 elide: Text.ElideRight
103 font.weight: Font.DemiBold
106 font.weight: Font.DemiBold
104− color: Theme.palette.selected.foreground
107+ color: "grey" // Theme.palette.normal.backgroundText
105 visible: text
108 visible: text
106 }
109 }
107
110