1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

Only material icons rounded

This commit is contained in:
bbedward
2025-07-18 18:58:01 -04:00
parent 8d87fca419
commit b3aa4719d9
5 changed files with 17 additions and 14 deletions

View File

@@ -8,16 +8,8 @@ Text {
property alias size: icon.font.pixelSize
property alias color: icon.color
property bool filled: false
readonly property string iconFont : {
var families = Qt.fontFamilies();
if (families.indexOf("Material Symbols Rounded") !== -1) {
return "Material Symbols Rounded";
} else {
return "Material Icons Round";
}
}
font.family: iconFont
font.family: "Material Symbols Rounded"
font.pixelSize: Theme.iconSize
font.weight: filled ? Font.Medium : Font.Normal
color: Theme.surfaceText