diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-06-22 22:37:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 22:37:16 +0900 |
| commit | afa756b92c95f090534ed8349dfd72adc12561d3 (patch) | |
| tree | 2aae90f97566d3943202e9c6605cc95c99d08ac1 /config/quickshell/modules/common/widgets/MaterialSymbol.qml | |
| parent | 0f70ff7ae24196ecf5cb9cf2c6299c2d2636a82b (diff) | |
| parent | 897873fccd5d19c460128998b9434238dcf07ba6 (diff) | |
Merge pull request #749 from SherLock707/overviewV2_qs
qs:Overview update: Refactored for better colour and font expose and cleaned up unused code
Diffstat (limited to 'config/quickshell/modules/common/widgets/MaterialSymbol.qml')
| -rw-r--r-- | config/quickshell/modules/common/widgets/MaterialSymbol.qml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/config/quickshell/modules/common/widgets/MaterialSymbol.qml b/config/quickshell/modules/common/widgets/MaterialSymbol.qml index dbbfff00..214f838e 100644 --- a/config/quickshell/modules/common/widgets/MaterialSymbol.qml +++ b/config/quickshell/modules/common/widgets/MaterialSymbol.qml @@ -1,17 +1,16 @@ import "root:/modules/common/" import QtQuick -import QtQuick.Layouts Text { id: root - property real iconSize: Appearance?.font.pixelSize.small ?? 16 + property real iconSize: Appearance?.font.pixelSize.textBase ?? 16 property real fill: 0 renderType: Text.NativeRendering font.hintingPreference: Font.PreferFullHinting verticalAlignment: Text.AlignVCenter - font.family: Appearance?.font.family.iconMaterial ?? "Material Symbols Rounded" + font.family: Appearance?.font.family.iconFont ?? "Material Symbols Rounded" font.pixelSize: iconSize - color: Appearance.m3colors.m3onBackground + color: Appearance.m3colors.m3primaryText Behavior on fill { NumberAnimation { @@ -23,8 +22,6 @@ Text { font.variableAxes: { "FILL": fill, - // "wght": font.weight, - // "GRAD": 0, "opsz": iconSize, } } |
