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) <noreply@anthropic.com>
This commit is contained in:
28allday 2026-06-14 11:19:16 +01:00
parent cf3c0d823d
commit 83d5de1ba3

View file

@ -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