switch to different material font for filled icons

This commit is contained in:
lucy 2026-01-21 23:29:56 +01:00
parent 84b853d338
commit ea2294a748
3 changed files with 8 additions and 6 deletions

View File

@ -44,7 +44,7 @@ Rectangle {
Row { Row {
id: textRow id: textRow
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
spacing: 0 spacing: 5
CustomText { CustomText {
id: volumeText id: volumeText
PwObjectTracker { PwObjectTracker {

View File

@ -3,13 +3,14 @@ import qs.settings
import qs import qs
Text { Text {
property real fill: 1
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.family: "Material Symbols Rounded" font.family: "Material Icons Round"
color: Colors.foreground color: Colors.foreground
font.pixelSize: Settings.config.fontSize + 1
font.variableAxes: ({ font.variableAxes: ({
FILL: 0, FILL: fill.toFixed(1),
GRAD: 100, GRAD: -25,
wght: 400 opsz: Settings.config.fontSize,
wght: Settings.config.fontWeight
}) })
} }

View File

@ -34,6 +34,7 @@ Singleton {
property int paddingSides: 10 property int paddingSides: 10
property var generateScheme: true property var generateScheme: true
property bool wallSwitcherShown: false property bool wallSwitcherShown: false
property int fontWeight: 500
} }
} }
} }