quickshell/widgets/MaterialIcon.qml

17 lines
344 B
QML

import qs
import qs.settings
import QtQuick
Text {
font.family: "Material Symbols Rounded"
color: Colors.text
font.pixelSize: Config.iconSize
property bool fill: true
renderType: Text.NativeRendering
font.variableAxes: {
"FILL": fill ? 1 : 0,
"opsz": 48,
"wght": 400,
"GRAD": 24
}
}