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

@ -44,7 +44,7 @@ NPanel {
// Reset button (only show if update failed)
NIconButton {
visible: ArchUpdaterService.updateFailed
icon: FontService.icons["refresh"]
icon: Bootstrap.icons["arrow-repeat"]
tooltipText: "Reset update state"
sizeRatio: 0.8
colorBg: Color.mError
@ -55,7 +55,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: root.close()
@ -245,7 +245,7 @@ NPanel {
// Prominent refresh button
NIconButton {
icon: FontService.icons["refresh"]
icon: Bootstrap.icons["arrow-repeat"]
tooltipText: "Try checking again"
sizeRatio: 1.2
colorBg: Color.mPrimary
@ -295,7 +295,7 @@ NPanel {
// Prominent refresh button
NIconButton {
icon: FontService.icons["refresh"]
icon: Bootstrap.icons["arrow-repeat"]
tooltipText: "Refresh and try again"
sizeRatio: 1.2
colorBg: Color.mPrimary
@ -483,7 +483,7 @@ NPanel {
spacing: Style.marginL * scaling
NIconButton {
icon: FontService.icons["refresh"]
icon: Bootstrap.icons["arrow-repeat"]
tooltipText: ArchUpdaterService.aurBusy ? "Checking for updates..." : (!ArchUpdaterService.canPoll ? "Refresh available soon" : "Refresh package lists")
onClicked: {
ArchUpdaterService.forceRefresh()