diff options
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 12 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/get-user-menu.ts | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 9922402de4..4889efe104 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -94,7 +94,7 @@ export async function getNoteClipMenu(props: { export function getAbuseNoteMenu(note: misskey.entities.Note, text: string): MenuItem { return { - icon: 'ti ti-exclamation-circle', + icon: 'ph-warning-circle ph-bold ph-lg', text, action: (): void => { const u = note.url ?? note.uri ?? `${url}/notes/${note.id}`; @@ -267,7 +267,7 @@ export function getNoteMenu(props: { menu = [ ...( props.currentClip?.userId === $i.id ? [{ - icon: 'ti ti-backspace', + icon: 'ph-backspace ph-bold ph-lg', text: i18n.ts.unclip, danger: true, action: unclip, @@ -294,7 +294,7 @@ export function getNoteMenu(props: { action: share, }, instance.translatorAvailable ? { - icon: 'ti ti-language-hiragana', + icon: 'ph-translate ph-bold ph-lg', text: i18n.ts.translate, action: translate, } : undefined, @@ -315,11 +315,11 @@ export function getNoteMenu(props: { children: () => getNoteClipMenu(props), }, statePromise.then(state => state.isMutedThread ? { - icon: 'ti ti-message-off', + icon: 'ph-bell-slash ph-bold ph-lg', text: i18n.ts.unmuteThread, action: () => toggleThreadMute(false), } : { - icon: 'ti ti-message-off', + icon: 'ph-bell-slash ph-bold ph-lg', text: i18n.ts.muteThread, action: () => toggleThreadMute(true), }), @@ -403,7 +403,7 @@ export function getNoteMenu(props: { if (noteActions.length > 0) { menu = menu.concat([null, ...noteActions.map(action => ({ - icon: 'ti ti-plug', + icon: 'ph-plug ph-bold ph-lg', text: action.title, action: () => { action.handler(appearNote); diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 28d50eaada..24ca93495a 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -149,7 +149,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router router.push(`/admin/user/${user.id}`); }, }] : []), { - icon: 'ti ti-rss', + icon: 'ph-rss ph-bold ph-lg', text: i18n.ts.copyRSS, action: () => { copyToClipboard(`${user.host ?? host}/@${user.username}.atom`); @@ -311,7 +311,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router } menu = menu.concat([null, { - icon: 'ti ti-exclamation-circle', + icon: 'ph-warning-circle ph-bold ph-lg', text: i18n.ts.reportAbuse, action: reportAbuse, }]); @@ -339,7 +339,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router if (userActions.length > 0) { menu = menu.concat([null, ...userActions.map(action => ({ - icon: 'ti ti-plug', + icon: 'ph-plug ph-bold ph-lg', text: action.title, action: () => { action.handler(user); |