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: {
title: i18n.ts.favorites,
icon: 'ph-star ph-bold ph-lg',
icon: 'ti ti-star',
show: computed(() => $i != null),
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 class="_panel" :class="$style.bannerContainer">
<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-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-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="ti ti-star"></i></MkButton>
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner">
<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>

View file

@ -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,

View file

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

View file

@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</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>
<template #label>{{ i18n.ts.export }}</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 => ({
key: 'list:' + l.id,
title: l.name,
icon: 'ph-star ph-bold ph-lg',
icon: 'ti ti-star',
iconOnly: true,
}))), {
key: 'home',

View file

@ -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),
}),

View file

@ -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'