Icons: WIP using a proper mapping table

This commit is contained in:
LemmyCook 2025-09-08 21:05:48 -04:00
parent 8da2cdf430
commit a4107c87c0
41 changed files with 2277 additions and 183 deletions

View file

@ -118,7 +118,7 @@ Item {
// Icon
NIcon {
id: icon
text: (root.type == "warning") ? FontService.icons["warning"] : FontService.icons["info"]
text: (root.type == "warning") ? Bootstrap.icons["warning"] : Bootstrap.icons["info"]
color: {
switch (root.type) {
case "warning":
@ -162,7 +162,7 @@ Item {
// Close button (only if persistent or manual dismiss needed)
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
visible: root.persistent || root.duration === 0
colorBg: Color.mSurfaceVariant