mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-30 04:13:03 +00:00
chore: replace tabler icons with phosphor icons
This commit is contained in:
parent
2dfd8b2842
commit
53868f0176
3 changed files with 5 additions and 5 deletions
|
@ -9,8 +9,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkAvatar v-if="notification.type === 'pollEnded'" :class="$style.icon" :user="notification.note.user" link preview/>
|
<MkAvatar v-if="notification.type === 'pollEnded'" :class="$style.icon" :user="notification.note.user" link preview/>
|
||||||
<MkAvatar v-else-if="notification.type === 'note'" :class="$style.icon" :user="notification.note.user" link preview/>
|
<MkAvatar v-else-if="notification.type === 'note'" :class="$style.icon" :user="notification.note.user" link preview/>
|
||||||
<MkAvatar v-else-if="notification.type === 'achievementEarned'" :class="$style.icon" :user="$i" link preview/>
|
<MkAvatar v-else-if="notification.type === 'achievementEarned'" :class="$style.icon" :user="$i" link preview/>
|
||||||
<div v-else-if="notification.type === 'reaction:grouped'" :class="[$style.icon, $style.icon_reactionGroup]"><i class="ti ti-plus" style="line-height: 1;"></i></div>
|
<div v-else-if="notification.type === 'reaction:grouped'" :class="[$style.icon, $style.icon_reactionGroup]"><i class="ph-plus ph-bold ph-lg" style="line-height: 1;"></i></div>
|
||||||
<div v-else-if="notification.type === 'renote:grouped'" :class="[$style.icon, $style.icon_renoteGroup]"><i class="ti ti-repeat" style="line-height: 1;"></i></div>
|
<div v-else-if="notification.type === 'renote:grouped'" :class="[$style.icon, $style.icon_renoteGroup]"><i class="ph-repeat ph-bold ph-lg" style="line-height: 1;"></i></div>
|
||||||
<img v-else-if="notification.type === 'test'" :class="$style.icon" :src="infoImageUrl"/>
|
<img v-else-if="notification.type === 'test'" :class="$style.icon" :src="infoImageUrl"/>
|
||||||
<MkAvatar v-else-if="notification.user" :class="$style.icon" :user="notification.user" link preview/>
|
<MkAvatar v-else-if="notification.user" :class="$style.icon" :user="notification.user" link preview/>
|
||||||
<img v-else-if="notification.icon" :class="[$style.icon, $style.icon_app]" :src="notification.icon" alt=""/>
|
<img v-else-if="notification.icon" :class="[$style.icon, $style.icon_app]" :src="notification.icon" alt=""/>
|
||||||
|
|
|
@ -46,14 +46,14 @@ function onClick(ev: MouseEvent) {
|
||||||
text: props.emoji,
|
text: props.emoji,
|
||||||
}, {
|
}, {
|
||||||
text: i18n.ts.copy,
|
text: i18n.ts.copy,
|
||||||
icon: 'ti ti-copy',
|
icon: 'ph-copy ph-bold ph-lg',
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(props.emoji);
|
copyToClipboard(props.emoji);
|
||||||
os.success();
|
os.success();
|
||||||
},
|
},
|
||||||
}, ...(props.menuReaction && react ? [{
|
}, ...(props.menuReaction && react ? [{
|
||||||
text: i18n.ts.doReaction,
|
text: i18n.ts.doReaction,
|
||||||
icon: 'ti ti-plus',
|
icon: 'ph-plus ph-bold ph-lg',
|
||||||
action: () => {
|
action: () => {
|
||||||
react(props.emoji);
|
react(props.emoji);
|
||||||
},
|
},
|
||||||
|
|
|
@ -105,7 +105,7 @@ export function openInstanceMenu(ev: MouseEvent) {
|
||||||
},
|
},
|
||||||
}, ($i) ? {
|
}, ($i) ? {
|
||||||
text: i18n.ts._initialTutorial.launchTutorial,
|
text: i18n.ts._initialTutorial.launchTutorial,
|
||||||
icon: 'ti ti-presentation',
|
icon: 'ph-presentation ph-bold ph-lg',
|
||||||
action: () => {
|
action: () => {
|
||||||
os.popup(defineAsyncComponent(() => import('@/components/MkTutorialDialog.vue')), {}, {}, 'closed');
|
os.popup(defineAsyncComponent(() => import('@/components/MkTutorialDialog.vue')), {}, {}, 'closed');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue