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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user