Files
illogical-impulse/dots/.config/quickshell/ii/modules/waffle/looks/FluentIcon.qml
T
2025-11-10 21:36:08 +01:00

21 lines
572 B
QML

import QtQuick
import org.kde.kirigami as Kirigami
import qs.modules.common
import qs.modules.waffle.looks
Kirigami.Icon {
id: root
required property string icon
// Should be 16, but it appears the icons have some padding,
// Unlike the Windows-only Segoe UI icons, the open source FluentUI ones are hella small
property int implicitSize: 20
implicitWidth: implicitSize
implicitHeight: implicitSize
source: `${Looks.iconsPath}/${root.icon}.svg`
roundToIconSize: false
color: Looks.colors.fg
isMask: true
animated: true
}