From 8a551339cbfaf106ac7d6f1ca5230196be539167 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 8 Sep 2025 20:00:22 +0200 Subject: ... --- .../shell/quickshell/MaterialDesignIcon.qml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 accounts/gkleen@sif/shell/quickshell/MaterialDesignIcon.qml (limited to 'accounts/gkleen@sif/shell/quickshell/MaterialDesignIcon.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/MaterialDesignIcon.qml b/accounts/gkleen@sif/shell/quickshell/MaterialDesignIcon.qml new file mode 100644 index 00000000..387dcc8b --- /dev/null +++ b/accounts/gkleen@sif/shell/quickshell/MaterialDesignIcon.qml @@ -0,0 +1,24 @@ +import QtQuick +import QtQuick.Effects + +Item { + id: icon + + required property string icon + property color color: "white" + + Image { + id: sourceImage + source: "file://" + @mdi@ + "/svg/" + icon.icon + ".svg" + anchors.fill: parent + + layer.enabled: true + layer.effect: MultiEffect { + id: effect + + brightness: 1 + colorization: 1 + colorizationColor: icon.color + } + } +} -- cgit v1.2.3