feat(ui): add outline/fill icon-swap pattern for aside icon bar

Introduce data-icon-swap attribute with paired outline/fill <i> elements.
CSS toggles to filled icon on hover and active state. Module slots
auto-derive fill variant from icon name, with explicit icon_fill override
for icons without a fill counterpart (e.g. bi-headset). Add enforcement
script bin/icon-swap-check.sh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 22:22:00 +02:00
parent ae509c607b
commit a3d05baffa
3 changed files with 105 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ return [
'key' => 'helpdesk',
'label' => 'Helpdesk',
'icon' => 'bi-headset',
'icon_fill' => 'bi-headset',
'href' => '',
'permission' => 'helpdesk.access',
'panel_template' => 'templates/aside-helpdesk-panel.phtml',