create icon type

This commit is contained in:
Benjamin Palko 2025-07-19 22:08:28 -04:00
parent ed9861e57d
commit 375ded5e81
2 changed files with 33 additions and 13 deletions

21
styled/Icon.qml Normal file
View file

@ -0,0 +1,21 @@
import QtQuick
import QtQuick.Effects
import "../config/"
Image {
id: root
property int size: 18
property color color: Theme.palette.basecontent
width: size
height: size
MultiEffect {
id: effect
source: root
anchors.fill: root
colorization: 1.0
colorizationColor: color
}
}