Merge lp:~mterry/trust-store/no-ubuntucolors into lp:trust-store

Proposed by Michael Terry
Status: Needs review
Proposed branch: lp:~mterry/trust-store/no-ubuntucolors
Merge into: lp:trust-store
Diff against target: 26 lines (+2/-3)
1 file modified
src/core/trust/mir/prompt_main.qml (+2/-3)
To merge this branch: bzr merge lp:~mterry/trust-store/no-ubuntucolors
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Pending
Ubuntu Phablet Team Pending
Review via email: mp+295410@code.launchpad.net

Commit message

Use theme colors in the trust dialog instead of hard-coded ones.

Description of the change

Use theme colors in the trust dialog instead of hard-coded ones.

To post a comment you must log in.

Unmerged revisions

157. By Michael Terry

Don't hardcode colors

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/core/trust/mir/prompt_main.qml'
--- src/core/trust/mir/prompt_main.qml 2015-11-30 10:45:41 +0000
+++ src/core/trust/mir/prompt_main.qml 2016-05-23 02:05:56 +0000
@@ -59,7 +59,7 @@
59 Label {59 Label {
60 anchors.horizontalCenter: parent.horizontalCenter60 anchors.horizontalCenter: parent.horizontalCenter
61 text: appId61 text: appId
62 color: UbuntuColors.lightGrey62 color: theme.palette.normal.backgroundSecondaryText
63 fontSize: "small"63 fontSize: "small"
64 width: parent.width64 width: parent.width
65 horizontalAlignment: Text.AlignHCenter65 horizontalAlignment: Text.AlignHCenter
@@ -76,12 +76,11 @@
76 }76 }
77 Button {77 Button {
78 text: i18n.tr("Allow")78 text: i18n.tr("Allow")
79 color: UbuntuColors.green79 color: theme.palette.normal.positive
80 onClicked: quit(0)80 onClicked: quit(0)
81 }81 }
82 Button {82 Button {
83 text: i18n.tr("Don’t Allow")83 text: i18n.tr("Don’t Allow")
84 color: UbuntuColors.lightGrey
85 onClicked: quit(1)84 onClicked: quit(1)
86 } 85 }
87 }86 }

Subscribers

People subscribed via source and target branches