@@ -36,7 +36,7 @@ StyledItem {
36 property var type
36 property var type
37 property var hints
37 property var hints
38 property var notification
38 property var notification
39− property color color: theme.palette.normal.overlay
39+ property color color: theme.palette.normal.background
40 property bool fullscreen: false
40 property bool fullscreen: false
41 property int maxHeight
41 property int maxHeight
42 property int margins: units.gu(1)
42 property int margins: units.gu(1)
@@ -421,12 +421,13 @@ StyledItem {
421 Component {
421 Component {
422 id: oneOverTwoButtonTop
422 id: oneOverTwoButtonTop
424− Button {
424+ NotificationButton {
425 objectName: "notify_oot_button" + index
425 objectName: "notify_oot_button" + index
426 width: oneOverTwoCase.width
426 width: oneOverTwoCase.width
427 text: oneOverTwoLoaderTop.actionLabel
427 text: oneOverTwoLoaderTop.actionLabel
428+ outline: notification.hints["x-canonical-private-affirmative-tint"] !== "true"
428 color: notification.hints["x-canonical-private-affirmative-tint"] === "true" ? theme.palette.normal.positive
429 color: notification.hints["x-canonical-private-affirmative-tint"] === "true" ? theme.palette.normal.positive
429− : theme.palette.normal.baseText
430+ : theme.palette.normal.background
430 onClicked: notification.notification.invokeAction(oneOverTwoLoaderTop.actionId)
431 onClicked: notification.notification.invokeAction(oneOverTwoLoaderTop.actionId)
@@ -450,12 +451,13 @@ StyledItem {
450 Component {
451 Component {
451 id: oneOverTwoButtonBottom
452 id: oneOverTwoButtonBottom
453− Button {
454+ NotificationButton {
454 objectName: "notify_oot_button" + index
455 objectName: "notify_oot_button" + index
455 width: oneOverTwoCase.width / 2 - spacing / 2
456 width: oneOverTwoCase.width / 2 - spacing / 2
456 text: oneOverTwoLoaderBottom.actionLabel
457 text: oneOverTwoLoaderBottom.actionLabel
458+ outline: notification.hints["x-canonical-private-rejection-tint"] !== "true"
457 color: index == 1 && notification.hints["x-canonical-private-rejection-tint"] === "true" ? theme.palette.normal.negative
459 color: index == 1 && notification.hints["x-canonical-private-rejection-tint"] === "true" ? theme.palette.normal.negative
458− : theme.palette.normal.baseText
460+ : theme.palette.normal.background
459 onClicked: notification.notification.invokeAction(oneOverTwoLoaderBottom.actionId)
461 onClicked: notification.notification.invokeAction(oneOverTwoLoaderBottom.actionId)
@@ -510,12 +512,14 @@ StyledItem {
510 Component {
512 Component {
511 id: actionButton
513 id: actionButton
513− Button {
515+ NotificationButton {
514 objectName: "notify_button" + index
516 objectName: "notify_button" + index
515 width: buttonRow.width / 2 - spacing / 2
517 width: buttonRow.width / 2 - spacing / 2
516 text: loader.actionLabel
518 text: loader.actionLabel
519+ outline: (index == 0 && notification.hints["x-canonical-private-affirmative-tint"] !== "true") ||
520+ (index == 1 && notification.hints["x-canonical-private-rejection-tint"] !== "true")
518− var result = theme.palette.normal.baseText;
522+ var result = theme.palette.normal.background;
519 if (index == 0 && notification.hints["x-canonical-private-affirmative-tint"] === "true") {
523 if (index == 0 && notification.hints["x-canonical-private-affirmative-tint"] === "true") {
520 result = theme.palette.normal.positive;
524 result = theme.palette.normal.positive;