diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 0f03b38bc4..7b9b76fcf2 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkNoteSub v-if="appearNote.reply && !renoteCollapsed" :note="appearNote.reply" :class="$style.replyTo"/> <div v-if="pinned" :class="$style.tip"><i class="ph-push-pin ph-bold ph-lg"></i> {{ i18n.ts.pinnedNote }}</div> <!--<div v-if="appearNote._prId_" class="tip"><i class="ph-megaphone ph-bold ph-lg"></i> {{ i18n.ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ i18n.ts.hideThisNote }} <i class="ph-x ph-bold ph-lg"></i></button></div>--> - <!--<div v-if="appearNote._featuredId_" class="tip"><i class="ph-lightning ph-bold pg-lg"></i> {{ i18n.ts.featured }}</div>--> + <!--<div v-if="appearNote._featuredId_" class="tip"><i class="ph-lightning ph-bold ph-lg"></i> {{ i18n.ts.featured }}</div>--> <div v-if="isRenote" :class="$style.renote"> <div v-if="note.channel" :class="$style.colorBar" :style="{ background: note.channel.color }"></div> <MkAvatar :class="$style.renoteAvatar" :user="note.user" link preview/> @@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i v-else-if="note.visibility === 'followers'" class="ph-lock ph-bold ph-lg"></i> <i v-else-if="note.visibility === 'specified'" ref="specified" class="ph-envelope ph-bold ph-lg"></i> </span> - <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold pg-lg"></i></span> + <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold ph-lg"></i></span> <span v-if="note.channel" style="margin-left: 0.5em;" :title="note.channel.name"><i class="ph-television ph-bold ph-lg"></i></span> <span v-if="note.updatedAt" ref="menuVersionsButton" style="margin-left: 0.5em;" title="Edited" @mousedown="menuVersions()"><i class="ph-pencil ph-bold ph-lg"></i></span> </div> @@ -60,7 +60,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div v-show="appearNote.cw == null || showContent" :class="[{ [$style.contentCollapsed]: collapsed }]" > <div :class="$style.text"> <span v-if="appearNote.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> - <MkA v-if="appearNote.replyId" :class="$style.replyIcon" :to="`/notes/${appearNote.replyId}`"><i class="ph-arrow-bend-left-up ph-bold pg-lg"></i></MkA> + <MkA v-if="appearNote.replyId" :class="$style.replyIcon" :to="`/notes/${appearNote.replyId}`"><i class="ph-arrow-bend-left-up ph-bold ph-lg"></i></MkA> <Mfm v-if="appearNote.text" :parsedNodes="parsed" :text="appearNote.text" :author="appearNote.user" :nyaize="'account'" :i="$i" :emojiUrls="appearNote.emojis"/> <div v-if="translating || translation" :class="$style.translation"> <MkLoading v-if="translating" mini/> @@ -92,7 +92,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkReactionsViewer> <footer :class="$style.footer"> <button :class="$style.footerButton" class="_button" v-on:click.stop @click="reply()"> - <i class="ph-arrow-u-up-left ph-bold pg-lg"></i> + <i class="ph-arrow-u-up-left ph-bold ph-lg"></i> <p v-if="appearNote.repliesCount > 0" :class="$style.footerButtonCount">{{ appearNote.repliesCount }}</p> </button> <button diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index d1989ad3e7..34df57e472 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i v-else-if="note.visibility === 'followers'" class="ph-lock ph-bold ph-lg"></i> <i v-else-if="note.visibility === 'specified'" ref="specified" class="ph-envelope ph-bold ph-lg"></i> </span> - <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold pg-lg"></i></span> + <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold ph-lg"></i></span> </div> </div> <article :class="$style.note" @contextmenu.stop="onContextmenu"> @@ -59,7 +59,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i v-else-if="appearNote.visibility === 'specified'" ref="specified" class="ph-envelope ph-bold ph-lg"></i> </span> <span v-if="appearNote.updatedAt" ref="menuVersionsButton" style="margin-left: 0.5em;" title="Edited" @mousedown="menuVersions()"><i class="ph-pencil ph-bold ph-lg"></i></span> - <span v-if="appearNote.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold pg-lg"></i></span> + <span v-if="appearNote.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold ph-lg"></i></span> </div> </div> <div :class="$style.noteHeaderUsername"><MkAcct :user="appearNote.user"/></div> @@ -73,7 +73,7 @@ SPDX-License-Identifier: AGPL-3.0-only </p> <div v-show="appearNote.cw == null || showContent"> <span v-if="appearNote.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> - <MkA v-if="appearNote.replyId" :class="$style.noteReplyTarget" :to="`/notes/${appearNote.replyId}`"><i class="ph-arrow-bend-left-up ph-bold pg-lg"></i></MkA> + <MkA v-if="appearNote.replyId" :class="$style.noteReplyTarget" :to="`/notes/${appearNote.replyId}`"><i class="ph-arrow-bend-left-up ph-bold ph-lg"></i></MkA> <Mfm v-if="appearNote.text" :parsedNodes="parsed" :text="appearNote.text" :author="appearNote.user" :nyaize="'account'" :i="$i" :emojiUrls="appearNote.emojis"/> <a v-if="appearNote.renote != null" :class="$style.rn">RN:</a> <div v-if="translating || translation" :class="$style.translation"> @@ -103,7 +103,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <MkReactionsViewer ref="reactionsViewer" :note="appearNote"/> <button class="_button" :class="$style.noteFooterButton" @click="reply()"> - <i class="ph-arrow-u-up-left ph-bold pg-lg"></i> + <i class="ph-arrow-u-up-left ph-bold ph-lg"></i> <p v-if="appearNote.repliesCount > 0" :class="$style.noteFooterButtonCount">{{ appearNote.repliesCount }}</p> </button> <button @@ -149,10 +149,10 @@ SPDX-License-Identifier: AGPL-3.0-only </footer> </article> <div :class="$style.tabs"> - <button class="_button" :class="[$style.tab, { [$style.tabActive]: tab === 'replies' }]" @click="tab = 'replies'"><i class="ph-arrow-u-up-left ph-bold pg-lg"></i> {{ i18n.ts.replies }}</button> + <button class="_button" :class="[$style.tab, { [$style.tabActive]: tab === 'replies' }]" @click="tab = 'replies'"><i class="ph-arrow-u-up-left ph-bold ph-lg"></i> {{ i18n.ts.replies }}</button> <button class="_button" :class="[$style.tab, { [$style.tabActive]: tab === 'renotes' }]" @click="tab = 'renotes'"><i class="ph-rocket-launch ph-bold ph-lg"></i> {{ i18n.ts.renotes }}</button> <button class="_button" :class="[$style.tab, { [$style.tabActive]: tab === 'quotes' }]" @click="tab = 'quotes'"><i class="ph-quotes ph-bold ph-lg"></i> {{ i18n.ts._notification._types.quote }}</button> - <button class="_button" :class="[$style.tab, { [$style.tabActive]: tab === 'reactions' }]" @click="tab = 'reactions'"><i class="ph-smiley ph-bold pg-lg"></i> {{ i18n.ts.reactions }}</button> + <button class="_button" :class="[$style.tab, { [$style.tabActive]: tab === 'reactions' }]" @click="tab = 'reactions'"><i class="ph-smiley ph-bold ph-lg"></i> {{ i18n.ts.reactions }}</button> </div> <div> <div v-if="tab === 'replies'" :class="$style.tab_replies"> diff --git a/packages/frontend/src/components/MkNoteHeader.vue b/packages/frontend/src/components/MkNoteHeader.vue index cabeeca8ce..c97dda29fd 100644 --- a/packages/frontend/src/components/MkNoteHeader.vue +++ b/packages/frontend/src/components/MkNoteHeader.vue @@ -23,7 +23,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i v-else-if="note.visibility === 'specified'" ref="specified" class="ph-envelope ph-bold ph-lg"></i> </span> <span v-if="note.updatedAt" ref="menuVersionsButton" style="margin-left: 0.5em;" title="Edited" @mousedown="menuVersions()"><i class="ph-pencil ph-bold ph-lg"></i></span> - <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold pg-lg"></i></span> + <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold ph-lg"></i></span> <span v-if="note.channel" style="margin-left: 0.5em;" :title="note.channel.name"><i class="ph-television ph-bold ph-lg"></i></span> </div> </header> diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index 965c9c6339..11106d3c8f 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only <footer :class="$style.footer"> <MkReactionsViewer ref="reactionsViewer" :note="note"/> <button class="_button" :class="$style.noteFooterButton" @click="reply()"> - <i class="ph-arrow-u-up-left ph-bold pg-lg"></i> + <i class="ph-arrow-u-up-left ph-bold ph-lg"></i> <p v-if="note.repliesCount > 0" :class="$style.noteFooterButtonCount">{{ note.repliesCount }}</p> </button> <button diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 5d86eee71c..c3a57b4762 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -29,10 +29,10 @@ SPDX-License-Identifier: AGPL-3.0-only <i v-else-if="notification.type === 'receiveFollowRequest'" class="ph-clock ph-bold ph-lg"></i> <i v-else-if="notification.type === 'followRequestAccepted'" class="ph-check ph-bold ph-lg"></i> <i v-else-if="notification.type === 'renote'" class="ph-rocket-launch ph-bold ph-lg"></i> - <i v-else-if="notification.type === 'reply'" class="ph-arrow-u-up-left ph-bold pg-lg"></i> + <i v-else-if="notification.type === 'reply'" class="ph-arrow-u-up-left ph-bold ph-lg"></i> <i v-else-if="notification.type === 'mention'" class="ph-at ph-bold ph-lg"></i> <i v-else-if="notification.type === 'quote'" class="ph-quotes ph-bold ph-lg"></i> - <i v-else-if="notification.type === 'pollEnded'" class="ph-chart-bar-horizontal ph-bold pg-lg"></i> + <i v-else-if="notification.type === 'pollEnded'" class="ph-chart-bar-horizontal ph-bold ph-lg"></i> <i v-else-if="notification.type === 'achievementEarned'" class="ph-trophy ph-bold ph-lg"></i> <!-- notification.reaction が null になることはまずないが、ここでoptional chaining使うと一部ブラウザで刺さるので念の為 --> <MkReactionIcon diff --git a/packages/frontend/src/components/MkPageWindow.vue b/packages/frontend/src/components/MkPageWindow.vue index 8bb8084bf7..8baa6e0cdc 100644 --- a/packages/frontend/src/components/MkPageWindow.vue +++ b/packages/frontend/src/components/MkPageWindow.vue @@ -66,7 +66,7 @@ const buttonsLeft = $computed(() => { if (history.length > 1) { buttons.push({ - icon: 'ph-arrow-left ph-bold pg-lg', + icon: 'ph-arrow-left ph-bold ph-lg', onClick: back, }); } @@ -79,7 +79,7 @@ const buttonsRight = $computed(() => { title: i18n.ts.reload, onClick: reload, }, { - icon: 'ph-eject ph-bold pg-lg', + icon: 'ph-eject ph-bold ph-lg', title: i18n.ts.showInPage, onClick: expand, }]; @@ -101,7 +101,7 @@ provide('shouldHeaderThin', true); provide('forceSpacerMin', true); const contextmenu = $computed(() => ([{ - icon: 'ph-eject ph-bold pg-lg', + icon: 'ph-eject ph-bold ph-lg', text: i18n.ts.showInPage, action: expand, }, { diff --git a/packages/frontend/src/components/MkPasswordDialog.vue b/packages/frontend/src/components/MkPasswordDialog.vue index 28bcd56762..3f244c42fd 100644 --- a/packages/frontend/src/components/MkPasswordDialog.vue +++ b/packages/frontend/src/components/MkPasswordDialog.vue @@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkInput v-if="$i.twoFactorEnabled" v-model="token" type="text" pattern="^([0-9]{6}|[A-Z0-9]{32})$" autocomplete="one-time-code" :spellcheck="false"> <template #label>{{ i18n.ts.token }} ({{ i18n.ts['2fa'] }})</template> - <template #prefix><i class="ph-keyhole ph-bold pg-lg"></i></template> + <template #prefix><i class="ph-keyhole ph-bold ph-lg"></i></template> </MkInput> <MkButton :disabled="(password ?? '') == '' || ($i.twoFactorEnabled && (token ?? '') == '')" primary rounded style="margin: 0 auto;" @click="done"><i class="ph-lock ph-bold ph-lg-open"></i> {{ i18n.ts.continue }}</MkButton> diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 04674fa258..d8c319ee6d 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -33,20 +33,20 @@ SPDX-License-Identifier: AGPL-3.0-only </button> </template> <button v-click-anime v-tooltip="i18n.ts._visibility.disableFederation" class="_button" :class="[$style.headerRightItem, { [$style.danger]: localOnly }]" :disabled="channel != null || visibility === 'specified'" @click="toggleLocalOnly"> - <span v-if="!localOnly"><i class="ph-rocket-launch ph-bold pg-lg"></i></span> - <span v-else><i class="ph-rocket ph-bold pg-lg"></i></span> + <span v-if="!localOnly"><i class="ph-rocket-launch ph-bold ph-lg"></i></span> + <span v-else><i class="ph-rocket ph-bold ph-lg"></i></span> </button> <button v-click-anime v-tooltip="i18n.ts.reactionAcceptance" class="_button" :class="[$style.headerRightItem, { [$style.danger]: reactionAcceptance === 'likeOnly' }]" @click="toggleReactionAcceptance"> <span v-if="reactionAcceptance === 'likeOnly'"><i class="ph-heart ph-bold ph-lg"></i></span> <span v-else-if="reactionAcceptance === 'likeOnlyForRemote'"><i class="ph-heart ph-bold ph-lg"></i></span> - <span v-else><i class="ph-smiley ph-bold pg-lg"></i></span> + <span v-else><i class="ph-smiley ph-bold ph-lg"></i></span> </button> <button v-click-anime class="_button" :class="$style.submit" :disabled="!canPost" data-cy-open-post-form-submit @click="post"> <div :class="$style.submitInner"> <template v-if="posted"></template> <template v-else-if="posting"><MkEllipsis/></template> <template v-else>{{ submitText }}</template> - <i style="margin-left: 6px;" :class="posted ? 'ph-check ph-bold ph-lg' : reply ? 'ph-arrow-u-up-left ph-bold pg-lg' : renote ? 'ph-quotes ph-bold ph-lg' : 'ph-paper-plane-tilt ph-bold ph-lg'"></i> + <i style="margin-left: 6px;" :class="posted ? 'ph-check ph-bold ph-lg' : reply ? 'ph-arrow-u-up-left ph-bold ph-lg' : renote ? 'ph-quotes ph-bold ph-lg' : 'ph-paper-plane-tilt ph-bold ph-lg'"></i> </div> </button> </div> @@ -79,7 +79,7 @@ SPDX-License-Identifier: AGPL-3.0-only <footer :class="$style.footer"> <div :class="$style.footerLeft"> <button v-tooltip="i18n.ts.attachFile" class="_button" :class="$style.footerButton" @click="chooseFileFrom"><i class="ph-image-square ph-bold ph-lg-plus"></i></button> - <button v-tooltip="i18n.ts.poll" class="_button" :class="[$style.footerButton, { [$style.footerButtonActive]: poll }]" @click="togglePoll"><i class="ph-chart-bar-horizontal ph-bold pg-lg"></i></button> + <button v-tooltip="i18n.ts.poll" class="_button" :class="[$style.footerButton, { [$style.footerButtonActive]: poll }]" @click="togglePoll"><i class="ph-chart-bar-horizontal ph-bold ph-lg"></i></button> <button v-tooltip="i18n.ts.useCw" class="_button" :class="[$style.footerButton, { [$style.footerButtonActive]: useCw }]" @click="useCw = !useCw"><i class="ph-eye-slash ph-bold ph-lg"></i></button> <button v-tooltip="i18n.ts.mention" class="_button" :class="$style.footerButton" @click="insertMention"><i class="ph-at ph-bold ph-lg"></i></button> <button v-tooltip="i18n.ts.hashtags" class="_button" :class="[$style.footerButton, { [$style.footerButtonActive]: withHashtags }]" @click="withHashtags = !withHashtags"><i class="ph-hash ph-bold ph-lg"></i></button> diff --git a/packages/frontend/src/components/MkPullToRefresh.vue b/packages/frontend/src/components/MkPullToRefresh.vue index 467c02832a..09052760f4 100644 --- a/packages/frontend/src/components/MkPullToRefresh.vue +++ b/packages/frontend/src/components/MkPullToRefresh.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div v-if="isPullStart" :class="$style.frame" :style="`--frame-min-height: ${pullDistance / (PULL_BRAKE_BASE + (pullDistance / PULL_BRAKE_FACTOR))}px;`"> <div :class="$style.frameContent"> <MkLoading v-if="isRefreshing" :class="$style.loader" :em="true"/> - <i v-else class="ph-arrow-line-down ph-bold pg-lg" :class="[$style.icon, { [$style.refresh]: isPullEnd }]"></i> + <i v-else class="ph-arrow-line-down ph-bold ph-lg" :class="[$style.icon, { [$style.refresh]: isPullEnd }]"></i> <div :class="$style.text"> <template v-if="isPullEnd">{{ i18n.ts.releaseToRefresh }}</template> <template v-else-if="isRefreshing">{{ i18n.ts.refreshing }}</template> diff --git a/packages/frontend/src/components/MkSelect.vue b/packages/frontend/src/components/MkSelect.vue index 26e4a0c2da..d8c8c4998b 100644 --- a/packages/frontend/src/components/MkSelect.vue +++ b/packages/frontend/src/components/MkSelect.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div :class="$style.caption"><slot name="caption"></slot></div> - <MkButton v-if="manualSave && changed" primary @click="updated"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton v-if="manualSave && changed" primary @click="updated"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </template> diff --git a/packages/frontend/src/components/MkSignin.vue b/packages/frontend/src/components/MkSignin.vue index cc5fc29ed3..a8718b98d6 100644 --- a/packages/frontend/src/components/MkSignin.vue +++ b/packages/frontend/src/components/MkSignin.vue @@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkInput> <MkInput v-model="token" type="text" pattern="^([0-9]{6}|[A-Z0-9]{32})$" autocomplete="one-time-code" :spellcheck="false" required> <template #label>{{ i18n.ts.token }}</template> - <template #prefix><i class="ph-keyhole ph-bold pg-lg"></i></template> + <template #prefix><i class="ph-keyhole ph-bold ph-lg"></i></template> </MkInput> <MkButton type="submit" :disabled="signing" large primary rounded style="margin: 0 auto;">{{ signing ? i18n.ts.loggingIn : i18n.ts.login }}</MkButton> </div> diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue index 3dc95ad0a0..7d044a1289 100644 --- a/packages/frontend/src/components/MkSignupDialog.rules.vue +++ b/packages/frontend/src/components/MkSignupDialog.rules.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkFolder v-if="availableTos || availablePrivacyPolicy" :defaultOpen="true"> <template #label>{{ tosPrivacyPolicyLabel }}</template> - <template #suffix><i v-if="agreeTosAndPrivacyPolicy" class="ph-check ph-bold pg-lg" style="color: var(--success)"></i></template> + <template #suffix><i v-if="agreeTosAndPrivacyPolicy" class="ph-check ph-bold ph-lg" style="color: var(--success)"></i></template> <div class="_gaps_s"> <div v-if="availableTos"><a :href="instance.tosUrl" class="_link" target="_blank">{{ i18n.ts.termsOfService }} <i class="ph-arrow-square-out ph-bold ph-lg"></i></a></div> <div v-if="availablePrivacyPolicy"><a :href="instance.privacyPolicyUrl" class="_link" target="_blank">{{ i18n.ts.privacyPolicy }} <i class="ph-arrow-square-out ph-bold ph-lg"></i></a></div> @@ -54,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_buttonsCenter"> <MkButton inline rounded @click="emit('cancel')">{{ i18n.ts.cancel }}</MkButton> - <MkButton inline primary rounded gradate :disabled="!agreed" data-cy-signup-rules-continue @click="emit('done')">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton inline primary rounded gradate :disabled="!agreed" data-cy-signup-rules-continue @click="emit('done')">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </div> </MkSpacer> diff --git a/packages/frontend/src/components/MkSubNoteContent.vue b/packages/frontend/src/components/MkSubNoteContent.vue index d93b00eb3a..973ffd328c 100644 --- a/packages/frontend/src/components/MkSubNoteContent.vue +++ b/packages/frontend/src/components/MkSubNoteContent.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div :class="{ [$style.clickToOpen]: defaultStore.state.clickToOpen }" @click="defaultStore.state.clickToOpen ? noteclick(note.id) : undefined"> <span v-if="note.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> <span v-if="note.deletedAt" style="opacity: 0.5">({{ i18n.ts.deleted }})</span> - <MkA v-if="note.replyId" :class="$style.reply" :to="`/notes/${note.replyId}`" v-on:click.stop><i class="ph-arrow-bend-left-up ph-bold pg-lg"></i></MkA> + <MkA v-if="note.replyId" :class="$style.reply" :to="`/notes/${note.replyId}`" v-on:click.stop><i class="ph-arrow-bend-left-up ph-bold ph-lg"></i></MkA> <Mfm v-if="note.text" :text="note.text" :author="note.user" :nyaize="'account'" :i="$i" :emojiUrls="note.emojis"/> <div v-if="note.text && translating || note.text && translation" :class="$style.translation"> <MkLoading v-if="translating" mini/> diff --git a/packages/frontend/src/components/MkTextarea.vue b/packages/frontend/src/components/MkTextarea.vue index 3ace738f1b..c35274959e 100644 --- a/packages/frontend/src/components/MkTextarea.vue +++ b/packages/frontend/src/components/MkTextarea.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div :class="$style.caption"><slot name="caption"></slot></div> - <MkButton v-if="manualSave && changed" primary :class="$style.save" @click="updated"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton v-if="manualSave && changed" primary :class="$style.save" @click="updated"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </template> diff --git a/packages/frontend/src/components/MkUrlPreview.vue b/packages/frontend/src/components/MkUrlPreview.vue index 7093283d45..78c62e1250 100644 --- a/packages/frontend/src/components/MkUrlPreview.vue +++ b/packages/frontend/src/components/MkUrlPreview.vue @@ -72,7 +72,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div v-if="!playerEnabled && player.url" :class="$style.action"> <MkButton :small="true" inline @click="playerEnabled = true"> - <i class="ph-play ph-bold pg-lg"></i> {{ i18n.ts.enablePlayer }} + <i class="ph-play ph-bold ph-lg"></i> {{ i18n.ts.enablePlayer }} </MkButton> <MkButton v-if="!isMobile" :small="true" inline @click="openPlayer()"> <i class="ph-picture-in-picture ph-bold ph-lg"></i> {{ i18n.ts.openInWindow }} diff --git a/packages/frontend/src/components/MkUserSetupDialog.vue b/packages/frontend/src/components/MkUserSetupDialog.vue index 0ec42a4a7c..fccf9e8d98 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template v-if="page === 1" #header><i class="ph-user-list ph-bold ph-lg"></i> {{ i18n.ts._initialAccountSetting.profileSetting }}</template> <template v-else-if="page === 2" #header><i class="ph-lock ph-bold ph-lg"></i> {{ i18n.ts._initialAccountSetting.privacySetting }}</template> <template v-else-if="page === 3" #header><i class="ph-user-plus ph-bold ph-lg"></i> {{ i18n.ts.follow }}</template> - <template v-else-if="page === 4" #header><i class="ph-bell-ringing ph-bold pg-lg"></i> {{ i18n.ts.pushNotification }}</template> + <template v-else-if="page === 4" #header><i class="ph-bell-ringing ph-bold ph-lg"></i> {{ i18n.ts.pushNotification }}</template> <template v-else-if="page === 5" #header>{{ i18n.ts.done }}</template> <template v-else #header>{{ i18n.ts.initialAccountSetting }}</template> @@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i class="ph-confetti ph-bold ph-lg" style="display: block; margin: auto; font-size: 3em; color: var(--accent);"></i> <div style="font-size: 120%;">{{ i18n.ts._initialAccountSetting.accountCreated }}</div> <div>{{ i18n.ts._initialAccountSetting.letsStartAccountSetup }}</div> - <MkButton primary rounded gradate style="margin: 16px auto 0 auto;" data-cy-user-setup-continue @click="page++">{{ i18n.ts._initialAccountSetting.profileSetting }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton primary rounded gradate style="margin: 16px auto 0 auto;" data-cy-user-setup-continue @click="page++">{{ i18n.ts._initialAccountSetting.profileSetting }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> <MkButton style="margin: 0 auto;" transparent rounded @click="later(true)">{{ i18n.ts.later }}</MkButton> </div> </MkSpacer> @@ -49,8 +49,8 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSpacer :marginMin="20" :marginMax="28"> <XProfile/> <div class="_buttonsCenter" style="margin-top: 16px;"> - <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton> - <MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton> + <MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </MkSpacer> </div> @@ -60,8 +60,8 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSpacer :marginMin="20" :marginMax="28"> <XPrivacy/> <div class="_buttonsCenter" style="margin-top: 16px;"> - <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton> - <MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton> + <MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </MkSpacer> </div> @@ -73,8 +73,8 @@ SPDX-License-Identifier: AGPL-3.0-only </MkSpacer> <div :class="$style.pageFooter"> <div class="_buttonsCenter"> - <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton> - <MkButton primary rounded gradate style="" data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton> + <MkButton primary rounded gradate style="" data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </div> </div> @@ -83,13 +83,13 @@ SPDX-License-Identifier: AGPL-3.0-only <div :class="$style.centerPage"> <MkSpacer :marginMin="20" :marginMax="28"> <div class="_gaps" style="text-align: center;"> - <i class="ph-bell-ringing ph-bold pg-lg" style="display: block; margin: auto; font-size: 3em; color: var(--accent);"></i> + <i class="ph-bell-ringing ph-bold ph-lg" style="display: block; margin: auto; font-size: 3em; color: var(--accent);"></i> <div style="font-size: 120%;">{{ i18n.ts.pushNotification }}</div> <div style="padding: 0 16px;">{{ i18n.t('_initialAccountSetting.pushNotificationDescription', { name: instance.name ?? host }) }}</div> <MkPushNotificationAllowButton primary showOnlyToRegister style="margin: 0 auto;"/> <div class="_buttonsCenter" style="margin-top: 16px;"> - <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton> - <MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton> + <MkButton primary rounded gradate data-cy-user-setup-continue @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </div> </MkSpacer> @@ -110,7 +110,7 @@ SPDX-License-Identifier: AGPL-3.0-only </I18n> <div>{{ i18n.t('_initialAccountSetting.haveFun', { name: instance.name ?? host }) }}</div> <div class="_buttonsCenter" style="margin-top: 16px;"> - <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton> + <MkButton rounded data-cy-user-setup-back @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton> <MkButton primary rounded gradate data-cy-user-setup-continue @click="close(false)">{{ i18n.ts.close }}</MkButton> </div> </div> diff --git a/packages/frontend/src/components/MkVisitorDashboard.vue b/packages/frontend/src/components/MkVisitorDashboard.vue index b11bbf7944..79465e6ab4 100644 --- a/packages/frontend/src/components/MkVisitorDashboard.vue +++ b/packages/frontend/src/components/MkVisitorDashboard.vue @@ -109,19 +109,19 @@ function showMenu(ev) { }, }, null, (instance.impressumUrl) ? { text: i18n.ts.impressum, - icon: 'ph-newspaper-clipping ph-bold pg-lg', + icon: 'ph-newspaper-clipping ph-bold ph-lg', action: () => { window.open(instance.impressumUrl, '_blank'); }, } : undefined, (instance.tosUrl) ? { text: i18n.ts.termsOfService, - icon: 'ph-notebook ph-bold pg-lg', + icon: 'ph-notebook ph-bold ph-lg', action: () => { window.open(instance.tosUrl, '_blank'); }, } : undefined, (instance.privacyPolicyUrl) ? { text: i18n.ts.privacyPolicy, - icon: 'ph-shield ph-bold pg-lg', + icon: 'ph-shield ph-bold ph-lg', action: () => { window.open(instance.privacyPolicyUrl, '_blank'); }, diff --git a/packages/frontend/src/components/MkWidgets.vue b/packages/frontend/src/components/MkWidgets.vue index c5cde16e67..95f8950fb8 100644 --- a/packages/frontend/src/components/MkWidgets.vue +++ b/packages/frontend/src/components/MkWidgets.vue @@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only > <template #item="{element}"> <div :class="[$style.widget, $style.customizeContainer]" data-cy-customize-container> - <button :class="$style.customizeContainerConfig" class="_button" @click.prevent.stop="configWidget(element.id)"><i class="ph-gear ph-bold pg-lg"></i></button> + <button :class="$style.customizeContainerConfig" class="_button" @click.prevent.stop="configWidget(element.id)"><i class="ph-gear ph-bold ph-lg"></i></button> <button :class="$style.customizeContainerRemove" data-cy-customize-container-remove class="_button" @click.prevent.stop="removeWidget(element)"><i class="ph-x ph-bold ph-lg"></i></button> <div class="handle"> <component :is="`widget-${element.name}`" :ref="el => widgetRefs[element.id] = el" class="widget" :class="$style.customizeContainerHandleWidget" :widget="element" @updateProps="updateWidget(element.id, $event)"/> @@ -111,7 +111,7 @@ function onContextmenu(widget: Widget, ev: MouseEvent) { type: 'label', text: i18n.t(`_widgets.${widget.name}`), }, { - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.settings, action: () => { configWidget(widget.id); diff --git a/packages/frontend/src/components/SkOldNoteWindow.vue b/packages/frontend/src/components/SkOldNoteWindow.vue index 021810b529..892471e47a 100644 --- a/packages/frontend/src/components/SkOldNoteWindow.vue +++ b/packages/frontend/src/components/SkOldNoteWindow.vue @@ -20,7 +20,7 @@ <i v-else-if="appearNote.visibility === 'followers'" class="ph-lock ph-bold ph-lg"></i> <i v-else-if="appearNote.visibility === 'specified'" ref="specified" class="ph-envelope ph-bold ph-lg"></i> </span> - <span v-if="appearNote.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold pg-lg"></i></span> + <span v-if="appearNote.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold ph-lg"></i></span> </div> </div> <div :class="$style.noteHeaderUsername"><MkAcct :user="appearNote.user"/></div> @@ -34,7 +34,7 @@ </p> <div v-show="appearNote.cw == null || showContent"> <span v-if="appearNote.isHidden" style="opacity: 0.5">({{ i18n.ts.private }})</span> - <MkA v-if="appearNote.replyId" :class="$style.noteReplyTarget" :to="`/notes/${appearNote.replyId}`"><i class="ph-arrow-bend-left-up ph-bold pg-lg"></i></MkA> + <MkA v-if="appearNote.replyId" :class="$style.noteReplyTarget" :to="`/notes/${appearNote.replyId}`"><i class="ph-arrow-bend-left-up ph-bold ph-lg"></i></MkA> <Mfm v-if="appearNote.text" :text="appearNote.text" :author="appearNote.user" :nyaize="'account'" :i="$i" :emojiUrls="appearNote.emojis"/> <a v-if="appearNote.renote != null" :class="$style.rn">RN:</a> <div v-if="translating || translation" :class="$style.translation"> @@ -58,7 +58,7 @@ <MkTime :time="appearNote.createdAt" mode="detail"/> </div> <button class="_button" :class="$style.noteFooterButton"> - <i class="ph-arrow-u-up-left ph-bold pg-lg"></i> + <i class="ph-arrow-u-up-left ph-bold ph-lg"></i> </button> <button class="_button" :class="$style.noteFooterButton"> <i class="ph-rocket-launch ph-bold ph-lg"></i> diff --git a/packages/frontend/src/components/global/MkA.vue b/packages/frontend/src/components/global/MkA.vue index 1041e21d21..7689bba7bf 100644 --- a/packages/frontend/src/components/global/MkA.vue +++ b/packages/frontend/src/components/global/MkA.vue @@ -51,7 +51,7 @@ function onContextmenu(ev) { os.pageWindow(props.to); }, }, { - icon: 'ph-eject ph-bold pg-lg', + icon: 'ph-eject ph-bold ph-lg', text: i18n.ts.showInPage, action: () => { router.push(props.to, 'forcePage'); diff --git a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts index 171b68cf7d..05d2872e91 100644 --- a/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts +++ b/packages/frontend/src/components/global/MkPageHeader.stories.impl.ts @@ -92,12 +92,12 @@ export const SomeTabs = { { key: 'fairy', title: 'Fairy', - icon: 'ph-snowflake ph-bold pg-lg', + icon: 'ph-snowflake ph-bold ph-lg', }, { key: 'angel', title: 'Angel', - icon: 'ph-feather ph-bold pg-lg', + icon: 'ph-feather ph-bold ph-lg', }, ], }, diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index 0ef856a1d5..11a0feea26 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -81,7 +81,7 @@ export const navbarItemDef = reactive({ }, favorites: { title: i18n.ts.favorites, - icon: 'ph-bookmark ph-bold ph-lg', + icon: 'ph-star ph-bold ph-lg', show: computed(() => $i != null), to: '/my/favorites', }, diff --git a/packages/frontend/src/pages/about-sharkey.vue b/packages/frontend/src/pages/about-sharkey.vue index 2054783695..97f6d9d9f1 100644 --- a/packages/frontend/src/pages/about-sharkey.vue +++ b/packages/frontend/src/pages/about-sharkey.vue @@ -30,12 +30,12 @@ SPDX-License-Identifier: AGPL-3.0-only <FormSection> <div class="_formLinks"> <FormLink to="https://github.com/transfem-org/Sharkey" external> - <template #icon><i class="ph-code ph-bold pg-lg"></i></template> + <template #icon><i class="ph-code ph-bold ph-lg"></i></template> {{ i18n.ts._aboutMisskey.source }} <template #suffix>GitHub</template> </FormLink> <FormLink to="https://ko-fi.com/transfem" external> - <template #icon><i class="ph-piggy-bank ph-bold pg-lg"></i></template> + <template #icon><i class="ph-piggy-bank ph-bold ph-lg"></i></template> {{ i18n.ts._aboutMisskey.donate }} <template #suffix>Ko-Fi</template> </FormLink> diff --git a/packages/frontend/src/pages/about.vue b/packages/frontend/src/pages/about.vue index 9028515975..3c6d6b2558 100644 --- a/packages/frontend/src/pages/about.vue +++ b/packages/frontend/src/pages/about.vue @@ -148,7 +148,7 @@ const headerTabs = $computed(() => [{ }, { key: 'emojis', title: i18n.ts.customEmojis, - icon: 'ph-smiley ph-bold pg-lg', + icon: 'ph-smiley ph-bold ph-lg', }, { key: 'federation', title: i18n.ts.federation, @@ -156,7 +156,7 @@ const headerTabs = $computed(() => [{ }, { key: 'charts', title: i18n.ts.charts, - icon: 'ph-chart-line ph-bold pg-lg', + icon: 'ph-chart-line ph-bold ph-lg', }]); definePageMetadata(computed(() => ({ diff --git a/packages/frontend/src/pages/admin-file.vue b/packages/frontend/src/pages/admin-file.vue index 1451d13045..b894c9bbe9 100644 --- a/packages/frontend/src/pages/admin-file.vue +++ b/packages/frontend/src/pages/admin-file.vue @@ -135,7 +135,7 @@ const headerTabs = $computed(() => [{ } : null, { key: 'raw', title: 'Raw data', - icon: 'ph-code ph-bold pg-lg', + icon: 'ph-code ph-bold ph-lg', }]); definePageMetadata(computed(() => ({ diff --git a/packages/frontend/src/pages/admin-user.vue b/packages/frontend/src/pages/admin-user.vue index 5d480f1500..25547117a4 100644 --- a/packages/frontend/src/pages/admin-user.vue +++ b/packages/frontend/src/pages/admin-user.vue @@ -72,7 +72,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkKeyValue> </div> - <MkButton @click="updateRemoteUser"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> {{ i18n.ts.updateRemoteUser }}</MkButton> + <MkButton @click="updateRemoteUser"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> {{ i18n.ts.updateRemoteUser }}</MkButton> </div> </FormSection> @@ -474,7 +474,7 @@ const headerTabs = $computed(() => [{ }, { key: 'roles', title: i18n.ts.roles, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', }, { key: 'announcements', title: i18n.ts.announcements, @@ -486,11 +486,11 @@ const headerTabs = $computed(() => [{ }, { key: 'chart', title: i18n.ts.charts, - icon: 'ph-chart-line ph-bold pg-lg', + icon: 'ph-chart-line ph-bold ph-lg', }, { key: 'raw', title: 'Raw', - icon: 'ph-code ph-bold pg-lg', + icon: 'ph-code ph-bold ph-lg', }]); definePageMetadata(computed(() => ({ diff --git a/packages/frontend/src/pages/admin/ads.vue b/packages/frontend/src/pages/admin/ads.vue index 8da2b0ab6a..c45d0f8b04 100644 --- a/packages/frontend/src/pages/admin/ads.vue +++ b/packages/frontend/src/pages/admin/ads.vue @@ -65,7 +65,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="buttons"> <MkButton class="button" inline primary style="margin-right: 12px;" @click="save(ad)"> <i - class="ph-floppy-disk ph-bold pg-lg" + class="ph-floppy-disk ph-bold ph-lg" ></i> {{ i18n.ts.save }} </MkButton> <MkButton class="button" inline danger @click="remove(ad)"> diff --git a/packages/frontend/src/pages/admin/announcements.vue b/packages/frontend/src/pages/admin/announcements.vue index 23ba8f3a19..7cb2e0e346 100644 --- a/packages/frontend/src/pages/admin/announcements.vue +++ b/packages/frontend/src/pages/admin/announcements.vue @@ -51,7 +51,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkSwitch> <p v-if="announcement.reads">{{ i18n.t('nUsersRead', { n: announcement.reads }) }}</p> <div class="buttons _buttons"> - <MkButton class="button" inline primary @click="save(announcement)"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton class="button" inline primary @click="save(announcement)"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> <MkButton v-if="announcement.id != null" class="button" inline @click="archive(announcement)"><i class="ph-check ph-bold ph-lg"></i> {{ i18n.ts._announcement.end }} ({{ i18n.ts.archive }})</MkButton> <MkButton v-if="announcement.id != null" class="button" inline danger @click="del(announcement)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton> </div> diff --git a/packages/frontend/src/pages/admin/approvals.vue b/packages/frontend/src/pages/admin/approvals.vue index 3f7f292621..5d9c9de03b 100644 --- a/packages/frontend/src/pages/admin/approvals.vue +++ b/packages/frontend/src/pages/admin/approvals.vue @@ -50,7 +50,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => ({ title: i18n.ts.approvals, - icon: 'ph-chalkboard-teacher ph-bold pg-lg', + icon: 'ph-chalkboard-teacher ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/admin/bot-protection.vue b/packages/frontend/src/pages/admin/bot-protection.vue index bda19eab50..450c0ec663 100644 --- a/packages/frontend/src/pages/admin/bot-protection.vue +++ b/packages/frontend/src/pages/admin/bot-protection.vue @@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0-only </FormSlot> </template> - <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </FormSuspense> </div> diff --git a/packages/frontend/src/pages/admin/database.vue b/packages/frontend/src/pages/admin/database.vue index d3a46d2c2b..0c14fc9b5f 100644 --- a/packages/frontend/src/pages/admin/database.vue +++ b/packages/frontend/src/pages/admin/database.vue @@ -35,6 +35,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.database, - icon: 'ph-database ph-bold pg-lg', + icon: 'ph-database ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index 4ada8f9a40..10cbe19c65 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -45,7 +45,7 @@ const router = useRouter(); const indexInfo = { title: i18n.ts.controlPanel, - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', hideHeader: true, }; @@ -101,12 +101,12 @@ const menuDef = $computed(() => [{ }, { title: i18n.ts.administration, items: [{ - icon: 'ph-gauge ph-bold pg-lg', + icon: 'ph-gauge ph-bold ph-lg', text: i18n.ts.dashboard, to: '/admin/overview', active: currentPage?.route.name === 'overview', }, { - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', text: i18n.ts.users, to: '/admin/users', active: currentPage?.route.name === 'users', @@ -121,12 +121,12 @@ const menuDef = $computed(() => [{ to: '/admin/approvals', active: currentPage?.route.name === 'approvals', }, { - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', text: i18n.ts.roles, to: '/admin/roles', active: currentPage?.route.name === 'roles', }, { - icon: 'ph-smiley ph-bold pg-lg', + icon: 'ph-smiley ph-bold ph-lg', text: i18n.ts.customEmojis, to: '/admin/emojis', active: currentPage?.route.name === 'emojis', @@ -166,7 +166,7 @@ const menuDef = $computed(() => [{ to: '/admin/abuses', active: currentPage?.route.name === 'abuses', }, { - icon: 'ph-list ph-bold pg-lg-search', + icon: 'ph-list ph-bold ph-lg-search', text: i18n.ts.moderationLogs, to: '/admin/modlog', active: currentPage?.route.name === 'modlog', @@ -174,7 +174,7 @@ const menuDef = $computed(() => [{ }, { title: i18n.ts.settings, items: [{ - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.general, to: '/admin/settings', active: currentPage?.route.name === 'settings', @@ -204,7 +204,7 @@ const menuDef = $computed(() => [{ to: '/admin/security', active: currentPage?.route.name === 'security', }, { - icon: 'ph-planet ph-bold pg-lg', + icon: 'ph-planet ph-bold ph-lg', text: i18n.ts.relays, to: '/admin/relays', active: currentPage?.route.name === 'relays', @@ -219,7 +219,7 @@ const menuDef = $computed(() => [{ to: '/admin/proxy-account', active: currentPage?.route.name === 'proxy-account', }, { - icon: 'ph-arrow-square-out ph-bold pg-lg', + icon: 'ph-arrow-square-out ph-bold ph-lg', text: i18n.ts.externalServices, to: '/admin/external-services', active: currentPage?.route.name === 'external-services', @@ -232,7 +232,7 @@ const menuDef = $computed(() => [{ }, { title: i18n.ts.info, items: [{ - icon: 'ph-database ph-bold pg-lg', + icon: 'ph-database ph-bold ph-lg', text: i18n.ts.database, to: '/admin/database', active: currentPage?.route.name === 'database', @@ -314,7 +314,7 @@ const lookup = (ev) => { }, }, { text: i18n.ts.instance, - icon: 'ph-planet ph-bold pg-lg', + icon: 'ph-planet ph-bold ph-lg', action: () => { alert('TODO'); }, diff --git a/packages/frontend/src/pages/admin/instance-block.vue b/packages/frontend/src/pages/admin/instance-block.vue index da407d93c6..6024ed6b8f 100644 --- a/packages/frontend/src/pages/admin/instance-block.vue +++ b/packages/frontend/src/pages/admin/instance-block.vue @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span>{{ i18n.ts.silencedInstances }}</span> <template #caption>{{ i18n.ts.silencedInstancesDescription }}</template> </MkTextarea> - <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </FormSuspense> </MkSpacer> </MkStickyContainer> diff --git a/packages/frontend/src/pages/admin/modlog.vue b/packages/frontend/src/pages/admin/modlog.vue index d958e16525..bdbed67ad1 100644 --- a/packages/frontend/src/pages/admin/modlog.vue +++ b/packages/frontend/src/pages/admin/modlog.vue @@ -62,6 +62,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.moderationLogs, - icon: 'ph-list ph-bold pg-lg-search', + icon: 'ph-list ph-bold ph-lg-search', }); </script> diff --git a/packages/frontend/src/pages/admin/overview.stats.vue b/packages/frontend/src/pages/admin/overview.stats.vue index 563d8988a8..23ed736c94 100644 --- a/packages/frontend/src/pages/admin/overview.stats.vue +++ b/packages/frontend/src/pages/admin/overview.stats.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkLoading v-if="fetching"/> <div v-else :class="$style.root"> <div class="item _panel users"> - <div class="icon"><i class="ph-users ph-bold pg-lg"></i></div> + <div class="icon"><i class="ph-users ph-bold ph-lg"></i></div> <div class="body"> <div class="value"> <MkNumber :value="stats.originalUsersCount" style="margin-right: 0.5em;"/> @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </div> <div class="item _panel instances"> - <div class="icon"><i class="ph-planet ph-bold pg-lg"></i></div> + <div class="icon"><i class="ph-planet ph-bold ph-lg"></i></div> <div class="body"> <div class="value"> <MkNumber :value="stats.instances" style="margin-right: 0.5em;"/> @@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </div> <div class="item _panel emojis"> - <div class="icon"><i class="ph-smiley ph-bold pg-lg"></i></div> + <div class="icon"><i class="ph-smiley ph-bold ph-lg"></i></div> <div class="body"> <div class="value"> <MkNumber :value="customEmojis.length" style="margin-right: 0.5em;"/> diff --git a/packages/frontend/src/pages/admin/overview.vue b/packages/frontend/src/pages/admin/overview.vue index becbbf17d9..7563ae9834 100644 --- a/packages/frontend/src/pages/admin/overview.vue +++ b/packages/frontend/src/pages/admin/overview.vue @@ -177,7 +177,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.dashboard, - icon: 'ph-gauge ph-bold pg-lg', + icon: 'ph-gauge ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/admin/relays.vue b/packages/frontend/src/pages/admin/relays.vue index 689b43ded1..9b4a84d12f 100644 --- a/packages/frontend/src/pages/admin/relays.vue +++ b/packages/frontend/src/pages/admin/relays.vue @@ -84,7 +84,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.relays, - icon: 'ph-planet ph-bold pg-lg', + icon: 'ph-planet ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/admin/roles.edit.vue b/packages/frontend/src/pages/admin/roles.edit.vue index fa37d0432b..a982b41e71 100644 --- a/packages/frontend/src/pages/admin/roles.edit.vue +++ b/packages/frontend/src/pages/admin/roles.edit.vue @@ -87,10 +87,10 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => role ? { title: i18n.ts._role.edit + ': ' + role.name, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', } : { title: i18n.ts._role.new, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', })); </script> diff --git a/packages/frontend/src/pages/admin/roles.editor.vue b/packages/frontend/src/pages/admin/roles.editor.vue index afaeebaee7..be630c05a5 100644 --- a/packages/frontend/src/pages/admin/roles.editor.vue +++ b/packages/frontend/src/pages/admin/roles.editor.vue @@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkSelect> <MkSelect v-model="role.target" :readonly="readonly"> - <template #label><i class="ph-users ph-bold pg-lg"></i> {{ i18n.ts._role.assignTarget }}</template> + <template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._role.assignTarget }}</template> <template #caption><div v-html="i18n.ts._role.descriptionOfAssignTarget.replaceAll('\n', '<br>')"></div></template> <option value="manual">{{ i18n.ts._role.manual }}</option> <option value="conditional">{{ i18n.ts._role.conditional }}</option> @@ -588,7 +588,7 @@ let q = $ref(''); function getPriorityIcon(option) { if (option.priority === 2) return 'ph-arrow-up ph-bold ph-lg'; if (option.priority === 1) return 'ph-arrow-up ph-bold ph-lg'; - return 'ph-circle ph-bold pg-lg'; + return 'ph-circle ph-bold ph-lg'; } function matchQuery(keywords: string[]): boolean { diff --git a/packages/frontend/src/pages/admin/roles.role.vue b/packages/frontend/src/pages/admin/roles.role.vue index d83bb0615b..953db11a1a 100644 --- a/packages/frontend/src/pages/admin/roles.role.vue +++ b/packages/frontend/src/pages/admin/roles.role.vue @@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only <XEditor :modelValue="role" readonly/> </MkFolder> <MkFolder v-if="role.target === 'manual'" defaultOpen> - <template #icon><i class="ph-users ph-bold pg-lg"></i></template> + <template #icon><i class="ph-users ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts.users }}</template> <template #suffix>{{ role.usersCount }}</template> <div class="_gaps"> @@ -173,7 +173,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => ({ title: i18n.ts.role + ': ' + role.name, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/admin/roles.vue b/packages/frontend/src/pages/admin/roles.vue index e9ea6e8eb7..61a62f837f 100644 --- a/packages/frontend/src/pages/admin/roles.vue +++ b/packages/frontend/src/pages/admin/roles.vue @@ -264,7 +264,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => ({ title: i18n.ts.roles, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/admin/security.vue b/packages/frontend/src/pages/admin/security.vue index c2b6dc139b..1ff38548c9 100644 --- a/packages/frontend/src/pages/admin/security.vue +++ b/packages/frontend/src/pages/admin/security.vue @@ -59,7 +59,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkSwitch> --> - <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </MkFolder> @@ -97,7 +97,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template #label>Summaly Proxy URL</template> </MkInput> - <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </MkFolder> </div> diff --git a/packages/frontend/src/pages/admin/settings.vue b/packages/frontend/src/pages/admin/settings.vue index e29bd16e7f..de1985586f 100644 --- a/packages/frontend/src/pages/admin/settings.vue +++ b/packages/frontend/src/pages/admin/settings.vue @@ -228,7 +228,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.general, - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/admin/users.vue b/packages/frontend/src/pages/admin/users.vue index a1f32ba809..7f809ed9cc 100644 --- a/packages/frontend/src/pages/admin/users.vue +++ b/packages/frontend/src/pages/admin/users.vue @@ -140,7 +140,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => ({ title: i18n.ts.users, - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/announcements.vue b/packages/frontend/src/pages/announcements.vue index 7ac37adfbf..95ad690975 100644 --- a/packages/frontend/src/pages/announcements.vue +++ b/packages/frontend/src/pages/announcements.vue @@ -95,11 +95,11 @@ const headerActions = $computed(() => []); const headerTabs = $computed(() => [{ key: 'current', title: i18n.ts.currentAnnouncements, - icon: 'ph-fire ph-bold pg-lg', + icon: 'ph-fire ph-bold ph-lg', }, { key: 'past', title: i18n.ts.pastAnnouncements, - icon: 'ph-circle ph-bold pg-lg', + icon: 'ph-circle ph-bold ph-lg', }]); definePageMetadata({ diff --git a/packages/frontend/src/pages/antenna-timeline.vue b/packages/frontend/src/pages/antenna-timeline.vue index 97a85d4345..dfba117799 100644 --- a/packages/frontend/src/pages/antenna-timeline.vue +++ b/packages/frontend/src/pages/antenna-timeline.vue @@ -82,7 +82,7 @@ const headerActions = $computed(() => antenna ? [{ text: i18n.ts.jumpToSpecifiedDate, handler: timetravel, }, { - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.settings, handler: settings, }] : []); @@ -91,7 +91,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => antenna ? { title: antenna.name, - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', } : null)); </script> diff --git a/packages/frontend/src/pages/auth.vue b/packages/frontend/src/pages/auth.vue index 81b97eebbf..d6c12e7883 100644 --- a/packages/frontend/src/pages/auth.vue +++ b/packages/frontend/src/pages/auth.vue @@ -120,7 +120,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts._auth.shareAccessTitle, - icon: 'ph-squares-four ph-bold pg-lg', + icon: 'ph-squares-four ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/channel-editor.vue b/packages/frontend/src/pages/channel-editor.vue index e6c7fc0b4e..296e249844 100644 --- a/packages/frontend/src/pages/channel-editor.vue +++ b/packages/frontend/src/pages/channel-editor.vue @@ -56,7 +56,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkFolder> <div class="_buttons"> - <MkButton primary @click="save()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ channelId ? i18n.ts.save : i18n.ts.create }}</MkButton> + <MkButton primary @click="save()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ channelId ? i18n.ts.save : i18n.ts.create }}</MkButton> <MkButton v-if="channelId" danger @click="archive()"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.archive }}</MkButton> </div> </div> diff --git a/packages/frontend/src/pages/channel.vue b/packages/frontend/src/pages/channel.vue index 440c9c8da4..74853c487b 100644 --- a/packages/frontend/src/pages/channel.vue +++ b/packages/frontend/src/pages/channel.vue @@ -10,11 +10,11 @@ SPDX-License-Identifier: AGPL-3.0-only <div v-if="channel && tab === 'overview'" class="_gaps"> <div class="_panel" :class="$style.bannerContainer"> <XChannelFollowButton :channel="channel" :full="true" :class="$style.subscribe"/> - <MkButton v-if="favorited" v-tooltip="i18n.ts.unfavorite" asLike class="button" rounded primary :class="$style.favorite" @click="unfavorite()"><i class="ph-star ph-bold pg-lg"></i></MkButton> - <MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ph-star ph-bold pg-lg"></i></MkButton> + <MkButton v-if="favorited" v-tooltip="i18n.ts.unfavorite" asLike class="button" rounded primary :class="$style.favorite" @click="unfavorite()"><i class="ph-star ph-bold ph-lg"></i></MkButton> + <MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ph-star ph-bold ph-lg"></i></MkButton> <div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : null }" :class="$style.banner"> <div :class="$style.bannerStatus"> - <div><i class="ph-users ph-bold pg-lg ti-fw"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div> + <div><i class="ph-users ph-bold ph-lg ti-fw"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div> <div><i class="ph-pencil ph-bold ph-lg ti-fw"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div> </div> <div v-if="channel.isSensitive" :class="$style.sensitiveIndicator">{{ i18n.ts.sensitive }}</div> @@ -168,7 +168,7 @@ async function search() { const headerActions = $computed(() => { if (channel && channel.userId) { const share = { - icon: 'ph-share-network ph-bold pg-lg', + icon: 'ph-share-network ph-bold ph-lg', text: i18n.ts.share, handler: async (): Promise<void> => { navigator.share({ @@ -181,7 +181,7 @@ const headerActions = $computed(() => { const canEdit = ($i && $i.id === channel.userId) || iAmModerator; return canEdit ? [share, { - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.edit, handler: edit, }] : [share]; @@ -201,7 +201,7 @@ const headerTabs = $computed(() => [{ }, { key: 'featured', title: i18n.ts.featured, - icon: 'ph-lightning ph-bold pg-lg', + icon: 'ph-lightning ph-bold ph-lg', }, { key: 'search', title: i18n.ts.search, diff --git a/packages/frontend/src/pages/channels.vue b/packages/frontend/src/pages/channels.vue index 16acaae2a7..07c205a001 100644 --- a/packages/frontend/src/pages/channels.vue +++ b/packages/frontend/src/pages/channels.vue @@ -138,7 +138,7 @@ const headerTabs = $computed(() => [{ }, { key: 'favorites', title: i18n.ts.favorites, - icon: 'ph-star ph-bold pg-lg', + icon: 'ph-star ph-bold ph-lg', }, { key: 'following', title: i18n.ts._channel.following, @@ -146,7 +146,7 @@ const headerTabs = $computed(() => [{ }, { key: 'owned', title: i18n.ts._channel.owned, - icon: 'ph-pencil-line ph-bold pg-lg', + icon: 'ph-pencil-line ph-bold ph-lg', }]); definePageMetadata(computed(() => ({ diff --git a/packages/frontend/src/pages/clicker.vue b/packages/frontend/src/pages/clicker.vue index 19f9d5752f..8c1322d732 100644 --- a/packages/frontend/src/pages/clicker.vue +++ b/packages/frontend/src/pages/clicker.vue @@ -18,7 +18,7 @@ import { definePageMetadata } from '@/scripts/page-metadata.js'; definePageMetadata({ title: '🍪👈', - icon: 'ph-cookie ph-bold pg-lg', + icon: 'ph-cookie ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/clip.vue b/packages/frontend/src/pages/clip.vue index bc712ddfb8..50362f8439 100644 --- a/packages/frontend/src/pages/clip.vue +++ b/packages/frontend/src/pages/clip.vue @@ -118,7 +118,7 @@ const headerActions = $computed(() => clip && isOwned ? [{ clipsCache.delete(); }, }, ...(clip.isPublic ? [{ - icon: 'ph-share-network ph-bold pg-lg', + icon: 'ph-share-network ph-bold ph-lg', text: i18n.ts.share, handler: async (): Promise<void> => { navigator.share({ diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 3840d4058d..0c5825091a 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -316,7 +316,7 @@ const headerTabs = $computed(() => [{ definePageMetadata(computed(() => ({ title: i18n.ts.customEmojis, - icon: 'ph-smiley ph-bold pg-lg', + icon: 'ph-smiley ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/explore.users.vue b/packages/frontend/src/pages/explore.users.vue index 20bd74fb40..f7215def62 100644 --- a/packages/frontend/src/pages/explore.users.vue +++ b/packages/frontend/src/pages/explore.users.vue @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkUserList :pagination="pinnedUsers"/> </MkFoldableSection> <MkFoldableSection class="_margin" persistKey="explore-popular-users"> - <template #header><i class="ph-chart-line ph-bold pg-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template> + <template #header><i class="ph-chart-line ph-bold ph-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template> <MkUserList :pagination="popularUsers"/> </MkFoldableSection> <MkFoldableSection class="_margin" persistKey="explore-recently-updated-users"> @@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template v-if="tag == null"> <MkFoldableSection class="_margin"> - <template #header><i class="ph-chart-line ph-bold pg-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template> + <template #header><i class="ph-chart-line ph-bold ph-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.popularUsers }}</template> <MkUserList :pagination="popularUsersF"/> </MkFoldableSection> <MkFoldableSection class="_margin"> @@ -54,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkUserList :pagination="recentlyUpdatedUsersF"/> </MkFoldableSection> <MkFoldableSection class="_margin"> - <template #header><i class="ph-rocket-launch ph-bold pg-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.recentlyDiscoveredUsers }}</template> + <template #header><i class="ph-rocket-launch ph-bold ph-lg ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.ts.recentlyDiscoveredUsers }}</template> <MkUserList :pagination="recentlyRegisteredUsersF"/> </MkFoldableSection> </template> diff --git a/packages/frontend/src/pages/explore.vue b/packages/frontend/src/pages/explore.vue index 58d7aca92d..8b5af28b12 100644 --- a/packages/frontend/src/pages/explore.vue +++ b/packages/frontend/src/pages/explore.vue @@ -47,15 +47,15 @@ const headerActions = $computed(() => []); const headerTabs = $computed(() => [{ key: 'featured', - icon: 'ph-lightning ph-bold pg-lg', + icon: 'ph-lightning ph-bold ph-lg', title: i18n.ts.featured, }, { key: 'users', - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', title: i18n.ts.users, }, { key: 'roles', - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', title: i18n.ts.roles, }]); diff --git a/packages/frontend/src/pages/favorites.vue b/packages/frontend/src/pages/favorites.vue index cb7390cf6a..10f4a96a98 100644 --- a/packages/frontend/src/pages/favorites.vue +++ b/packages/frontend/src/pages/favorites.vue @@ -40,7 +40,7 @@ const pagination = { definePageMetadata({ title: i18n.ts.favorites, - icon: 'ph-star ph-bold pg-lg', + icon: 'ph-star ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/flash/flash-index.vue b/packages/frontend/src/pages/flash/flash-index.vue index a9438fd917..0b4dd13911 100644 --- a/packages/frontend/src/pages/flash/flash-index.vue +++ b/packages/frontend/src/pages/flash/flash-index.vue @@ -76,11 +76,11 @@ const headerActions = $computed(() => [{ const headerTabs = $computed(() => [{ key: 'featured', title: i18n.ts._play.featured, - icon: 'ph-fire ph-bold pg-lg', + icon: 'ph-fire ph-bold ph-lg', }, { key: 'my', title: i18n.ts._play.my, - icon: 'ph-pencil-line ph-bold pg-lg', + icon: 'ph-pencil-line ph-bold ph-lg', }, { key: 'liked', title: i18n.ts._play.liked, @@ -89,6 +89,6 @@ const headerTabs = $computed(() => [{ definePageMetadata(computed(() => ({ title: 'Play', - icon: 'ph-play ph-bold pg-lg', + icon: 'ph-play ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/flash/flash.vue b/packages/frontend/src/pages/flash/flash.vue index daf6783168..fd03ac6579 100644 --- a/packages/frontend/src/pages/flash/flash.vue +++ b/packages/frontend/src/pages/flash/flash.vue @@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkButton v-if="flash.isLiked" v-tooltip="i18n.ts.unlike" asLike class="button" rounded primary @click="unlike()"><i class="ph-heart ph-bold ph-lg"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton> <MkButton v-else v-tooltip="i18n.ts.like" asLike class="button" rounded @click="like()"><i class="ph-heart ph-bold ph-lg"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton> <MkButton v-tooltip="i18n.ts.shareWithNote" class="button" rounded @click="shareWithNote"><i class="ph-repeat ph-bold ph-lg ti-fw"></i></MkButton> - <MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ph-share-network ph-bold pg-lg ti-fw"></i></MkButton> + <MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></MkButton> </div> </div> <div v-else :class="$style.ready"> @@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </Transition> <MkFolder :defaultOpen="false" :max-height="280" class="_margin"> - <template #icon><i class="ph-code ph-bold pg-lg"></i></template> + <template #icon><i class="ph-code ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts._play.viewSource }}</template> <MkCode :code="flash.script" lang="is" :inline="false" class="_monospace"/> diff --git a/packages/frontend/src/pages/gallery/edit.vue b/packages/frontend/src/pages/gallery/edit.vue index 0d43eee613..5daaca774c 100644 --- a/packages/frontend/src/pages/gallery/edit.vue +++ b/packages/frontend/src/pages/gallery/edit.vue @@ -27,8 +27,8 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSwitch v-model="isSensitive">{{ i18n.ts.markAsSensitive }}</MkSwitch> <div class="_buttons"> - <MkButton v-if="postId" primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> - <MkButton v-else primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.publish }}</MkButton> + <MkButton v-if="postId" primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton v-else primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.publish }}</MkButton> <MkButton v-if="postId" danger @click="del"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton> </div> diff --git a/packages/frontend/src/pages/gallery/index.vue b/packages/frontend/src/pages/gallery/index.vue index 21b27d1c59..f65380eee1 100644 --- a/packages/frontend/src/pages/gallery/index.vue +++ b/packages/frontend/src/pages/gallery/index.vue @@ -107,7 +107,7 @@ const headerActions = $computed(() => [{ const headerTabs = $computed(() => [{ key: 'explore', title: i18n.ts.gallery, - icon: 'ph-images-square ph-bold pg-lg', + icon: 'ph-images-square ph-bold ph-lg', }, { key: 'liked', title: i18n.ts._gallery.liked, @@ -115,12 +115,12 @@ const headerTabs = $computed(() => [{ }, { key: 'my', title: i18n.ts._gallery.my, - icon: 'ph-pencil-line ph-bold pg-lg', + icon: 'ph-pencil-line ph-bold ph-lg', }]); definePageMetadata({ title: i18n.ts.gallery, - icon: 'ph-images-square ph-bold pg-lg', + icon: 'ph-images-square ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/gallery/post.vue b/packages/frontend/src/pages/gallery/post.vue index 4046e78d60..ae609c994c 100644 --- a/packages/frontend/src/pages/gallery/post.vue +++ b/packages/frontend/src/pages/gallery/post.vue @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="other"> <button v-if="$i && $i.id === post.user.id" v-tooltip="i18n.ts.edit" v-click-anime class="_button" @click="edit"><i class="ph-pencil ph-bold ph-lg ti-fw"></i></button> <button v-tooltip="i18n.ts.shareWithNote" v-click-anime class="_button" @click="shareWithNote"><i class="ph-repeat ph-bold ph-lg ti-fw"></i></button> - <button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold pg-lg ti-fw"></i></button> + <button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button> </div> </div> <div class="user"> diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue index 69f97a50c3..cb54069d1a 100644 --- a/packages/frontend/src/pages/instance-info.vue +++ b/packages/frontend/src/pages/instance-info.vue @@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSwitch v-model="suspended" :disabled="!instance" @update:modelValue="toggleSuspend">{{ i18n.ts.stopActivityDelivery }}</MkSwitch> <MkSwitch v-model="isBlocked" :disabled="!meta || !instance" @update:modelValue="toggleBlock">{{ i18n.ts.blockThisInstance }}</MkSwitch> <MkSwitch v-model="isSilenced" :disabled="!meta || !instance" @update:modelValue="toggleSilenced">{{ i18n.ts.silenceThisInstance }}</MkSwitch> - <MkButton @click="refreshMetadata"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> Refresh metadata</MkButton> + <MkButton @click="refreshMetadata"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> Refresh metadata</MkButton> </div> </FormSection> @@ -228,15 +228,15 @@ const headerTabs = $computed(() => [{ }, { key: 'chart', title: i18n.ts.charts, - icon: 'ph-chart-line ph-bold pg-lg', + icon: 'ph-chart-line ph-bold ph-lg', }, { key: 'users', title: i18n.ts.users, - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', }, { key: 'raw', title: 'Raw', - icon: 'ph-code ph-bold pg-lg', + icon: 'ph-code ph-bold ph-lg', }]); definePageMetadata({ diff --git a/packages/frontend/src/pages/list.vue b/packages/frontend/src/pages/list.vue index cf69e6a71d..1323c6b3b9 100644 --- a/packages/frontend/src/pages/list.vue +++ b/packages/frontend/src/pages/list.vue @@ -101,7 +101,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => list ? { title: list.name, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', } : null)); </script> <style lang="scss" module> diff --git a/packages/frontend/src/pages/miauth.vue b/packages/frontend/src/pages/miauth.vue index e4dd45bdf0..1e3c627023 100644 --- a/packages/frontend/src/pages/miauth.vue +++ b/packages/frontend/src/pages/miauth.vue @@ -95,7 +95,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: 'MiAuth', - icon: 'ph-squares-four ph-bold pg-lg', + icon: 'ph-squares-four ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/my-antennas/create.vue b/packages/frontend/src/pages/my-antennas/create.vue index e796de9ef3..d8613a0ba2 100644 --- a/packages/frontend/src/pages/my-antennas/create.vue +++ b/packages/frontend/src/pages/my-antennas/create.vue @@ -39,6 +39,6 @@ function onAntennaCreated() { definePageMetadata({ title: i18n.ts.manageAntennas, - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/my-antennas/edit.vue b/packages/frontend/src/pages/my-antennas/edit.vue index 8d17c8c5e0..86410121d3 100644 --- a/packages/frontend/src/pages/my-antennas/edit.vue +++ b/packages/frontend/src/pages/my-antennas/edit.vue @@ -36,6 +36,6 @@ os.api('antennas/show', { antennaId: props.antennaId }).then((antennaResponse) = definePageMetadata({ title: i18n.ts.manageAntennas, - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/my-antennas/editor.vue b/packages/frontend/src/pages/my-antennas/editor.vue index fce0dcbf1d..ad60ba0a3c 100644 --- a/packages/frontend/src/pages/my-antennas/editor.vue +++ b/packages/frontend/src/pages/my-antennas/editor.vue @@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSwitch v-model="notify">{{ i18n.ts.notifyAntenna }}</MkSwitch> </div> <div :class="$style.actions"> - <MkButton inline primary @click="saveAntenna()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton inline primary @click="saveAntenna()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> <MkButton v-if="antenna.id != null" inline danger @click="deleteAntenna()"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton> </div> </div> diff --git a/packages/frontend/src/pages/my-antennas/index.vue b/packages/frontend/src/pages/my-antennas/index.vue index eb91823234..5c6432b80d 100644 --- a/packages/frontend/src/pages/my-antennas/index.vue +++ b/packages/frontend/src/pages/my-antennas/index.vue @@ -45,7 +45,7 @@ fetch(); const headerActions = $computed(() => [{ asFullButton: true, - icon: 'ph-arrows-counter-clockwise ph-bold pg-lg', + icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', text: i18n.ts.reload, handler: () => { antennasCache.delete(); @@ -57,7 +57,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.manageAntennas, - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', }); onActivated(() => { diff --git a/packages/frontend/src/pages/my-lists/index.vue b/packages/frontend/src/pages/my-lists/index.vue index b14b605db9..147eaa12c3 100644 --- a/packages/frontend/src/pages/my-lists/index.vue +++ b/packages/frontend/src/pages/my-lists/index.vue @@ -59,7 +59,7 @@ async function create() { const headerActions = $computed(() => [{ asFullButton: true, - icon: 'ph-arrows-counter-clockwise ph-bold pg-lg', + icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', text: i18n.ts.reload, handler: () => { userListsCache.delete(); @@ -71,7 +71,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.manageLists, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', }); onActivated(() => { diff --git a/packages/frontend/src/pages/my-lists/list.vue b/packages/frontend/src/pages/my-lists/list.vue index 60adb37cd0..5c6e418264 100644 --- a/packages/frontend/src/pages/my-lists/list.vue +++ b/packages/frontend/src/pages/my-lists/list.vue @@ -185,7 +185,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => list ? { title: list.name, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', } : null)); </script> diff --git a/packages/frontend/src/pages/notifications.vue b/packages/frontend/src/pages/notifications.vue index afe3295b64..baccb4916c 100644 --- a/packages/frontend/src/pages/notifications.vue +++ b/packages/frontend/src/pages/notifications.vue @@ -80,7 +80,7 @@ const headerActions = $computed(() => [tab === 'all' ? { const headerTabs = $computed(() => [{ key: 'all', title: i18n.ts.all, - icon: 'ph-circle ph-bold pg-lg', + icon: 'ph-circle ph-bold ph-lg', }, { key: 'mentions', title: i18n.ts.mentions, @@ -93,6 +93,6 @@ const headerTabs = $computed(() => [{ definePageMetadata(computed(() => ({ title: i18n.ts.notifications, - icon: 'ph-bell ph-bold pg-lg', + icon: 'ph-bell ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/oauth.vue b/packages/frontend/src/pages/oauth.vue index a03a8f75a6..53b609e0bd 100644 --- a/packages/frontend/src/pages/oauth.vue +++ b/packages/frontend/src/pages/oauth.vue @@ -53,7 +53,7 @@ function onLogin(res): void { definePageMetadata({ title: 'OAuth', - icon: 'ph-squares-four ph-bold pg-lg', + icon: 'ph-squares-four ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue index 0263102170..69a4c7dac4 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSpacer :contentMax="700"> <div class="jqqmcavi"> <MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ph-arrow-square-out ph-bold ph-lg"></i> {{ i18n.ts._pages.viewPage }}</MkButton> - <MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> <MkButton v-if="pageId" inline class="button" @click="duplicate"><i class="ph-copy ph-bold ph-lg"></i> {{ i18n.ts.duplicate }}</MkButton> <MkButton v-if="pageId && !readonly" inline class="button" danger @click="del"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton> </div> @@ -275,7 +275,7 @@ const headerActions = $computed(() => []); const headerTabs = $computed(() => [{ key: 'settings', title: i18n.ts._pages.pageSetting, - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', }, { key: 'contents', title: i18n.ts._pages.contents, diff --git a/packages/frontend/src/pages/page.vue b/packages/frontend/src/pages/page.vue index 2cd7de48d1..1bb65d0cef 100644 --- a/packages/frontend/src/pages/page.vue +++ b/packages/frontend/src/pages/page.vue @@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="other"> <button v-tooltip="i18n.ts.shareWithNote" v-click-anime class="_button" @click="shareWithNote"><i class="ph-rocket-launch ph-bold ph-lg ti-fw"></i></button> - <button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold pg-lg ti-fw"></i></button> + <button v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button> </div> </div> <div class="user"> diff --git a/packages/frontend/src/pages/pages.vue b/packages/frontend/src/pages/pages.vue index ce136133d8..b699f77b85 100644 --- a/packages/frontend/src/pages/pages.vue +++ b/packages/frontend/src/pages/pages.vue @@ -74,11 +74,11 @@ const headerActions = $computed(() => [{ const headerTabs = $computed(() => [{ key: 'featured', title: i18n.ts._pages.featured, - icon: 'ph-fire ph-bold pg-lg', + icon: 'ph-fire ph-bold ph-lg', }, { key: 'my', title: i18n.ts._pages.my, - icon: 'ph-pencil-line ph-bold pg-lg', + icon: 'ph-pencil-line ph-bold ph-lg', }, { key: 'liked', title: i18n.ts._pages.liked, diff --git a/packages/frontend/src/pages/registry.value.vue b/packages/frontend/src/pages/registry.value.vue index 613da5a054..294dbe9f83 100644 --- a/packages/frontend/src/pages/registry.value.vue +++ b/packages/frontend/src/pages/registry.value.vue @@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template #label>{{ i18n.ts.value }} (JSON)</template> </MkTextarea> - <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> <MkKeyValue> <template #key>{{ i18n.ts.updatedAt }}</template> diff --git a/packages/frontend/src/pages/role.vue b/packages/frontend/src/pages/role.vue index c62ad25882..498212715c 100644 --- a/packages/frontend/src/pages/role.vue +++ b/packages/frontend/src/pages/role.vue @@ -74,7 +74,7 @@ const users = $computed(() => ({ const headerTabs = $computed(() => [{ key: 'users', - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', title: i18n.ts.users, }, { key: 'timeline', @@ -84,7 +84,7 @@ const headerTabs = $computed(() => [{ definePageMetadata(computed(() => ({ title: role?.name, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/search.vue b/packages/frontend/src/pages/search.vue index e3a0b75859..eae120cb34 100644 --- a/packages/frontend/src/pages/search.vue +++ b/packages/frontend/src/pages/search.vue @@ -47,7 +47,7 @@ const headerTabs = $computed(() => [{ }, { key: 'user', title: i18n.ts.users, - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', }]); definePageMetadata(computed(() => ({ diff --git a/packages/frontend/src/pages/settings/2fa.qrdialog.vue b/packages/frontend/src/pages/settings/2fa.qrdialog.vue index 765161691d..9a2a98ad89 100644 --- a/packages/frontend/src/pages/settings/2fa.qrdialog.vue +++ b/packages/frontend/src/pages/settings/2fa.qrdialog.vue @@ -42,7 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="_buttonsCenter" style="margin-top: 16px;"> <MkButton rounded @click="cancel">{{ i18n.ts.cancel }}</MkButton> - <MkButton primary rounded gradate @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton primary rounded gradate @click="page++">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </MkSpacer> </div> @@ -56,8 +56,8 @@ SPDX-License-Identifier: AGPL-3.0-only <div>{{ i18n.ts._2fa.step3 }}</div> </div> <div class="_buttonsCenter" style="margin-top: 16px;"> - <MkButton rounded @click="page--"><i class="ph-arrow-left ph-bold pg-lg"></i> {{ i18n.ts.goBack }}</MkButton> - <MkButton primary rounded gradate @click="tokenDone">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton rounded @click="page--"><i class="ph-arrow-left ph-bold ph-lg"></i> {{ i18n.ts.goBack }}</MkButton> + <MkButton primary rounded gradate @click="tokenDone">{{ i18n.ts.continue }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </div> </MkSpacer> </div> diff --git a/packages/frontend/src/pages/settings/accounts.vue b/packages/frontend/src/pages/settings/accounts.vue index 3f63c3dd7f..5bce040cef 100644 --- a/packages/frontend/src/pages/settings/accounts.vue +++ b/packages/frontend/src/pages/settings/accounts.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps"> <div class="_buttons"> <MkButton primary @click="addAccount"><i class="ph-plus ph-bold ph-lg"></i> {{ i18n.ts.addAccount }}</MkButton> - <MkButton @click="init"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> {{ i18n.ts.reloadAccountsList }}</MkButton> + <MkButton @click="init"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> {{ i18n.ts.reloadAccountsList }}</MkButton> </div> <MkUserCardMini v-for="user in accounts" :key="user.id" :user="user" :class="$style.user" @click.prevent="menu(user, $event)"/> @@ -107,7 +107,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.accounts, - icon: 'ph-users ph-bold pg-lg', + icon: 'ph-users ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/api.vue b/packages/frontend/src/pages/settings/api.vue index 66de0997ae..2f03d07c6e 100644 --- a/packages/frontend/src/pages/settings/api.vue +++ b/packages/frontend/src/pages/settings/api.vue @@ -46,6 +46,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: 'API', - icon: 'ph-webhooks-logo ph-bold pg-lg', + icon: 'ph-webhooks-logo ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/custom-css.vue b/packages/frontend/src/pages/settings/custom-css.vue index 760c8da9bd..6e1481ae97 100644 --- a/packages/frontend/src/pages/settings/custom-css.vue +++ b/packages/frontend/src/pages/settings/custom-css.vue @@ -47,6 +47,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.customCss, - icon: 'ph-code ph-bold pg-lg', + icon: 'ph-code ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 22c24bec1c..39dad5b723 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -188,7 +188,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </MkFolder> <FormLink to="/settings/deck">{{ i18n.ts.deck }}</FormLink> - <FormLink to="/settings/custom-css"><template #icon><i class="ph-code ph-bold pg-lg"></i></template>{{ i18n.ts.customCss }}</FormLink> + <FormLink to="/settings/custom-css"><template #icon><i class="ph-code ph-bold ph-lg"></i></template>{{ i18n.ts.customCss }}</FormLink> </div> </FormSection> </div> diff --git a/packages/frontend/src/pages/settings/import-export.vue b/packages/frontend/src/pages/settings/import-export.vue index 0c3e95a3d4..22ee9b0707 100644 --- a/packages/frontend/src/pages/settings/import-export.vue +++ b/packages/frontend/src/pages/settings/import-export.vue @@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkFolder> </FormSection> <FormSection> - <template #label><i class="ph-star ph-bold pg-lg"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template> + <template #label><i class="ph-star ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template> <MkFolder> <template #label>{{ i18n.ts.export }}</template> <template #icon><i class="ph-download ph-bold ph-lg"></i></template> @@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkFolder> </FormSection> <FormSection> - <template #label><i class="ph-users ph-bold pg-lg"></i> {{ i18n.ts._exportOrImport.followingList }}</template> + <template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.followingList }}</template> <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> @@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </FormSection> <FormSection> - <template #label><i class="ph-users ph-bold pg-lg"></i> {{ i18n.ts._exportOrImport.userLists }}</template> + <template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.userLists }}</template> <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> @@ -93,7 +93,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> </FormSection> <FormSection> - <template #label><i class="ph-flying-saucer ph-bold pg-lg"></i> {{ i18n.ts.antennas }}</template> + <template #label><i class="ph-flying-saucer ph-bold ph-lg"></i> {{ i18n.ts.antennas }}</template> <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index f3bab432f9..04c1f2dbf2 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -42,7 +42,7 @@ import { fetchCustomEmojis } from '@/custom-emojis.js'; const indexInfo = { title: i18n.ts.settings, - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', hideHeader: true, }; const INFO = ref(indexInfo); @@ -84,7 +84,7 @@ const menuDef = computed(() => [{ to: '/settings/drive', active: currentPage?.route.name === 'drive', }, { - icon: 'ph-bell ph-bold pg-lg', + icon: 'ph-bell ph-bold ph-lg', text: i18n.ts.notifications, to: '/settings/notifications', active: currentPage?.route.name === 'notifications', @@ -122,7 +122,7 @@ const menuDef = computed(() => [{ to: '/settings/statusbar', active: currentPage?.route.name === 'statusbar', }, { - icon: 'ph-music-notes ph-bold pg-lg', + icon: 'ph-music-notes ph-bold ph-lg', text: i18n.ts.sounds, to: '/settings/sounds', active: currentPage?.route.name === 'sounds', @@ -135,7 +135,7 @@ const menuDef = computed(() => [{ }, { title: i18n.ts.otherSettings, items: [{ - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', text: i18n.ts.roles, to: '/settings/roles', active: currentPage?.route.name === 'roles', @@ -145,7 +145,7 @@ const menuDef = computed(() => [{ to: '/settings/mute-block', active: currentPage?.route.name === 'mute-block', }, { - icon: 'ph-key ph-bold pg-lg', + icon: 'ph-key ph-bold ph-lg', text: 'API', to: '/settings/api', active: currentPage?.route.name === 'api', @@ -172,7 +172,7 @@ const menuDef = computed(() => [{ }], }, { items: [{ - icon: 'ph-floppy-disk ph-bold pg-lg', + icon: 'ph-floppy-disk ph-bold ph-lg', text: i18n.ts.preferencesBackups, to: '/settings/preferences-backups', active: currentPage?.route.name === 'preferences-backups', diff --git a/packages/frontend/src/pages/settings/mute-block.instance-mute.vue b/packages/frontend/src/pages/settings/mute-block.instance-mute.vue index e6e216ef9b..0e149fd461 100644 --- a/packages/frontend/src/pages/settings/mute-block.instance-mute.vue +++ b/packages/frontend/src/pages/settings/mute-block.instance-mute.vue @@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template #label>{{ i18n.ts._instanceMute.heading }}</template> <template #caption>{{ i18n.ts._instanceMute.instanceMuteDescription }}<br>{{ i18n.ts._instanceMute.instanceMuteDescription2 }}</template> </MkTextarea> - <MkButton primary :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </template> diff --git a/packages/frontend/src/pages/settings/mute-block.word-mute.vue b/packages/frontend/src/pages/settings/mute-block.word-mute.vue index 261cb059c7..4b6d27d8f2 100644 --- a/packages/frontend/src/pages/settings/mute-block.word-mute.vue +++ b/packages/frontend/src/pages/settings/mute-block.word-mute.vue @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template #caption>{{ i18n.ts._wordMute.muteWordsDescription }}<br>{{ i18n.ts._wordMute.muteWordsDescription2 }}</template> </MkTextarea> </div> - <MkButton primary inline :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary inline :disabled="!changed" @click="save()"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </template> diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index 44d6e12c6a..51a826ef3e 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_buttons"> <MkButton @click="addItem"><i class="ph-plus ph-bold ph-lg"></i> {{ i18n.ts.addItem }}</MkButton> <MkButton danger @click="reset"><i class="ph-arrow-clockwise ph-bold ph-lg"></i> {{ i18n.ts.default }}</MkButton> - <MkButton primary class="save" @click="save"><i class="ph-floppy-disk ph-bold pg-lg"></i> {{ i18n.ts.save }}</MkButton> + <MkButton primary class="save" @click="save"><i class="ph-floppy-disk ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> <MkRadios v-model="menuDisplay"> @@ -121,7 +121,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.navbar, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/notifications.vue b/packages/frontend/src/pages/settings/notifications.vue index 36f91e74f9..55dc527582 100644 --- a/packages/frontend/src/pages/settings/notifications.vue +++ b/packages/frontend/src/pages/settings/notifications.vue @@ -114,6 +114,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.notifications, - icon: 'ph-bell ph-bold pg-lg', + icon: 'ph-bell ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/other.vue b/packages/frontend/src/pages/settings/other.vue index 0cafe9cea9..2b90d2d993 100644 --- a/packages/frontend/src/pages/settings/other.vue +++ b/packages/frontend/src/pages/settings/other.vue @@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkFolder> <MkFolder> - <template #icon><i class="ph-code ph-bold pg-lg"></i></template> + <template #icon><i class="ph-code ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts.developer }}</template> <div class="_gaps_m"> diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index 4eb5680ebc..7447cef431 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -37,12 +37,12 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="_buttons"> - <MkButton v-if="plugin.config" inline @click="config(plugin)"><i class="ph-gear ph-bold pg-lg"></i> {{ i18n.ts.settings }}</MkButton> + <MkButton v-if="plugin.config" inline @click="config(plugin)"><i class="ph-gear ph-bold ph-lg"></i> {{ i18n.ts.settings }}</MkButton> <MkButton inline danger @click="uninstall(plugin)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.uninstall }}</MkButton> </div> <MkFolder> - <template #icon><i class="ph-code ph-bold pg-lg"></i></template> + <template #icon><i class="ph-code ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts._plugin.viewSource }}</template> <div class="_gaps_s"> diff --git a/packages/frontend/src/pages/settings/preferences-backups.vue b/packages/frontend/src/pages/settings/preferences-backups.vue index ecb7c68f73..3f038f8293 100644 --- a/packages/frontend/src/pages/settings/preferences-backups.vue +++ b/packages/frontend/src/pages/settings/preferences-backups.vue @@ -400,7 +400,7 @@ function menu(ev: MouseEvent, profileId: string) { action: () => rename(profileId), }, { text: ts._preferencesBackups.save, - icon: 'ph-floppy-disk ph-bold pg-lg', + icon: 'ph-floppy-disk ph-bold ph-lg', action: () => save(profileId), }, null, { text: ts.delete, @@ -426,7 +426,7 @@ onUnmounted(() => { definePageMetadata(computed(() => ({ title: ts.preferencesBackups, - icon: 'ph-floppy-disk ph-bold pg-lg', + icon: 'ph-floppy-disk ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index 22b3d7a529..4acb4a7c51 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only <FormSlot> <MkFolder> - <template #icon><i class="ph-list ph-bold pg-lg"></i></template> + <template #icon><i class="ph-list ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts._profile.metadataEdit }}</template> <div :class="$style.metadataRoot"> @@ -90,7 +90,7 @@ SPDX-License-Identifier: AGPL-3.0-only </FormSlot> <MkFolder> - <template #icon><i class="ph-sparkle ph-bold pg-lg"></i></template> + <template #icon><i class="ph-sparkle ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts.avatarDecorations }}</template> <div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-gap: 12px;"> diff --git a/packages/frontend/src/pages/settings/roles.vue b/packages/frontend/src/pages/settings/roles.vue index efa654226e..291be4f3be 100644 --- a/packages/frontend/src/pages/settings/roles.vue +++ b/packages/frontend/src/pages/settings/roles.vue @@ -52,7 +52,7 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.roles, - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/security.vue b/packages/frontend/src/pages/settings/security.vue index c07ad5117b..97bb84b655 100644 --- a/packages/frontend/src/pages/settings/security.vue +++ b/packages/frontend/src/pages/settings/security.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only <FormSection> <FormSlot> - <MkButton danger @click="regenerateToken"><i class="ph-arrows-counter-clockwise ph-bold pg-lg"></i> {{ i18n.ts.regenerateLoginToken }}</MkButton> + <MkButton danger @click="regenerateToken"><i class="ph-arrows-counter-clockwise ph-bold ph-lg"></i> {{ i18n.ts.regenerateLoginToken }}</MkButton> <template #caption>{{ i18n.ts.regenerateLoginTokenDescription }}</template> </FormSlot> </FormSection> diff --git a/packages/frontend/src/pages/settings/sounds.sound.vue b/packages/frontend/src/pages/settings/sounds.sound.vue index 0de2c8c679..514ead4de1 100644 --- a/packages/frontend/src/pages/settings/sounds.sound.vue +++ b/packages/frontend/src/pages/settings/sounds.sound.vue @@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkRange> <div class="_buttons"> - <MkButton inline @click="listen"><i class="ph-play ph-bold pg-lg"></i> {{ i18n.ts.listen }}</MkButton> + <MkButton inline @click="listen"><i class="ph-play ph-bold ph-lg"></i> {{ i18n.ts.listen }}</MkButton> <MkButton inline primary @click="save"><i class="ph-check ph-bold ph-lg"></i> {{ i18n.ts.save }}</MkButton> </div> </div> diff --git a/packages/frontend/src/pages/settings/sounds.vue b/packages/frontend/src/pages/settings/sounds.vue index 67017f491c..0332864e0e 100644 --- a/packages/frontend/src/pages/settings/sounds.vue +++ b/packages/frontend/src/pages/settings/sounds.vue @@ -72,6 +72,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.sounds, - icon: 'ph-music-notes ph-bold pg-lg', + icon: 'ph-music-notes ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/settings/statusbar.vue b/packages/frontend/src/pages/settings/statusbar.vue index 02d678a2b4..1999c7e20f 100644 --- a/packages/frontend/src/pages/settings/statusbar.vue +++ b/packages/frontend/src/pages/settings/statusbar.vue @@ -51,6 +51,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.statusbar, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/share.vue b/packages/frontend/src/pages/share.vue index ed08bb1330..6d0492250d 100644 --- a/packages/frontend/src/pages/share.vue +++ b/packages/frontend/src/pages/share.vue @@ -168,6 +168,6 @@ const headerTabs = $computed(() => []); definePageMetadata({ title: i18n.ts.share, - icon: 'ph-share-network ph-bold pg-lg', + icon: 'ph-share-network ph-bold ph-lg', }); </script> diff --git a/packages/frontend/src/pages/theme-editor.vue b/packages/frontend/src/pages/theme-editor.vue index f31666c8c1..b78cf531a5 100644 --- a/packages/frontend/src/pages/theme-editor.vue +++ b/packages/frontend/src/pages/theme-editor.vue @@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkFolder> <MkFolder :defaultOpen="false"> - <template #icon><i class="ph-code ph-bold pg-lg"></i></template> + <template #icon><i class="ph-code ph-bold ph-lg"></i></template> <template #label>{{ i18n.ts.editCode }}</template> <div class="_gaps_m"> diff --git a/packages/frontend/src/pages/timeline.tutorial.vue b/packages/frontend/src/pages/timeline.tutorial.vue index fb085fcd30..ea77f8bda2 100644 --- a/packages/frontend/src/pages/timeline.tutorial.vue +++ b/packages/frontend/src/pages/timeline.tutorial.vue @@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkButton :class="$style.footerItem" primary rounded gradate @click="tutorial = -1">{{ i18n.ts.done }} <i class="ph-check ph-bold ph-lg"></i></MkButton> </template> <template v-else> - <MkButton :class="$style.footerItem" primary rounded gradate @click="tutorial++">{{ i18n.ts.next }} <i class="ph-arrow-right ph-bold pg-lg"></i></MkButton> + <MkButton :class="$style.footerItem" primary rounded gradate @click="tutorial++">{{ i18n.ts.next }} <i class="ph-arrow-right ph-bold ph-lg"></i></MkButton> </template> </div> </div> diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 4178677d78..54f7ad10ef 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -160,7 +160,7 @@ const headerActions = $computed(() => { } : undefined, { type: 'switch', text: i18n.ts.fileAttachedOnly, - icon: 'ph-image ph-bold pg-lg', + icon: 'ph-image ph-bold ph-lg', ref: $$(onlyFiles), }], ev.currentTarget ?? ev.target); }, @@ -168,7 +168,7 @@ const headerActions = $computed(() => { ]; if (deviceKind === 'desktop') { tmp.unshift({ - icon: 'ph-arrows-counter-clockwise ph-bold pg-lg', + icon: 'ph-arrows-counter-clockwise ph-bold ph-lg', text: i18n.ts.reload, handler: (ev: Event) => { console.log('called'); @@ -182,7 +182,7 @@ const headerActions = $computed(() => { const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLists.value.map(l => ({ key: 'list:' + l.id, title: l.name, - icon: 'ph-star ph-bold pg-lg', + icon: 'ph-star ph-bold ph-lg', iconOnly: true, }))), { key: 'home', @@ -192,12 +192,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis }, ...(isLocalTimelineAvailable ? [{ key: 'local', title: i18n.ts._timelines.local, - icon: 'ph-planet ph-bold pg-lg', + icon: 'ph-planet ph-bold ph-lg', iconOnly: true, }, { key: 'social', title: i18n.ts._timelines.social, - icon: 'ph-rocket-launch ph-bold pg-lg', + icon: 'ph-rocket-launch ph-bold ph-lg', iconOnly: true, }] : []), ...(isGlobalTimelineAvailable ? [{ key: 'global', @@ -205,12 +205,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis icon: 'ph-globe-hemisphere-west ph-bold ph-lg', iconOnly: true, }] : []), { - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', title: i18n.ts.lists, iconOnly: true, onClick: chooseList, }, { - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', title: i18n.ts.antennas, iconOnly: true, onClick: chooseAntenna, @@ -225,7 +225,7 @@ const headerTabsWhenNotLogin = $computed(() => [ ...(isLocalTimelineAvailable ? [{ key: 'local', title: i18n.ts._timelines.local, - icon: 'ph-planet ph-bold pg-lg', + icon: 'ph-planet ph-bold ph-lg', iconOnly: true, }] : []), ...(isGlobalTimelineAvailable ? [{ @@ -238,7 +238,7 @@ const headerTabsWhenNotLogin = $computed(() => [ definePageMetadata(computed(() => ({ title: i18n.ts.timeline, - icon: src === 'local' ? 'ph-planet ph-bold pg-lg' : src === 'social' ? 'ph-rocket-launch ph-bold pg-lg' : src === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : 'ph-house ph-bold ph-lg', + icon: src === 'local' ? 'ph-planet ph-bold ph-lg' : src === 'social' ? 'ph-rocket-launch ph-bold ph-lg' : src === 'global' ? 'ph-globe-hemisphere-west ph-bold ph-lg' : 'ph-house ph-bold ph-lg', }))); </script> diff --git a/packages/frontend/src/pages/user-list-timeline.vue b/packages/frontend/src/pages/user-list-timeline.vue index 6812802ef7..e1cb7997e1 100644 --- a/packages/frontend/src/pages/user-list-timeline.vue +++ b/packages/frontend/src/pages/user-list-timeline.vue @@ -62,7 +62,7 @@ function settings() { } const headerActions = $computed(() => list ? [{ - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.settings, handler: settings, }] : []); @@ -71,7 +71,7 @@ const headerTabs = $computed(() => []); definePageMetadata(computed(() => list ? { title: list.name, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', } : null)); </script> diff --git a/packages/frontend/src/pages/user/activity.vue b/packages/frontend/src/pages/user/activity.vue index 45eb2f72aa..42035cc619 100644 --- a/packages/frontend/src/pages/user/activity.vue +++ b/packages/frontend/src/pages/user/activity.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only <XNotes :user="user"/> </MkFoldableSection> <MkFoldableSection class="item"> - <template #header><i class="ph-users ph-bold pg-lg"></i> Following</template> + <template #header><i class="ph-users ph-bold ph-lg"></i> Following</template> <XFollowing :user="user"/> </MkFoldableSection> <MkFoldableSection class="item"> diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index cdfad57cd4..41271b5a42 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ph-lock ph-bold ph-lg"></i></span> <span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ph-robot ph-bold ph-lg"></i></span> <button v-if="!isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea"> - <i class="ph-pencil-line ph-bold pg-lg"/> {{ i18n.ts.addMemo }} + <i class="ph-pencil-line ph-bold ph-lg"/> {{ i18n.ts.addMemo }} </button> </div> </div> diff --git a/packages/frontend/src/pages/user/index.activity.vue b/packages/frontend/src/pages/user/index.activity.vue index 52311fca73..b7576d4e20 100644 --- a/packages/frontend/src/pages/user/index.activity.vue +++ b/packages/frontend/src/pages/user/index.activity.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <MkContainer> - <template #icon><i class="ph-chart-line ph-bold pg-lg"></i></template> + <template #icon><i class="ph-chart-line ph-bold ph-lg"></i></template> <template #header>{{ i18n.ts.activity }}</template> <template #func="{ buttonStyleClass }"> <button class="_button" :class="buttonStyleClass" @click="showMenu"> diff --git a/packages/frontend/src/pages/user/index.listenbrainz.vue b/packages/frontend/src/pages/user/index.listenbrainz.vue index ff51b09027..d58bd96347 100644 --- a/packages/frontend/src/pages/user/index.listenbrainz.vue +++ b/packages/frontend/src/pages/user/index.listenbrainz.vue @@ -19,7 +19,7 @@ </a> <a :href="listenbrainz.listenbrainzurl"> <div class="playicon"> - <i class="ph-play ph-bold pg-lg-filled"></i> + <i class="ph-play ph-bold ph-lg-filled"></i> </div> </a> </div> diff --git a/packages/frontend/src/pages/user/index.vue b/packages/frontend/src/pages/user/index.vue index c352a04ed9..dd64cc2534 100644 --- a/packages/frontend/src/pages/user/index.vue +++ b/packages/frontend/src/pages/user/index.vue @@ -83,7 +83,7 @@ const headerTabs = $computed(() => user ? [{ }, { key: 'activity', title: i18n.ts.activity, - icon: 'ph-chart-line ph-bold pg-lg', + icon: 'ph-chart-line ph-bold ph-lg', }, ...(user.host == null ? [{ key: 'achievements', title: i18n.ts.achievements, @@ -99,7 +99,7 @@ const headerTabs = $computed(() => user ? [{ }, { key: 'lists', title: i18n.ts.lists, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', }, { key: 'pages', title: i18n.ts.pages, @@ -107,11 +107,11 @@ const headerTabs = $computed(() => user ? [{ }, { key: 'flashs', title: 'Play', - icon: 'ph-play ph-bold pg-lg', + icon: 'ph-play ph-bold ph-lg', }, { key: 'gallery', title: i18n.ts.gallery, - icon: 'ph-images-square ph-bold pg-lg', + icon: 'ph-images-square ph-bold ph-lg', }] : []); definePageMetadata(computed(() => user ? { diff --git a/packages/frontend/src/pages/welcome.timeline.vue b/packages/frontend/src/pages/welcome.timeline.vue index af12532d34..ac209bdb28 100644 --- a/packages/frontend/src/pages/welcome.timeline.vue +++ b/packages/frontend/src/pages/welcome.timeline.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div v-for="note in notes" :key="note.id" :class="$style.note"> <div class="_panel" :class="$style.content"> <div> - <MkA v-if="note.replyId" class="reply" :to="`/notes/${note.replyId}`"><i class="ph-arrow-u-up-left ph-bold pg-lg"></i></MkA> + <MkA v-if="note.replyId" class="reply" :to="`/notes/${note.replyId}`"><i class="ph-arrow-u-up-left ph-bold ph-lg"></i></MkA> <Mfm v-if="note.text" :text="note.text" :author="note.user" :i="$i"/> <MkA v-if="note.renoteId" class="rp" :to="`/notes/${note.renoteId}`">RN: ...</MkA> </div> diff --git a/packages/frontend/src/scripts/get-drive-file-menu.ts b/packages/frontend/src/scripts/get-drive-file-menu.ts index 94a2233635..b5173f421d 100644 --- a/packages/frontend/src/scripts/get-drive-file-menu.ts +++ b/packages/frontend/src/scripts/get-drive-file-menu.ts @@ -117,7 +117,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss type: 'link', to: `/my/drive/file/${file.id}`, text: i18n.ts._fileViewer.title, - icon: 'ph-file-text ph-bold pg-lg', + icon: 'ph-file-text ph-bold ph-lg', }, null, { text: i18n.ts.delete, icon: 'ph-trash ph-bold ph-lg', diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index b0710dfa50..239199172e 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -305,7 +305,7 @@ export function getNoteMenu(props: { }, } : undefined, { - icon: 'ph-share-network ph-bold pg-lg', + icon: 'ph-share-network ph-bold ph-lg', text: i18n.ts.share, action: share, }, @@ -316,11 +316,11 @@ export function getNoteMenu(props: { } : undefined, null, statePromise.then(state => state.isFavorited ? { - icon: 'ph-star-half ph-bold pg-lg', + icon: 'ph-star-half ph-bold ph-lg', text: i18n.ts.unfavorite, action: () => toggleFavorite(false), } : { - icon: 'ph-star ph-bold pg-lg', + icon: 'ph-star ph-bold ph-lg', text: i18n.ts.favorite, action: () => toggleFavorite(true), }), @@ -383,7 +383,7 @@ export function getNoteMenu(props: { action: edit, } : undefined, { - icon: 'ph-pencil-line ph-bold pg-lg', + icon: 'ph-pencil-line ph-bold ph-lg', text: i18n.ts.deleteAndEdit, danger: true, action: delEdit, diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 618bc21c2b..c8942314b2 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -170,7 +170,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router copyToClipboard(`${user.host ?? host}/@${user.username}.atom`); }, }, { - icon: 'ph-share-network ph-bold pg-lg', + icon: 'ph-share-network ph-bold ph-lg', text: i18n.ts.copyProfileUrl, action: () => { const canonical = user.host === null ? `@${user.username}` : `@${user.username}@${toUnicode(user.host)}`; @@ -191,7 +191,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router }, }, { type: 'parent', - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', text: i18n.ts.addToList, children: async () => { const lists = await userListsCache.fetch(); @@ -224,7 +224,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router }, }, { type: 'parent', - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', text: i18n.ts.addToAntenna, children: async () => { const antennas = await antennasCache.fetch(); @@ -255,7 +255,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router if (iAmModerator) { menu = menu.concat([{ type: 'parent', - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', text: i18n.ts.roles, children: async () => { const roles = await rolesCache.fetch(); @@ -297,11 +297,11 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router // フォローしたとしても user.isFollowing はリアルタイム更新されないので不便なため //if (user.isFollowing) { menu = menu.concat([{ - icon: user.withReplies ? 'ph-envelope-open ph-bold pg-lg' : 'ph-envelope ph-bold pg-lg-off', + icon: user.withReplies ? 'ph-envelope-open ph-bold ph-lg' : 'ph-envelope ph-bold ph-lg-off', text: user.withReplies ? i18n.ts.hideRepliesToOthersInTimeline : i18n.ts.showRepliesToOthersInTimeline, action: toggleWithReplies, }, { - icon: user.notify === 'none' ? 'ph-bell ph-bold pg-lg' : 'ph-bell ph-bold pg-lg-off', + icon: user.notify === 'none' ? 'ph-bell ph-bold ph-lg' : 'ph-bell ph-bold ph-lg-off', text: user.notify === 'none' ? i18n.ts.notifyNotes : i18n.ts.unnotifyNotes, action: toggleNotify, }]); diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index 72ad8a7320..8d8c8a4ac9 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -25,17 +25,17 @@ function toolsMenuItems(): MenuItem[] { type: 'link', to: '/clicker', text: '🍪👈', - icon: 'ph-cookie ph-bold pg-lg', + icon: 'ph-cookie ph-bold ph-lg', }, ($i && ($i.isAdmin || $i.policies.canManageCustomEmojis)) ? { type: 'link', to: '/custom-emojis-manager', text: i18n.ts.manageCustomEmojis, - icon: 'ph-smiley ph-bold pg-lg', + icon: 'ph-smiley ph-bold ph-lg', } : undefined, ($i && ($i.isAdmin || $i.policies.canManageAvatarDecorations)) ? { type: 'link', to: '/admin/avatar-decorations', text: i18n.ts.manageAvatarDecorations, - icon: 'ph-sparkle ph-bold pg-lg', + icon: 'ph-sparkle ph-bold ph-lg', } : undefined]; } @@ -51,7 +51,7 @@ export function openInstanceMenu(ev: MouseEvent) { }, { type: 'link', text: i18n.ts.customEmojis, - icon: 'ph-smiley ph-bold pg-lg', + icon: 'ph-smiley ph-bold ph-lg', to: '/about#emojis', }, { type: 'link', @@ -61,7 +61,7 @@ export function openInstanceMenu(ev: MouseEvent) { }, { type: 'link', text: i18n.ts.charts, - icon: 'ph-chart-line ph-bold pg-lg', + icon: 'ph-chart-line ph-bold ph-lg', to: '/about#charts', }, null, { type: 'link', @@ -80,19 +80,19 @@ export function openInstanceMenu(ev: MouseEvent) { children: toolsMenuItems(), }, null, (instance.impressumUrl) ? { text: i18n.ts.impressum, - icon: 'ph-newspaper-clipping ph-bold pg-lg', + icon: 'ph-newspaper-clipping ph-bold ph-lg', action: () => { window.open(instance.impressumUrl, '_blank'); }, } : undefined, (instance.tosUrl) ? { text: i18n.ts.termsOfService, - icon: 'ph-notebook ph-bold pg-lg', + icon: 'ph-notebook ph-bold ph-lg', action: () => { window.open(instance.tosUrl, '_blank'); }, } : undefined, (instance.privacyPolicyUrl) ? { text: i18n.ts.privacyPolicy, - icon: 'ph-shield ph-bold pg-lg', + icon: 'ph-shield ph-bold ph-lg', action: () => { window.open(instance.privacyPolicyUrl, '_blank'); }, diff --git a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue index 4c46fd794f..346e5976ba 100644 --- a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue @@ -27,14 +27,14 @@ SPDX-License-Identifier: AGPL-3.0-only </template> <div :class="$style.divider"></div> <MkA v-if="$i.isAdmin || $i.isModerator" :class="$style.item" :activeClass="$style.active" to="/admin"> - <i :class="$style.itemIcon" class="ph-gauge ph-bold pg-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.controlPanel }}</span> + <i :class="$style.itemIcon" class="ph-gauge ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.controlPanel }}</span> </MkA> <button :class="$style.item" class="_button" @click="more"> <i :class="$style.itemIcon" class="ph-dots-nine ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.more }}</span> <span v-if="otherMenuItemIndicated" :class="$style.itemIndicator"><i class="_indicatorCircle"></i></span> </button> <MkA :class="$style.item" :activeClass="$style.active" to="/settings"> - <i :class="$style.itemIcon" class="ph-gear ph-bold pg-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> + <i :class="$style.itemIcon" class="ph-gear ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> </MkA> </div> <div :class="$style.bottom"> diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue index e8a1aa4f14..9945e8c847 100644 --- a/packages/frontend/src/ui/_common_/navbar.vue +++ b/packages/frontend/src/ui/_common_/navbar.vue @@ -37,14 +37,14 @@ SPDX-License-Identifier: AGPL-3.0-only </template> <div :class="$style.divider"></div> <MkA v-if="$i.isAdmin || $i.isModerator" v-tooltip.noDelay.right="i18n.ts.controlPanel" :class="$style.item" :activeClass="$style.active" to="/admin"> - <i :class="$style.itemIcon" class="ph-gauge ph-bold pg-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.controlPanel }}</span> + <i :class="$style.itemIcon" class="ph-gauge ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.controlPanel }}</span> </MkA> <button class="_button" :class="$style.item" @click="more"> <i :class="$style.itemIcon" class="ph-dots-nine ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.more }}</span> <span v-if="otherMenuItemIndicated" :class="$style.itemIndicator"><i class="_indicatorCircle"></i></span> </button> <MkA v-tooltip.noDelay.right="i18n.ts.settings" :class="$style.item" :activeClass="$style.active" to="/settings"> - <i :class="$style.itemIcon" class="ph-gear ph-bold pg-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> + <i :class="$style.itemIcon" class="ph-gear ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> </MkA> </div> <div :class="$style.bottom"> diff --git a/packages/frontend/src/ui/classic.header.vue b/packages/frontend/src/ui/classic.header.vue index 79909d4ae9..bed1b6728f 100644 --- a/packages/frontend/src/ui/classic.header.vue +++ b/packages/frontend/src/ui/classic.header.vue @@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only </template> <div class="divider"></div> <MkA v-if="$i.isAdmin || $i.isModerator" v-click-anime v-tooltip="i18n.ts.controlPanel" class="item" activeClass="active" to="/admin" :behavior="settingsWindowed ? 'window' : null"> - <i class="ph-gauge ph-bold pg-lg ti-fw"></i> + <i class="ph-gauge ph-bold ph-lg ti-fw"></i> </MkA> <button v-click-anime class="item _button" @click="more"> <i class="ph-dots-three ph-bold ph-lg ti-fw"></i> @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="right"> <MkA v-click-anime v-tooltip="i18n.ts.settings" class="item" activeClass="active" to="/settings" :behavior="settingsWindowed ? 'window' : null"> - <i class="ph-gear ph-bold pg-lg ti-fw"></i> + <i class="ph-gear ph-bold ph-lg ti-fw"></i> </MkA> <button v-click-anime class="item _button account" @click="openAccountMenu"> <MkAvatar :user="$i" class="avatar"/><MkAcct class="acct" :user="$i"/> diff --git a/packages/frontend/src/ui/classic.sidebar.vue b/packages/frontend/src/ui/classic.sidebar.vue index 3a4c8501ce..46403ae3d1 100644 --- a/packages/frontend/src/ui/classic.sidebar.vue +++ b/packages/frontend/src/ui/classic.sidebar.vue @@ -29,14 +29,14 @@ SPDX-License-Identifier: AGPL-3.0-only </template> <div class="divider"></div> <MkA v-if="$i.isAdmin || $i.isModerator" v-click-anime class="item" activeClass="active" to="/admin" :behavior="settingsWindowed ? 'window' : null"> - <i class="ph-gauge ph-bold pg-lg ti-fw"></i><span class="text">{{ i18n.ts.controlPanel }}</span> + <i class="ph-gauge ph-bold ph-lg ti-fw"></i><span class="text">{{ i18n.ts.controlPanel }}</span> </MkA> <button v-click-anime class="item _button" @click="more"> <i class="ph-dots-three ph-bold ph-lg ti-fw"></i><span class="text">{{ i18n.ts.more }}</span> <span v-if="otherNavItemIndicated" class="indicator"><i class="_indicatorCircle"></i></span> </button> <MkA v-click-anime class="item" activeClass="active" to="/settings" :behavior="settingsWindowed ? 'window' : null"> - <i class="ph-gear ph-bold pg-lg ti-fw"></i><span class="text">{{ i18n.ts.settings }}</span> + <i class="ph-gear ph-bold ph-lg ti-fw"></i><span class="text">{{ i18n.ts.settings }}</span> </MkA> <div class="divider"></div> <div class="about"> diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 40595ed039..7df272d102 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -43,7 +43,7 @@ SPDX-License-Identifier: AGPL-3.0-only <button v-tooltip.noDelay.left="i18n.ts._deck.addColumn" :class="$style.sideMenuButton" class="_button" @click="addColumn"><i class="ph-plus ph-bold ph-lg"></i></button> </div> <div :class="$style.sideMenuBottom"> - <button v-tooltip.noDelay.left="i18n.ts.settings" :class="$style.sideMenuButton" class="_button" @click="showSettings"><i class="ph-gear ph-bold pg-lg"></i></button> + <button v-tooltip.noDelay.left="i18n.ts.settings" :class="$style.sideMenuButton" class="_button" @click="showSettings"><i class="ph-gear ph-bold ph-lg"></i></button> </div> </div> </div> @@ -53,12 +53,12 @@ SPDX-License-Identifier: AGPL-3.0-only <button :class="$style.navButton" class="_button" @click="drawerMenuShowing = true"><i :class="$style.navButtonIcon" class="ph-list ph-bold ph-lg-2"></i><span v-if="menuIndicated" :class="$style.navButtonIndicator"><i class="_indicatorCircle"></i></span></button> <button :class="$style.navButton" class="_button" @click="mainRouter.push('/')"><i :class="$style.navButtonIcon" class="ph-house ph-bold ph-lg"></i></button> <button :class="$style.navButton" class="_button" @click="mainRouter.push('/my/notifications')"> - <i :class="$style.navButtonIcon" class="ph-bell ph-bold pg-lg"></i> + <i :class="$style.navButtonIcon" class="ph-bell ph-bold ph-lg"></i> <span v-if="$i?.hasUnreadNotification" :class="$style.navButtonIndicator"> <span class="_indicateCounter" :class="$style.itemIndicateValueIcon">{{ $i.unreadNotificationsCount > 99 ? '99+' : $i.unreadNotificationsCount }}</span> </span> </button> - <button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ph-pencil ph-bold pg-lg"></i></button> + <button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ph-pencil ph-bold ph-lg"></i></button> </div> <Transition diff --git a/packages/frontend/src/ui/deck/antenna-column.vue b/packages/frontend/src/ui/deck/antenna-column.vue index 53ae113ffa..d2664fdb3c 100644 --- a/packages/frontend/src/ui/deck/antenna-column.vue +++ b/packages/frontend/src/ui/deck/antenna-column.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <XColumn :menu="menu" :column="column" :isStacked="isStacked"> <template #header> - <i class="ph-flying-saucer ph-bold pg-lg"></i><span style="margin-left: 8px;">{{ column.name }}</span> + <i class="ph-flying-saucer ph-bold ph-lg"></i><span style="margin-left: 8px;">{{ column.name }}</span> </template> <MkTimeline v-if="column.antennaId" ref="timeline" src="antenna" :antenna="column.antennaId"/> @@ -60,7 +60,7 @@ const menu = [ action: setAntenna, }, { - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.editAntenna, action: editAntenna, }, diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue index 7780c988de..6a841b0741 100644 --- a/packages/frontend/src/ui/deck/column.vue +++ b/packages/frontend/src/ui/deck/column.vue @@ -104,7 +104,7 @@ function toggleActive() { function getMenu() { let items = [{ - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts._deck.configureColumn, action: async () => { const { canceled, result } = await os.form(props.column.name, { @@ -133,13 +133,13 @@ function getMenu() { text: i18n.ts.move + '...', icon: 'ph-arrows-out-cardinal ph-bold ph-lg', children: [{ - icon: 'ph-arrow-left ph-bold pg-lg', + icon: 'ph-arrow-left ph-bold ph-lg', text: i18n.ts._deck.swapLeft, action: () => { swapLeftColumn(props.column.id); }, }, { - icon: 'ph-arrow-right ph-bold pg-lg', + icon: 'ph-arrow-right ph-bold ph-lg', text: i18n.ts._deck.swapRight, action: () => { swapRightColumn(props.column.id); diff --git a/packages/frontend/src/ui/deck/list-column.vue b/packages/frontend/src/ui/deck/list-column.vue index 4904e7e497..cf28bf654c 100644 --- a/packages/frontend/src/ui/deck/list-column.vue +++ b/packages/frontend/src/ui/deck/list-column.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <XColumn :menu="menu" :column="column" :isStacked="isStacked"> <template #header> - <i class="ph-list ph-bold pg-lg"></i><span style="margin-left: 8px;">{{ column.name }}</span> + <i class="ph-list ph-bold ph-lg"></i><span style="margin-left: 8px;">{{ column.name }}</span> </template> <MkTimeline v-if="column.listId" ref="timeline" src="list" :list="column.listId" :withRenotes="withRenotes"/> @@ -65,7 +65,7 @@ const menu = [ action: setList, }, { - icon: 'ph-gear ph-bold pg-lg', + icon: 'ph-gear ph-bold ph-lg', text: i18n.ts.editList, action: editList, }, diff --git a/packages/frontend/src/ui/deck/notifications-column.vue b/packages/frontend/src/ui/deck/notifications-column.vue index 8e0afa628b..db75a0a70f 100644 --- a/packages/frontend/src/ui/deck/notifications-column.vue +++ b/packages/frontend/src/ui/deck/notifications-column.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <XColumn :column="column" :isStacked="isStacked" :menu="menu"> - <template #header><i class="ph-bell ph-bold pg-lg" style="margin-right: 8px;"></i>{{ column.name }}</template> + <template #header><i class="ph-bell ph-bold ph-lg" style="margin-right: 8px;"></i>{{ column.name }}</template> <XNotifications :excludeTypes="props.column.excludeTypes"/> </XColumn> diff --git a/packages/frontend/src/ui/deck/role-timeline-column.vue b/packages/frontend/src/ui/deck/role-timeline-column.vue index 9e3d65e2e5..9c45f6ba5c 100644 --- a/packages/frontend/src/ui/deck/role-timeline-column.vue +++ b/packages/frontend/src/ui/deck/role-timeline-column.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <XColumn :menu="menu" :column="column" :isStacked="isStacked"> <template #header> - <i class="ph-seal-check ph-bold pg-lg"></i><span style="margin-left: 8px;">{{ column.name }}</span> + <i class="ph-seal-check ph-bold ph-lg"></i><span style="margin-left: 8px;">{{ column.name }}</span> </template> <MkTimeline v-if="column.roleId" ref="timeline" src="role" :role="column.roleId"/> diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue index 2f456e9432..815efec3c0 100644 --- a/packages/frontend/src/ui/deck/tl-column.vue +++ b/packages/frontend/src/ui/deck/tl-column.vue @@ -7,8 +7,8 @@ SPDX-License-Identifier: AGPL-3.0-only <XColumn :menu="menu" :column="column" :isStacked="isStacked"> <template #header> <i v-if="column.tl === 'home'" class="ph-house ph-bold ph-lg"></i> - <i v-else-if="column.tl === 'local'" class="ph-planet ph-bold pg-lg"></i> - <i v-else-if="column.tl === 'social'" class="ph-rocket-launch ph-bold pg-lg"></i> + <i v-else-if="column.tl === 'local'" class="ph-planet ph-bold ph-lg"></i> + <i v-else-if="column.tl === 'social'" class="ph-rocket-launch ph-bold ph-lg"></i> <i v-else-if="column.tl === 'global'" class="ph-globe-hemisphere-west ph-bold ph-lg"></i> <span style="margin-left: 8px;">{{ column.name }}</span> </template> diff --git a/packages/frontend/src/ui/deck/widgets-column.vue b/packages/frontend/src/ui/deck/widgets-column.vue index 736fb7d235..52d0c2a825 100644 --- a/packages/frontend/src/ui/deck/widgets-column.vue +++ b/packages/frontend/src/ui/deck/widgets-column.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <XColumn :menu="menu" :naked="true" :column="column" :isStacked="isStacked"> - <template #header><i class="ph-squares-four ph-bold pg-lg" style="margin-right: 8px;"></i>{{ column.name }}</template> + <template #header><i class="ph-squares-four ph-bold ph-lg" style="margin-right: 8px;"></i>{{ column.name }}</template> <div :class="$style.root"> <div v-if="!(column.widgets && column.widgets.length > 0) && !edit" :class="$style.intro">{{ i18n.ts._deck.widgetsIntroduction }}</div> diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue index 52b88c842f..916ca4115c 100644 --- a/packages/frontend/src/ui/universal.vue +++ b/packages/frontend/src/ui/universal.vue @@ -22,19 +22,19 @@ SPDX-License-Identifier: AGPL-3.0-only <XWidgets/> </div> - <button v-if="!isDesktop && !isMobile" :class="$style.widgetButton" class="_button" @click="widgetsShowing = true"><i class="ph-squares-four ph-bold pg-lg"></i></button> + <button v-if="!isDesktop && !isMobile" :class="$style.widgetButton" class="_button" @click="widgetsShowing = true"><i class="ph-squares-four ph-bold ph-lg"></i></button> <div v-if="isMobile" ref="navFooter" :class="$style.nav"> <button :class="$style.navButton" class="_button" @click="drawerMenuShowing = true"><i :class="$style.navButtonIcon" class="ph-list ph-bold ph-lg-2"></i><span v-if="menuIndicated" :class="$style.navButtonIndicator"><i class="_indicatorCircle"></i></span></button> <button :class="$style.navButton" class="_button" @click="mainRouter.currentRoute.value.name === 'index' ? top() : mainRouter.push('/')"><i :class="$style.navButtonIcon" class="ph-house ph-bold ph-lg"></i></button> <button :class="$style.navButton" class="_button" @click="mainRouter.push('/my/notifications')"> - <i :class="$style.navButtonIcon" class="ph-bell ph-bold pg-lg"></i> + <i :class="$style.navButtonIcon" class="ph-bell ph-bold ph-lg"></i> <span v-if="$i?.hasUnreadNotification" :class="$style.navButtonIndicator"> <span class="_indicateCounter" :class="$style.itemIndicateValueIcon">{{ $i.unreadNotificationsCount > 99 ? '99+' : $i.unreadNotificationsCount }}</span> </span> </button> - <button :class="$style.navButton" class="_button" @click="widgetsShowing = true"><i :class="$style.navButtonIcon" class="ph-squares-four ph-bold pg-lg"></i></button> - <button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ph-pencil ph-bold pg-lg"></i></button> + <button :class="$style.navButton" class="_button" @click="widgetsShowing = true"><i :class="$style.navButtonIcon" class="ph-squares-four ph-bold ph-lg"></i></button> + <button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ph-pencil ph-bold ph-lg"></i></button> </div> <Transition diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue index 8cc6131dbe..8d795e6dcb 100644 --- a/packages/frontend/src/ui/visitor.vue +++ b/packages/frontend/src/ui/visitor.vue @@ -54,8 +54,8 @@ SPDX-License-Identifier: AGPL-3.0-only <MkA to="/channels" class="link" activeClass="active"><i class="ph-television ph-bold ph-lg icon"></i>{{ i18n.ts.channel }}</MkA> <div class="divider"></div> <MkA to="/pages" class="link" activeClass="active"><i class="ph-newspaper ph-bold ph-lg icon"></i>{{ i18n.ts.pages }}</MkA> - <MkA to="/play" class="link" activeClass="active"><i class="ph-play ph-bold pg-lg icon"></i>Play</MkA> - <MkA to="/gallery" class="link" activeClass="active"><i class="ph-images-square ph-bold pg-lgs icon"></i>{{ i18n.ts.gallery }}</MkA> + <MkA to="/play" class="link" activeClass="active"><i class="ph-play ph-bold ph-lg icon"></i>Play</MkA> + <MkA to="/gallery" class="link" activeClass="active"><i class="ph-images-square ph-bold ph-lgs icon"></i>{{ i18n.ts.gallery }}</MkA> <div class="action"> <button class="_buttonPrimary" @click="signup()">{{ i18n.ts.signup }}</button> <button class="_button" @click="signin()">{{ i18n.ts.login }}</button> diff --git a/packages/frontend/src/widgets/WidgetActivity.vue b/packages/frontend/src/widgets/WidgetActivity.vue index 1590f17990..788a9f2c7b 100644 --- a/packages/frontend/src/widgets/WidgetActivity.vue +++ b/packages/frontend/src/widgets/WidgetActivity.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <MkContainer :showHeader="widgetProps.showHeader" :naked="widgetProps.transparent" data-cy-mkw-activity class="mkw-activity"> - <template #icon><i class="ph-chart-line ph-bold pg-lg"></i></template> + <template #icon><i class="ph-chart-line ph-bold ph-lg"></i></template> <template #header>{{ i18n.ts._widgets.activity }}</template> <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="toggleView()"><i class="ph-caret-up-down ph-bold ph-lg"></i></button></template> diff --git a/packages/frontend/src/widgets/WidgetClicker.vue b/packages/frontend/src/widgets/WidgetClicker.vue index 61616783e4..2b3b391165 100644 --- a/packages/frontend/src/widgets/WidgetClicker.vue +++ b/packages/frontend/src/widgets/WidgetClicker.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <MkContainer :showHeader="widgetProps.showHeader" class="mkw-clicker"> - <template #icon><i class="ph-cookie ph-bold pg-lg"></i></template> + <template #icon><i class="ph-cookie ph-bold ph-lg"></i></template> <template #header>Clicker</template> <MkClickerGame/> </MkContainer> diff --git a/packages/frontend/src/widgets/WidgetNotifications.vue b/packages/frontend/src/widgets/WidgetNotifications.vue index fc246b1268..6e38b8308c 100644 --- a/packages/frontend/src/widgets/WidgetNotifications.vue +++ b/packages/frontend/src/widgets/WidgetNotifications.vue @@ -5,9 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <MkContainer :style="`height: ${widgetProps.height}px;`" :showHeader="widgetProps.showHeader" :scrollable="true" data-cy-mkw-notifications class="mkw-notifications"> - <template #icon><i class="ph-bell ph-bold pg-lg"></i></template> + <template #icon><i class="ph-bell ph-bold ph-lg"></i></template> <template #header>{{ i18n.ts.notifications }}</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configureNotification()"><i class="ph-gear ph-bold pg-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configureNotification()"><i class="ph-gear ph-bold ph-lg"></i></button></template> <div> <XNotifications :excludeTypes="widgetProps.excludeTypes"/> diff --git a/packages/frontend/src/widgets/WidgetRss.vue b/packages/frontend/src/widgets/WidgetRss.vue index 02d7290085..1ada9f4be8 100644 --- a/packages/frontend/src/widgets/WidgetRss.vue +++ b/packages/frontend/src/widgets/WidgetRss.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :showHeader="widgetProps.showHeader" data-cy-mkw-rss class="mkw-rss"> <template #icon><i class="ph-rss ph-bold ph-lg"></i></template> <template #header>RSS</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ph-gear ph-bold pg-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ph-gear ph-bold ph-lg"></i></button></template> <div class="ekmkgxbj"> <MkLoading v-if="fetching"/> diff --git a/packages/frontend/src/widgets/WidgetRssTicker.vue b/packages/frontend/src/widgets/WidgetRssTicker.vue index 7e361c2d2e..790f94f7c3 100644 --- a/packages/frontend/src/widgets/WidgetRssTicker.vue +++ b/packages/frontend/src/widgets/WidgetRssTicker.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :naked="widgetProps.transparent" :showHeader="widgetProps.showHeader" class="mkw-rss-ticker"> <template #icon><i class="ph-rss ph-bold ph-lg"></i></template> <template #header>RSS</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ph-gear ph-bold pg-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ph-gear ph-bold ph-lg"></i></button></template> <div :class="$style.feed"> <div v-if="fetching" :class="$style.loading"> diff --git a/packages/frontend/src/widgets/WidgetTimeline.vue b/packages/frontend/src/widgets/WidgetTimeline.vue index 209a426f76..52b7068209 100644 --- a/packages/frontend/src/widgets/WidgetTimeline.vue +++ b/packages/frontend/src/widgets/WidgetTimeline.vue @@ -7,11 +7,11 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :showHeader="widgetProps.showHeader" :style="`height: ${widgetProps.height}px;`" :scrollable="true" data-cy-mkw-timeline class="mkw-timeline"> <template #icon> <i v-if="widgetProps.src === 'home'" class="ph-house ph-bold ph-lg"></i> - <i v-else-if="widgetProps.src === 'local'" class="ph-planet ph-bold pg-lg"></i> - <i v-else-if="widgetProps.src === 'social'" class="ph-rocket-launch ph-bold pg-lg"></i> + <i v-else-if="widgetProps.src === 'local'" class="ph-planet ph-bold ph-lg"></i> + <i v-else-if="widgetProps.src === 'social'" class="ph-rocket-launch ph-bold ph-lg"></i> <i v-else-if="widgetProps.src === 'global'" class="ph-globe-hemisphere-west ph-bold ph-lg"></i> - <i v-else-if="widgetProps.src === 'list'" class="ph-list ph-bold pg-lg"></i> - <i v-else-if="widgetProps.src === 'antenna'" class="ph-flying-saucer ph-bold pg-lg"></i> + <i v-else-if="widgetProps.src === 'list'" class="ph-list ph-bold ph-lg"></i> + <i v-else-if="widgetProps.src === 'antenna'" class="ph-flying-saucer ph-bold ph-lg"></i> </template> <template #header> <button class="_button" @click="choose"> @@ -100,7 +100,7 @@ const choose = async (ev) => { ]); const antennaItems = antennas.map(antenna => ({ text: antenna.name, - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', action: () => { widgetProps.antenna = antenna; setSrc('antenna'); @@ -108,7 +108,7 @@ const choose = async (ev) => { })); const listItems = lists.map(list => ({ text: list.name, - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', action: () => { widgetProps.list = list; setSrc('list'); @@ -120,11 +120,11 @@ const choose = async (ev) => { action: () => { setSrc('home'); }, }, { text: i18n.ts._timelines.local, - icon: 'ph-planet ph-bold pg-lg', + icon: 'ph-planet ph-bold ph-lg', action: () => { setSrc('local'); }, }, { text: i18n.ts._timelines.social, - icon: 'ph-rocket-launch ph-bold pg-lg', + icon: 'ph-rocket-launch ph-bold ph-lg', action: () => { setSrc('social'); }, }, { text: i18n.ts._timelines.global, diff --git a/packages/frontend/src/widgets/WidgetUserList.vue b/packages/frontend/src/widgets/WidgetUserList.vue index 9c76109094..159318c2ca 100644 --- a/packages/frontend/src/widgets/WidgetUserList.vue +++ b/packages/frontend/src/widgets/WidgetUserList.vue @@ -5,9 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <MkContainer :showHeader="widgetProps.showHeader" class="mkw-userList"> - <template #icon><i class="ph-users ph-bold pg-lg"></i></template> + <template #icon><i class="ph-users ph-bold ph-lg"></i></template> <template #header>{{ list ? list.name : i18n.ts._widgets.userList }}</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure()"><i class="ph-gear ph-bold pg-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure()"><i class="ph-gear ph-bold ph-lg"></i></button></template> <div :class="$style.root"> <div v-if="widgetProps.listId == null" class="init"> diff --git a/packages/frontend/src/widgets/server-metric/disk.vue b/packages/frontend/src/widgets/server-metric/disk.vue index 2ef9272179..b9774da0cf 100644 --- a/packages/frontend/src/widgets/server-metric/disk.vue +++ b/packages/frontend/src/widgets/server-metric/disk.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="zbwaqsat"> <XPie class="pie" :value="usage"/> <div> - <p><i class="ph-database ph-bold pg-lg"></i>Disk</p> + <p><i class="ph-database ph-bold ph-lg"></i>Disk</p> <p>Total: {{ bytes(total, 1) }}</p> <p>Free: {{ bytes(available, 1) }}</p> <p>Used: {{ bytes(used, 1) }}</p>