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

@ -85,7 +85,7 @@ NBox {
}
NIconButton {
icon: FontService.icons["plus"]
icon: Bootstrap.icons["plus"]
colorBg: Color.mPrimary
colorFg: Color.mOnPrimary
@ -170,7 +170,7 @@ NBox {
Loader {
active: BarWidgetRegistry.widgetHasUserSettings(modelData.id)
sourceComponent: NIconButton {
icon: FontService.icons["gear"]
icon: Bootstrap.icons["gear"]
sizeRatio: 0.6
colorBorder: Qt.alpha(Color.mOutline, Style.opacityLight)
colorBg: Color.mOnSurface
@ -210,7 +210,7 @@ NBox {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
sizeRatio: 0.6
colorBorder: Qt.alpha(Color.mOutline, Style.opacityLight)
colorBg: Color.mOnSurface

View file

@ -84,7 +84,7 @@ Popup {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
onClicked: settingsPopup.close()
}
}
@ -121,7 +121,7 @@ Popup {
NButton {
text: "Apply"
icon: FontService.icons["check"]
icon: Bootstrap.icons["check"]
onClicked: {
if (settingsLoader.item && settingsLoader.item.saveSettings) {
var newSettings = settingsLoader.item.saveSettings()