From e17f7b7297d2855143e6a353f4a6a99f44dde021 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 15:02:54 +0100 Subject: [PATCH] replaced ti-star --- packages/frontend/src/navbar.ts | 2 +- packages/frontend/src/pages/channel.vue | 4 ++-- packages/frontend/src/pages/channels.vue | 2 +- packages/frontend/src/pages/favorites.vue | 2 +- packages/frontend/src/pages/settings/import-export.vue | 2 +- packages/frontend/src/pages/timeline.vue | 2 +- packages/frontend/src/scripts/get-note-menu.ts | 2 +- packages/frontend/vite.config.ts | 1 + 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index b71c15d19f..a4da68a8df 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -82,7 +82,7 @@ export const navbarItemDef = reactive({ }, favorites: { title: i18n.ts.favorites, - icon: 'ph-star ph-bold ph-lg', + icon: 'ti ti-star', show: computed(() => $i != null), to: '/my/favorites', }, diff --git a/packages/frontend/src/pages/channel.vue b/packages/frontend/src/pages/channel.vue index eb89cab2b3..5ec26d85b5 100644 --- a/packages/frontend/src/pages/channel.vue +++ b/packages/frontend/src/pages/channel.vue @@ -11,8 +11,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - + +
diff --git a/packages/frontend/src/pages/channels.vue b/packages/frontend/src/pages/channels.vue index 9ce9ec74a3..01e5218821 100644 --- a/packages/frontend/src/pages/channels.vue +++ b/packages/frontend/src/pages/channels.vue @@ -141,7 +141,7 @@ const headerTabs = computed(() => [{ }, { key: 'favorites', title: i18n.ts.favorites, - icon: 'ph-star ph-bold ph-lg', + icon: 'ti ti-star', }, { key: 'following', title: i18n.ts._channel.following, diff --git a/packages/frontend/src/pages/favorites.vue b/packages/frontend/src/pages/favorites.vue index 5835f0c093..dc28d93485 100644 --- a/packages/frontend/src/pages/favorites.vue +++ b/packages/frontend/src/pages/favorites.vue @@ -47,7 +47,7 @@ const pagination = { definePageMetadata(() => ({ title: i18n.ts.favorites, - icon: 'ph-star ph-bold ph-lg', + icon: 'ti ti-star', })); diff --git a/packages/frontend/src/pages/settings/import-export.vue b/packages/frontend/src/pages/settings/import-export.vue index bb502df513..041870d41b 100644 --- a/packages/frontend/src/pages/settings/import-export.vue +++ b/packages/frontend/src/pages/settings/import-export.vue @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- + diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 0ea97bb074..36430476f3 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -288,7 +288,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 ph-lg', + icon: 'ti ti-star', iconOnly: true, }))), { key: 'home', diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index c45c2096c2..7ac4d33f2b 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -357,7 +357,7 @@ export function getNoteMenu(props: { text: i18n.ts.unfavorite, action: () => toggleFavorite(false), } : { - icon: 'ph-star ph-bold ph-lg', + icon: 'ti ti-star', text: i18n.ts.favorite, action: () => toggleFavorite(true), }), diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 37b335e263..f39b2a7f59 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -106,6 +106,7 @@ export function getConfig(): UserConfig { 'ti ti-link': 'ph-link ph-bold ph-lg', 'ti ti-key': 'ph-key ph-bold ph-lg', 'ti ti-code': 'ph-code ph-bold ph-lg', + 'ti ti-star': 'ph-star ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'