on xenial help sign in
color fixes
commitc1fc94e46bbf7a79a5f1fd588522dd5f9051b0d0 authorNick Dedekind <nick.dedekind@canonical.com> dateFri 20 Jan 2017, 13:32 (10 years ago) parent75ef09c
2 files changed+4−3
qml/ApplicationMenus/MenuBar.qml+3−2 qml/ApplicationMenus/MenuPopup.qml+1−1
qml/ApplicationMenus/MenuBar.qml+3−2
@@ -18,6 +18,7 @@ import QtQuick 2.4
1818import QtQuick.Layouts 1.1
1919import Utils 0.1
2020import Ubuntu.Components 1.3
21+import Ubuntu.Components.Themes 1.3
2122import GlobalShortcut 1.0
2223
2324Item {
@@ -176,7 +177,7 @@ Item {
176177 id: _title
177178 text: actionItem.text
178179 horizontalAlignment: Text.AlignLeft
179− color: enabled ? "white" : "#5d5d5d"
180+ color: enabled ? theme.palette.normal.overlayText : theme.palette.disabled.overlayText
180181 }
181182 }
182183 }
@@ -223,7 +224,7 @@ Item {
223224 x: d.currentItem ? row.x + d.currentItem.x - units.gu(1) : 0
224225 width: d.currentItem ? d.currentItem.width + units.gu(2) : 0
225226 height: units.dp(4)
226− color: UbuntuColors.orange
227+ color: theme.palette.normal.activity
227228 visible: d.currentItem
228229 }
229230 }
qml/ApplicationMenus/MenuPopup.qml+1−1
@@ -309,7 +309,7 @@ UbuntuShape {
309309 Rectangle {
310310 color: "transparent"
311311 border.width: units.dp(1)
312− border.color: UbuntuColors.orange
312+ border.color: theme.palette.normal.activity
313313 z: 1
314314
315315 width: listView.width