quickshell: match calendar notification styling to the toast (shared defaults)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-06-13 19:25:06 +01:00
parent ddbc8929e4
commit faa345d016

View file

@ -420,12 +420,12 @@ in
component NotifContent: Column {
id: _nc
property var notif
property int summarySize: 11
property int bodySize: 10
property int bodyLines: 2
property color chipBg: Theme.base02
property color chipBgHover: Theme.base03
property color chipBorder: Theme.base03
property int summarySize: 12
property int bodySize: 11
property int bodyLines: 3
property color chipBg: Theme.base01
property color chipBgHover: Theme.base02
property color chipBorder: Theme.base02
signal actionInvoked()
spacing: 2
@ -2544,7 +2544,7 @@ in
id: notifItem
required property var modelData
width: parent.width
height: ncBody.height + 12
height: ncBody.height + 16
radius: Theme.radiusSmall
color: Theme.base02
@ -2554,17 +2554,17 @@ in
anchors.left: parent.left
anchors.right: dismissBtn.left
anchors.top: parent.top
anchors.margins: 6
anchors.margins: 8
}
SIcon {
id: dismissBtn
anchors.right: parent.right
anchors.top: parent.top
anchors.margins: 6
anchors.margins: 8
text: "close"
color: dismissMa.containsMouse ? Theme.base05 : Theme.base03
font.pixelSize: 14
font.pixelSize: 15
MouseArea {
id: dismissMa
anchors.fill: parent
@ -2677,12 +2677,6 @@ in
anchors.right: toastDismiss.left
anchors.top: parent.top
anchors.margins: 8
summarySize: 12
bodySize: 11
bodyLines: 3
chipBg: Theme.base01
chipBgHover: Theme.base02
chipBorder: Theme.base02
onActionInvoked: toastItem.dismiss()
}