From b1954d9898f008162d0e371f68065ffcefa6d6c7 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 15:15:04 +0100 Subject: [PATCH] replaced ti-eye-off --- packages/frontend/src/components/MkMediaAudio.vue | 2 +- packages/frontend/src/components/MkMediaImage.vue | 4 ++-- packages/frontend/src/components/MkMediaVideo.vue | 6 +++--- packages/frontend/src/components/MkPostForm.vue | 2 +- .../frontend/src/components/MkUserSetupDialog.Privacy.vue | 2 +- packages/frontend/src/pages/admin/instance-block.vue | 2 +- packages/frontend/src/pages/settings/mute-block.vue | 2 +- packages/frontend/src/scripts/get-user-menu.ts | 2 +- packages/frontend/vite.config.ts | 1 + 9 files changed, 12 insertions(+), 11 deletions(-) diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index 74123af670..e1591bcbea 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -166,7 +166,7 @@ function showMenu(ev: MouseEvent) { }, { text: i18n.ts.hide, - icon: 'ph-eye-closed ph-bold ph-lg', + icon: 'ti ti-eye-off', action: () => { hide.value = true; }, diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index 8b0cdae44d..6f20d7f6ed 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- + @@ -104,7 +104,7 @@ watch(() => props.image, () => { function showMenu(ev: MouseEvent) { os.popupMenu([{ text: i18n.ts.hide, - icon: 'ph-eye-slash ph-bold ph-lg', + icon: 'ti ti-eye-off', action: () => { hide.value = true; }, diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index 0ae3593727..608c2803c4 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only > - +
ALT
@@ -64,7 +64,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
ALT
@@ -205,7 +205,7 @@ function showMenu(ev: MouseEvent) { }, { text: i18n.ts.hide, - icon: 'ph-eye-closed ph-bold ph-lg', + icon: 'ti ti-eye-off', action: () => { hide.value = true; }, diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 6ea5dbb3d9..be938e3536 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -81,7 +81,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- + diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue index 91fe4dea3f..d2f6c15ecf 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + {{ i18n.ts.hideOnlineStatus }} diff --git a/packages/frontend/src/pages/admin/instance-block.vue b/packages/frontend/src/pages/admin/instance-block.vue index b0e27844b5..7247fcf3ce 100644 --- a/packages/frontend/src/pages/admin/instance-block.vue +++ b/packages/frontend/src/pages/admin/instance-block.vue @@ -63,7 +63,7 @@ const headerTabs = computed(() => [{ }, { key: 'silence', title: i18n.ts.silence, - icon: 'ph-eye-closed ph-bold ph-lg', + icon: 'ti ti-eye-off', }]); definePageMetadata(() => ({ diff --git a/packages/frontend/src/pages/settings/mute-block.vue b/packages/frontend/src/pages/settings/mute-block.vue index 588184826d..b24ad2b239 100644 --- a/packages/frontend/src/pages/settings/mute-block.vue +++ b/packages/frontend/src/pages/settings/mute-block.vue @@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 751b675c7f..4f3c0e1ec7 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -316,7 +316,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter //} menu = menu.concat([{ type: 'divider' }, { - icon: user.isMuted ? 'ti ti-eye' : 'ph-eye-slash ph-bold ph-lg', + icon: user.isMuted ? 'ti ti-eye' : 'ti ti-eye-off', text: user.isMuted ? i18n.ts.unmute : i18n.ts.mute, action: toggleMute, }, { diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 5f3cb6140b..10da2582a3 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -108,6 +108,7 @@ export function getConfig(): UserConfig { 'ti ti-code': 'ph-code ph-bold ph-lg', 'ti ti-star': 'ph-star ph-bold ph-lg', 'ti ti-eye': 'ph-eye ph-bold ph-lg', + 'ti ti-eye-off': 'ph-eye-slash ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'