Colors: removed Colors.transparent / black and white in favor of their direct shorthands

This commit is contained in:
Lemmy
2026-01-04 13:54:51 -05:00
parent b2175a5f48
commit 3bc9a625b8
78 changed files with 173 additions and 192 deletions
+3 -3
View File
@@ -48,7 +48,7 @@ Variants {
WlrLayershell.layer: (Settings.data.notifications?.overlayLayer) ? WlrLayer.Overlay : WlrLayer.Top
WlrLayershell.exclusionMode: ExclusionMode.Ignore
color: Color.transparent
color: "transparent"
// Make shadow area click-through, only notification content is clickable
mask: Region {
@@ -230,7 +230,7 @@ Variants {
anchors.left: parent.left
anchors.right: parent.right
height: 2
color: Color.transparent
color: "transparent"
readonly property real availableWidth: parent.width - (2 * parent.radius)
@@ -422,7 +422,7 @@ Variants {
Layout.alignment: Qt.AlignVCenter
radius: Math.min(Style.radiusL, Layout.preferredWidth / 2)
imagePath: model.originalImage || ""
borderColor: Color.transparent
borderColor: "transparent"
borderWidth: 0
fallbackIcon: "bell"
fallbackIconSize: 24