replace icons
This commit is contained in:
parent
326b2c254a
commit
43bd8ace96
8 changed files with 14 additions and 14 deletions
|
@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkTextarea>
|
</MkTextarea>
|
||||||
|
|
||||||
<MkInput v-model="inquiryUrl" type="url">
|
<MkInput v-model="inquiryUrl" type="url">
|
||||||
<template #prefix><i class="ti ti-link"></i></template>
|
<template #prefix><i class="ph-link ph-bold ph-lg"></i></template>
|
||||||
<template #label>{{ i18n.ts._serverSettings.inquiryUrl }}</template>
|
<template #label>{{ i18n.ts._serverSettings.inquiryUrl }}</template>
|
||||||
<template #caption>{{ i18n.ts._serverSettings.inquiryUrlDescription }}</template>
|
<template #caption>{{ i18n.ts._serverSettings.inquiryUrlDescription }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
|
|
|
@ -15,14 +15,14 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
mode="out-in"
|
mode="out-in"
|
||||||
>
|
>
|
||||||
<div v-if="announcement" :key="announcement.id" class="_panel" :class="$style.announcement">
|
<div v-if="announcement" :key="announcement.id" class="_panel" :class="$style.announcement">
|
||||||
<div v-if="announcement.forYou" :class="$style.forYou"><i class="ti ti-pin"></i> {{ i18n.ts.forYou }}</div>
|
<div v-if="announcement.forYou" :class="$style.forYou"><i class="ph-push-pin ph-bold ph-lg"></i> {{ i18n.ts.forYou }}</div>
|
||||||
<div :class="$style.header">
|
<div :class="$style.header">
|
||||||
<span v-if="$i && !announcement.silence && !announcement.isRead" style="margin-right: 0.5em;">🆕</span>
|
<span v-if="$i && !announcement.silence && !announcement.isRead" style="margin-right: 0.5em;">🆕</span>
|
||||||
<span style="margin-right: 0.5em;">
|
<span style="margin-right: 0.5em;">
|
||||||
<i v-if="announcement.icon === 'info'" class="ti ti-info-circle"></i>
|
<i v-if="announcement.icon === 'info'" class="ph-info ph-bold ph-lg"></i>
|
||||||
<i v-else-if="announcement.icon === 'warning'" class="ti ti-alert-triangle" style="color: var(--warn);"></i>
|
<i v-else-if="announcement.icon === 'warning'" class="ph-warning-circle ph-bold ph-lg" style="color: var(--warn);"></i>
|
||||||
<i v-else-if="announcement.icon === 'error'" class="ti ti-circle-x" style="color: var(--error);"></i>
|
<i v-else-if="announcement.icon === 'error'" class="ph-seal-warning ph-bold ph-lg" style="color: var(--error);"></i>
|
||||||
<i v-else-if="announcement.icon === 'success'" class="ti ti-check" style="color: var(--success);"></i>
|
<i v-else-if="announcement.icon === 'success'" class="ph-check-circle ph-bold ph-lg" style="color: var(--success);"></i>
|
||||||
</span>
|
</span>
|
||||||
<Mfm :text="announcement.title"/>
|
<Mfm :text="announcement.title"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="$i && !announcement.silence && !announcement.isRead" :class="$style.footer">
|
<div v-if="$i && !announcement.silence && !announcement.isRead" :class="$style.footer">
|
||||||
<MkButton primary @click="read(announcement)"><i class="ti ti-check"></i> {{ i18n.ts.gotIt }}</MkButton>
|
<MkButton primary @click="read(announcement)"><i class="ph-check ph-bold ph-lg"></i> {{ i18n.ts.gotIt }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<MkError v-else-if="error" @retry="fetch()"/>
|
<MkError v-else-if="error" @retry="fetch()"/>
|
||||||
|
@ -104,7 +104,7 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: announcement.value ? `${i18n.ts.announcements}: ${announcement.value.title}` : i18n.ts.announcements,
|
title: announcement.value ? `${i18n.ts.announcements}: ${announcement.value.title}` : i18n.ts.announcements,
|
||||||
icon: 'ti ti-speakerphone',
|
icon: 'ph-megaphone ph-bold ph-lg',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -634,7 +634,7 @@ export function getRenoteMenu(props: {
|
||||||
|
|
||||||
normalExternalChannelRenoteItems.push({
|
normalExternalChannelRenoteItems.push({
|
||||||
type: 'parent',
|
type: 'parent',
|
||||||
icon: 'ti ti-repeat',
|
icon: 'ph ph-repeat',
|
||||||
text: appearNote.channel ? i18n.ts.renoteToOtherChannel : i18n.ts.renoteToChannel,
|
text: appearNote.channel ? i18n.ts.renoteToOtherChannel : i18n.ts.renoteToChannel,
|
||||||
children: async () => {
|
children: async () => {
|
||||||
const channels = await favoritedChannelsCache.fetch();
|
const channels = await favoritedChannelsCache.fetch();
|
||||||
|
|
|
@ -79,7 +79,7 @@ const menu: MenuItem[] = [
|
||||||
action: editAntenna,
|
action: editAntenna,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: 'ti ti-bell',
|
icon: 'ph-bell-ringing ph-bold ph-lg',
|
||||||
text: i18n.ts._deck.newNoteNotificationSettings,
|
text: i18n.ts._deck.newNoteNotificationSettings,
|
||||||
action: () => soundSettingsButton(soundSetting),
|
action: () => soundSettingsButton(soundSetting),
|
||||||
},
|
},
|
||||||
|
|
|
@ -111,7 +111,7 @@ const menu: MenuItem[] = [{
|
||||||
text: i18n.ts.fileAttachedOnly,
|
text: i18n.ts.fileAttachedOnly,
|
||||||
ref: onlyFiles,
|
ref: onlyFiles,
|
||||||
}, {
|
}, {
|
||||||
icon: 'ti ti-bell',
|
icon: 'ph-bell-ringing ph-bold ph-lg',
|
||||||
text: i18n.ts._deck.newNoteNotificationSettings,
|
text: i18n.ts._deck.newNoteNotificationSettings,
|
||||||
action: () => soundSettingsButton(soundSetting),
|
action: () => soundSettingsButton(soundSetting),
|
||||||
}];
|
}];
|
||||||
|
|
|
@ -101,7 +101,7 @@ const menu: MenuItem[] = [
|
||||||
ref: onlyFiles,
|
ref: onlyFiles,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: 'ti ti-bell',
|
icon: 'ph-bell-ringing ph-bold ph-lg',
|
||||||
text: i18n.ts._deck.newNoteNotificationSettings,
|
text: i18n.ts._deck.newNoteNotificationSettings,
|
||||||
action: () => soundSettingsButton(soundSetting),
|
action: () => soundSettingsButton(soundSetting),
|
||||||
},
|
},
|
||||||
|
|
|
@ -68,7 +68,7 @@ const menu: MenuItem[] = [{
|
||||||
text: i18n.ts.role,
|
text: i18n.ts.role,
|
||||||
action: setRole,
|
action: setRole,
|
||||||
}, {
|
}, {
|
||||||
icon: 'ti ti-bell',
|
icon: 'ph-bell-ringing ph-bold ph-lg',
|
||||||
text: i18n.ts._deck.newNoteNotificationSettings,
|
text: i18n.ts._deck.newNoteNotificationSettings,
|
||||||
action: () => soundSettingsButton(soundSetting),
|
action: () => soundSettingsButton(soundSetting),
|
||||||
}];
|
}];
|
||||||
|
|
|
@ -132,7 +132,7 @@ const menu: MenuItem[] = [{
|
||||||
text: i18n.ts.timeline,
|
text: i18n.ts.timeline,
|
||||||
action: setType,
|
action: setType,
|
||||||
}, {
|
}, {
|
||||||
icon: 'ti ti-bell',
|
icon: 'ph-bell-ringing ph-bold ph-lg',
|
||||||
text: i18n.ts._deck.newNoteNotificationSettings,
|
text: i18n.ts._deck.newNoteNotificationSettings,
|
||||||
action: () => soundSettingsButton(soundSetting),
|
action: () => soundSettingsButton(soundSetting),
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in a new issue