replaced ti-star

This commit is contained in:
dakkar 2024-06-21 15:02:54 +01:00
parent 7eed0aec69
commit e17f7b7297
8 changed files with 9 additions and 8 deletions

View File

@ -82,7 +82,7 @@ export const navbarItemDef = reactive({
}, },
favorites: { favorites: {
title: i18n.ts.favorites, title: i18n.ts.favorites,
icon: 'ph-star ph-bold ph-lg', icon: 'ti ti-star',
show: computed(() => $i != null), show: computed(() => $i != null),
to: '/my/favorites', to: '/my/favorites',
}, },

View File

@ -11,8 +11,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="channel && tab === 'overview'" key="overview" class="_gaps"> <div v-if="channel && tab === 'overview'" key="overview" class="_gaps">
<div class="_panel" :class="$style.bannerContainer"> <div class="_panel" :class="$style.bannerContainer">
<XChannelFollowButton :channel="channel" :full="true" :class="$style.subscribe"/> <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 ph-lg"></i></MkButton> <MkButton v-if="favorited" v-tooltip="i18n.ts.unfavorite" asLike class="button" rounded primary :class="$style.favorite" @click="unfavorite()"><i class="ti ti-star"></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> <MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ti ti-star"></i></MkButton>
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner"> <div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner">
<div :class="$style.bannerStatus"> <div :class="$style.bannerStatus">
<div><i class="ph-users ph-bold ph-lg"></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"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>

View File

@ -141,7 +141,7 @@ const headerTabs = computed(() => [{
}, { }, {
key: 'favorites', key: 'favorites',
title: i18n.ts.favorites, title: i18n.ts.favorites,
icon: 'ph-star ph-bold ph-lg', icon: 'ti ti-star',
}, { }, {
key: 'following', key: 'following',
title: i18n.ts._channel.following, title: i18n.ts._channel.following,

View File

@ -47,7 +47,7 @@ const pagination = {
definePageMetadata(() => ({ definePageMetadata(() => ({
title: i18n.ts.favorites, title: i18n.ts.favorites,
icon: 'ph-star ph-bold ph-lg', icon: 'ti ti-star',
})); }));
</script> </script>

View File

@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
</FormSection> </FormSection>
<FormSection> <FormSection>
<template #label><i class="ph-star ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template> <template #label><i class="ti ti-star"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template>
<MkFolder> <MkFolder>
<template #label>{{ i18n.ts.export }}</template> <template #label>{{ i18n.ts.export }}</template>
<template #icon><i class="ti ti-download"></i></template> <template #icon><i class="ti ti-download"></i></template>

View File

@ -288,7 +288,7 @@ const headerActions = computed(() => {
const headerTabs = computed(() => [...(defaultStore.reactiveState.pinnedUserLists.value.map(l => ({ const headerTabs = computed(() => [...(defaultStore.reactiveState.pinnedUserLists.value.map(l => ({
key: 'list:' + l.id, key: 'list:' + l.id,
title: l.name, title: l.name,
icon: 'ph-star ph-bold ph-lg', icon: 'ti ti-star',
iconOnly: true, iconOnly: true,
}))), { }))), {
key: 'home', key: 'home',

View File

@ -357,7 +357,7 @@ export function getNoteMenu(props: {
text: i18n.ts.unfavorite, text: i18n.ts.unfavorite,
action: () => toggleFavorite(false), action: () => toggleFavorite(false),
} : { } : {
icon: 'ph-star ph-bold ph-lg', icon: 'ti ti-star',
text: i18n.ts.favorite, text: i18n.ts.favorite,
action: () => toggleFavorite(true), action: () => toggleFavorite(true),
}), }),

View File

@ -106,6 +106,7 @@ export function getConfig(): UserConfig {
'ti ti-link': 'ph-link ph-bold ph-lg', 'ti ti-link': 'ph-link ph-bold ph-lg',
'ti ti-key': 'ph-key ph-bold ph-lg', 'ti ti-key': 'ph-key ph-bold ph-lg',
'ti ti-code': 'ph-code 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' ...process.env.NODE_ENV === 'production'