From ea2294a7481e46c7c8385345933f82e22b4c0a48 Mon Sep 17 00:00:00 2001 From: lucy Date: Wed, 21 Jan 2026 23:29:56 +0100 Subject: [PATCH] switch to different material font for filled icons --- modules/bar/Volume.qml | 2 +- reusables/CustomIcon.qml | 11 ++++++----- settings/Settings.qml | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/bar/Volume.qml b/modules/bar/Volume.qml index 0a923a3..269f55d 100644 --- a/modules/bar/Volume.qml +++ b/modules/bar/Volume.qml @@ -44,7 +44,7 @@ Rectangle { Row { id: textRow anchors.verticalCenter: parent.verticalCenter - spacing: 0 + spacing: 5 CustomText { id: volumeText PwObjectTracker { diff --git a/reusables/CustomIcon.qml b/reusables/CustomIcon.qml index 3c63209..8919f3f 100644 --- a/reusables/CustomIcon.qml +++ b/reusables/CustomIcon.qml @@ -3,13 +3,14 @@ import qs.settings import qs Text { + property real fill: 1 anchors.verticalCenter: parent.verticalCenter - font.family: "Material Symbols Rounded" + font.family: "Material Icons Round" color: Colors.foreground - font.pixelSize: Settings.config.fontSize + 1 font.variableAxes: ({ - FILL: 0, - GRAD: 100, - wght: 400 + FILL: fill.toFixed(1), + GRAD: -25, + opsz: Settings.config.fontSize, + wght: Settings.config.fontWeight }) } diff --git a/settings/Settings.qml b/settings/Settings.qml index 6986367..1d8994f 100644 --- a/settings/Settings.qml +++ b/settings/Settings.qml @@ -34,6 +34,7 @@ Singleton { property int paddingSides: 10 property var generateScheme: true property bool wallSwitcherShown: false + property int fontWeight: 500 } } }