From 6a46e30f673f8e544e52536429b904577e7c72a2 Mon Sep 17 00:00:00 2001 From: Marie Date: Sun, 31 Dec 2023 22:26:19 +0100 Subject: [PATCH] chore: fix icons --- packages/frontend/src/components/MkCode.vue | 2 +- .../frontend/src/components/MkCodeEditor.vue | 2 +- packages/frontend/src/pages/admin-user.vue | 4 ++-- .../frontend/src/pages/admin/security.vue | 4 ++-- .../settings/avatar-decoration.decoration.vue | 2 +- .../settings/avatar-decoration.dialog.vue | 6 ++--- .../src/pages/settings/avatar-decoration.vue | 2 +- .../src/pages/settings/emoji-picker.vue | 22 +++++++++---------- packages/frontend/src/pages/timeline.vue | 6 ++--- .../src/scripts/mfm-function-picker.ts | 2 +- .../src/widgets/WidgetBirthdayFollowings.vue | 2 +- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/frontend/src/components/MkCode.vue b/packages/frontend/src/components/MkCode.vue index 7346d5782..e0973b676 100644 --- a/packages/frontend/src/components/MkCode.vue +++ b/packages/frontend/src/components/MkCode.vue @@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ code }}
diff --git a/packages/frontend/src/components/MkCodeEditor.vue b/packages/frontend/src/components/MkCodeEditor.vue index c1aaa7f1f..0ec69a69a 100644 --- a/packages/frontend/src/components/MkCodeEditor.vue +++ b/packages/frontend/src/components/MkCodeEditor.vue @@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/admin-user.vue b/packages/frontend/src/pages/admin-user.vue index c87ec22ef..741897b5f 100644 --- a/packages/frontend/src/pages/admin-user.vue +++ b/packages/frontend/src/pages/admin-user.vue @@ -110,8 +110,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.unsetUserAvatar }} - {{ i18n.ts.unsetUserBanner }} + {{ i18n.ts.unsetUserAvatar }} + {{ i18n.ts.unsetUserBanner }}
{{ i18n.ts.deleteAccount }} diff --git a/packages/frontend/src/pages/admin/security.vue b/packages/frontend/src/pages/admin/security.vue index 524b9b9a7..8ed3e20af 100644 --- a/packages/frontend/src/pages/admin/security.vue +++ b/packages/frontend/src/pages/admin/security.vue @@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + @@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/pages/settings/avatar-decoration.decoration.vue b/packages/frontend/src/pages/settings/avatar-decoration.decoration.vue index fcd74002f..2bf261abd 100644 --- a/packages/frontend/src/pages/settings/avatar-decoration.decoration.vue +++ b/packages/frontend/src/pages/settings/avatar-decoration.decoration.vue @@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only >
{{ decoration.name }}
- + diff --git a/packages/frontend/src/pages/settings/avatar-decoration.dialog.vue b/packages/frontend/src/pages/settings/avatar-decoration.dialog.vue index 329ab4d47..a46a92d1c 100644 --- a/packages/frontend/src/pages/settings/avatar-decoration.dialog.vue +++ b/packages/frontend/src/pages/settings/avatar-decoration.dialog.vue @@ -36,9 +36,9 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.update }} - {{ i18n.ts.detach }} - {{ i18n.ts.attach }} + {{ i18n.ts.update }} + {{ i18n.ts.detach }} + {{ i18n.ts.attach }}
diff --git a/packages/frontend/src/pages/settings/avatar-decoration.vue b/packages/frontend/src/pages/settings/avatar-decoration.vue index 6551fc917..976f6aa68 100644 --- a/packages/frontend/src/pages/settings/avatar-decoration.vue +++ b/packages/frontend/src/pages/settings/avatar-decoration.vue @@ -127,7 +127,7 @@ const headerTabs = computed(() => []); definePageMetadata({ title: i18n.ts.avatarDecorations, - icon: 'ti ti-sparkles', + icon: 'ph-sparkle ph-bold ph-lg', }); diff --git a/packages/frontend/src/pages/settings/emoji-picker.vue b/packages/frontend/src/pages/settings/emoji-picker.vue index e0a622dc6..40bb823ac 100644 --- a/packages/frontend/src/pages/settings/emoji-picker.vue +++ b/packages/frontend/src/pages/settings/emoji-picker.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -38,15 +38,15 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.preview }} - {{ i18n.ts.default }} - {{ i18n.ts.overwriteFromPinnedEmojis }} + {{ i18n.ts.preview }} + {{ i18n.ts.default }} + {{ i18n.ts.overwriteFromPinnedEmojis }}
- + @@ -69,7 +69,7 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -78,9 +78,9 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.preview }} - {{ i18n.ts.default }} - {{ i18n.ts.overwriteFromPinnedEmojisForReaction }} + {{ i18n.ts.preview }} + {{ i18n.ts.default }} + {{ i18n.ts.overwriteFromPinnedEmojisForReaction }}
@@ -278,7 +278,7 @@ watch(pinnedEmojis, () => { definePageMetadata({ title: i18n.ts.emojiPicker, - icon: 'ti ti-mood-happy', + icon: 'ph-smiley ph-bold ph-lg', }); diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index f9adee94d..f5cefeddb 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -96,7 +96,7 @@ async function chooseList(ev: MouseEvent): Promise { (lists.length === 0 ? undefined : { type: 'divider' }), { type: 'link' as const, - icon: 'ti ti-plus', + icon: 'ph-plus ph-bold ph-lg', text: i18n.ts.createNew, to: '/my/lists', }, @@ -116,7 +116,7 @@ async function chooseAntenna(ev: MouseEvent): Promise { (antennas.length === 0 ? undefined : { type: 'divider' }), { type: 'link' as const, - icon: 'ti ti-plus', + icon: 'ph-plus ph-bold ph-lg', text: i18n.ts.createNew, to: '/my/antennas', }, @@ -143,7 +143,7 @@ async function chooseChannel(ev: MouseEvent): Promise { (channels.length === 0 ? undefined : { type: 'divider' }), { type: 'link' as const, - icon: 'ti ti-plus', + icon: 'ph-plus ph-bold ph-lg', text: i18n.ts.createNew, to: '/channels', }, diff --git a/packages/frontend/src/scripts/mfm-function-picker.ts b/packages/frontend/src/scripts/mfm-function-picker.ts index 465926fe0..6e25cc856 100644 --- a/packages/frontend/src/scripts/mfm-function-picker.ts +++ b/packages/frontend/src/scripts/mfm-function-picker.ts @@ -25,7 +25,7 @@ function getFunctionList(textArea: HTMLInputElement | HTMLTextAreaElement, textR MFM_TAGS.forEach(tag => { ret.push({ text: tag, - icon: 'ti ti-icons', + icon: 'ph-brackets-curly ph-bold ph-lg', action: () => add(textArea, textRef, tag), }); }); diff --git a/packages/frontend/src/widgets/WidgetBirthdayFollowings.vue b/packages/frontend/src/widgets/WidgetBirthdayFollowings.vue index 7c4455516..0a83eba9c 100644 --- a/packages/frontend/src/widgets/WidgetBirthdayFollowings.vue +++ b/packages/frontend/src/widgets/WidgetBirthdayFollowings.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only