From d6ba786169c5e470d70eeb6e1aad90d1e7d4de12 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 17:56:43 +0100 Subject: [PATCH] replaced ti-asterisk and ti-mood-happy --- packages/frontend/src/components/MkEmojiPicker.vue | 4 ++-- packages/frontend/src/components/MkPostForm.vue | 2 +- packages/frontend/src/pages/settings/emoji-picker.vue | 2 +- packages/frontend/src/pages/settings/index.vue | 2 +- packages/frontend/src/pages/user/index.vue | 2 +- packages/frontend/vite.config.ts | 2 ++ 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index 4c049dbc6b..496b88ba57 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -94,8 +94,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - + +
diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 9f735abeac..902a8fe786 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -85,7 +85,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/pages/settings/emoji-picker.vue b/packages/frontend/src/pages/settings/emoji-picker.vue index b90e35b0dc..1df723c850 100644 --- a/packages/frontend/src/pages/settings/emoji-picker.vue +++ b/packages/frontend/src/pages/settings/emoji-picker.vue @@ -278,7 +278,7 @@ watch(pinnedEmojis, () => { definePageMetadata(() => ({ title: i18n.ts.emojiPicker, - icon: 'ph-smiley ph-bold ph-lg', + icon: 'ti ti-mood-happy', })); diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 6ee817ed40..6d3d7a1bc4 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -72,7 +72,7 @@ const menuDef = computed(() => [{ to: '/settings/privacy', active: currentPage.value?.route.name === 'privacy', }, { - icon: 'ph-smiley ph-bold ph-lg', + icon: 'ti ti-mood-happy', text: i18n.ts.emojiPicker, to: '/settings/emoji-picker', active: currentPage.value?.route.name === 'emojiPicker', diff --git a/packages/frontend/src/pages/user/index.vue b/packages/frontend/src/pages/user/index.vue index 91e1df8c22..c021be006e 100644 --- a/packages/frontend/src/pages/user/index.vue +++ b/packages/frontend/src/pages/user/index.vue @@ -99,7 +99,7 @@ const headerTabs = computed(() => user.value ? [{ }] : []), ...($i && ($i.id === user.value.id || $i.isAdmin || $i.isModerator)) || user.value.publicReactions ? [{ key: 'reactions', title: i18n.ts.reaction, - icon: 'ph-smiley ph-bold ph-lg', + icon: 'ti ti-mood-happy', }] : [], { key: 'clips', title: i18n.ts.clips, diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index cf9bb7edd2..cfff6851df 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -206,6 +206,8 @@ export function getConfig(): UserConfig { 'ti ti-file-text': 'ph-file-text ph-bold ph-lg', 'ti ti-file-zip': 'ph-file-zip ph-bold ph-lg', 'ti ti-file-invoice': 'ph-newspaper-clipping ph-bold ph-lg', + 'ti ti-asterisk': 'ph-asterisk ph-bold ph-lg', + 'ti ti-mood-happy': 'ph-smiley ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'