mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
Fallback icon font
This commit is contained in:
@@ -387,8 +387,10 @@ Singleton {
|
|||||||
// Transparency system - can be overridden by Prefs
|
// Transparency system - can be overridden by Prefs
|
||||||
property real panelTransparency: 0.85
|
property real panelTransparency: 0.85
|
||||||
property real popupTransparency: 0.92
|
property real popupTransparency: 0.92
|
||||||
property string iconFont: "Material Symbols Rounded"
|
property string iconFont: { Qt.fontFamilies()
|
||||||
property string iconFontFilled: "Material Symbols Rounded"
|
.indexOf("Material Symbols Rounded") !== -1 ? "Material Symbols Rounded" : "Material Icons Round" }
|
||||||
|
property string iconFontFilled: { Qt.fontFamilies()
|
||||||
|
.indexOf("Material Symbols Rounded") !== -1 ? "Material Symbols Rounded" : "Material Icons Rounded" }
|
||||||
property int iconFontWeight: Font.Normal
|
property int iconFontWeight: Font.Normal
|
||||||
property int iconFontFilledWeight: Font.Medium
|
property int iconFontFilledWeight: Font.Medium
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ Rectangle {
|
|||||||
readonly property bool nerdFontAvailable: Qt.fontFamilies()
|
readonly property bool nerdFontAvailable: Qt.fontFamilies()
|
||||||
.indexOf("Symbols Nerd Font") !== -1
|
.indexOf("Symbols Nerd Font") !== -1
|
||||||
|
|
||||||
Component.onCompleted: {
|
|
||||||
console.log(Qt.fontFamilies());
|
|
||||||
}
|
|
||||||
|
|
||||||
width: 40
|
width: 40
|
||||||
height: 30
|
height: 30
|
||||||
radius: Theme.cornerRadius
|
radius: Theme.cornerRadius
|
||||||
|
|||||||
Reference in New Issue
Block a user