summary refs log tree commit diff
path: root/resources/qml/delegates
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2020-05-07 20:53:24 -0400
committerJoseph Donofry <joedonofry@gmail.com>2020-05-07 20:53:24 -0400
commita1661f7006d7661bfd54cdd9971afd6717ed9c92 (patch)
tree8d8a221740487d0411795a17918715e15e89cf99 /resources/qml/delegates
parentMerge pull request #192 from Nheko-Reborn/reactions (diff)
downloadnheko-a1661f7006d7661bfd54cdd9971afd6717ed9c92.tar.xz
merge master into reactions
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r--resources/qml/delegates/Pill.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml
index c4260c33..23a69b10 100644
--- a/resources/qml/delegates/Pill.qml
+++ b/resources/qml/delegates/Pill.qml
@@ -2,6 +2,9 @@ import QtQuick 2.5
 import QtQuick.Controls 2.1
 
 Label {
+	id: pillComponent
+	property color userColor: "red"
+
 	color: colors.brightText
 	horizontalAlignment: Text.AlignHCenter
 
@@ -10,6 +13,6 @@ Label {
 
 	background: Rectangle {
 		radius: parent.height / 2
-		color: colors.dark
+		color: Qt.rgba(userColor.r, userColor.g, userColor.b, 0.2)
 	}
 }