From 83d5de1ba3c23b881b4fe1ce5b50e12c0c923419 Mon Sep 17 00:00:00 2001 From: 28allday Date: Sun, 14 Jun 2026 11:19:16 +0100 Subject: [PATCH] feat(nosignal): Nerd Font icons in IconButton (controls-wide) Convert the shared IconButton control to render via NsIcon, so every icon-button across the shell (nexus, lock, utilities, launcher chrome, ...) uses Nerd Font. Alias icon -> label.icon; internal MaterialIcon -> NsIcon (sizes from root.font via fontStyle); dropped the Material-Symbols vertical-center fudge. Co-Authored-By: Claude Opus 4.8 (1M context) --- components/controls/IconButton.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/controls/IconButton.qml b/components/controls/IconButton.qml index 60316083..6eda7362 100644 --- a/components/controls/IconButton.qml +++ b/components/controls/IconButton.qml @@ -6,7 +6,7 @@ import qs.services ButtonBase { id: root - property alias icon: label.text + property alias icon: label.icon readonly property alias label: label font: Tokens.font.icon.medium @@ -34,11 +34,10 @@ ButtonBase { return h; } - MaterialIcon { + NsIcon { id: label anchors.centerIn: parent - anchors.verticalCenterOffset: 1 // AHHHHHHH material symbols whyyyy color: root.onColour fontStyle: root.font fill: !root.isToggle || root.internalChecked ? 1 : 0