Commit 8b2c870f authored by m2ko's avatar m2ko

Add Theme colors to notificationpreview

parent 48e961ef
...@@ -62,7 +62,7 @@ Item { ...@@ -62,7 +62,7 @@ Item {
} }
gradient: Gradient { gradient: Gradient {
GradientStop { position: 1.0; color: "black" } GradientStop { position: 1.0; color: Theme.fillDarkColor }
GradientStop { position: 0; color: "transparent"} GradientStop { position: 0; color: "transparent"}
} }
opacity: 0 opacity: 0
...@@ -145,8 +145,8 @@ Item { ...@@ -145,8 +145,8 @@ Item {
//bottomMargin: notificationArea.notificationMargin //bottomMargin: notificationArea.notificationMargin
} }
font.pixelSize: Theme.fontSizeLarge font.pixelSize: Theme.fontSizeLarge
text: notificationPreviewPresenter.notification != null ? notificationPreviewPresenter.notification.previewSummary : "" text: "Notification"//notificationPreviewPresenter.notification != null ? notificationPreviewPresenter.notification.previewSummary : ""
color: "darkgray" color: Theme.textColor
clip: true clip: true
elide: Text.ElideRight elide: Text.ElideRight
} }
...@@ -163,7 +163,7 @@ Item { ...@@ -163,7 +163,7 @@ Item {
bold: true bold: true
} }
text: notificationPreviewPresenter.notification != null ? notificationPreviewPresenter.notification.previewBody : "" text: notificationPreviewPresenter.notification != null ? notificationPreviewPresenter.notification.previewBody : ""
color: "white" color: Theme.textColor
clip: true clip: true
elide: Text.ElideRight elide: Text.ElideRight
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment