Make the reaction bubble shadows look like the message bubble shadows
This commit is contained in:
@@ -24,14 +24,16 @@ Flow {
|
|||||||
|
|
||||||
padding: Kirigami.Units.smallSpacing
|
padding: Kirigami.Units.smallSpacing
|
||||||
|
|
||||||
background: Rectangle {
|
background: Kirigami.ShadowedRectangle {
|
||||||
radius: height / 2
|
|
||||||
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
|
||||||
color: checked ? Kirigami.Theme.positiveBackgroundColor : Kirigami.Theme.backgroundColor
|
color: checked ? Kirigami.Theme.positiveBackgroundColor : Kirigami.Theme.backgroundColor
|
||||||
border.color: checked ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.textColor
|
radius: height / 2
|
||||||
border.width: 1
|
shadow.size: Kirigami.Units.smallSpacing
|
||||||
|
shadow.color: !model.isHighlighted ? Qt.rgba(0.0, 0.0, 0.0, 0.10) : Qt.rgba(Kirigami.Theme.textColor.r, Kirigami.Theme.textColor.g, Kirigami.Theme.textColor.b, 0.10)
|
||||||
|
border.color: Kirigami.ColorUtils.tintWithAlpha(color, Kirigami.Theme.textColor, 0.15)
|
||||||
|
border.width: Kirigami.Units.devicePixelRatio
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
checkable: true
|
checkable: true
|
||||||
|
|
||||||
checked: modelData.hasLocalUser
|
checked: modelData.hasLocalUser
|
||||||
|
|||||||
Reference in New Issue
Block a user