DEV: update deprecated icon names in themes-grid-card (#30162)

This commit is contained in:
Kelv 2024-12-09 05:18:55 +08:00 committed by GitHub
parent 0f2033dd69
commit e55d4f0c5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ export default class ThemeCard extends Component {
} }
get footerActionIcon() { get footerActionIcon() {
return this.args.theme.isPendingUpdates ? "sync" : "ellipsis-h"; return this.args.theme.isPendingUpdates ? "arrows-rotate" : "ellipsis";
} }
// NOTE: inspired by -> https://github.com/discourse/discourse/blob/24caa36eef826bcdaed88aebfa7df154413fb349/app/assets/javascripts/admin/addon/controllers/admin-customize-themes-show.js#L366 // NOTE: inspired by -> https://github.com/discourse/discourse/blob/24caa36eef826bcdaed88aebfa7df154413fb349/app/assets/javascripts/admin/addon/controllers/admin-customize-themes-show.js#L366
@ -179,7 +179,7 @@ export default class ThemeCard extends Component {
@preventFocus={{true}} @preventFocus={{true}}
@icon={{if @icon={{if
@theme.default @theme.default
"far-check-square" "far-square-check"
"far-square" "far-square"
}} }}
class="theme-card__button" class="theme-card__button"

View File

@ -47,7 +47,7 @@
} }
} }
} }
&.--updating .d-icon-sync { &.--updating .d-icon-arrows-rotate {
animation: rotate 3s linear infinite; animation: rotate 3s linear infinite;
margin-right: 0.45em; margin-right: 0.45em;
@keyframes rotate { @keyframes rotate {