diff --git a/modules/bar/Mpris.qml b/modules/bar/Mpris.qml index fb32221..02026e6 100644 --- a/modules/bar/Mpris.qml +++ b/modules/bar/Mpris.qml @@ -26,7 +26,7 @@ Rectangle { id: songLayout anchors.centerIn: root MaterialIcon { - text: "\ueafc" + text: "music_note_2" } StyledText { Layout.maximumWidth: 400 diff --git a/modules/notifications/NotiCard.qml b/modules/notifications/NotiCard.qml index 7be1b30..915e93e 100644 --- a/modules/notifications/NotiCard.qml +++ b/modules/notifications/NotiCard.qml @@ -43,7 +43,7 @@ WrapperRectangle { RowLayout { Layout.alignment: Qt.AlignTop MaterialIcon { - text: "\uea35" + text: "\ue7f7" font.pixelSize: 12 } StyledText { diff --git a/widgets/MaterialIcon.qml b/widgets/MaterialIcon.qml index 858450f..c7e8a62 100644 --- a/widgets/MaterialIcon.qml +++ b/widgets/MaterialIcon.qml @@ -1,15 +1,17 @@ +import qs import qs.settings -import qs.widgets - -StyledText { - property real fill - property int grade: 25 +import QtQuick +Text { font.family: "Material Symbols Rounded" - font.variableAxes: ({ - FILL: fill.toFixed(1), - GRAD: grade, - opsz: 24, - wght: 600 - }) + color: Colors.base07 + font.pixelSize: Config.iconSize + property bool fill: true + renderType: Text.NativeRendering + font.variableAxes: { + "FILL": fill ? 1 : 0, + "opsz": 48, + "wght": 400, + "GRAD": 24 + } }