diff options
16 files changed, 32 insertions, 31 deletions
diff --git a/packages/frontend/src/components/MkMediaBanner.vue b/packages/frontend/src/components/MkMediaBanner.vue index 605c1a4c80..623b80f217 100644 --- a/packages/frontend/src/components/MkMediaBanner.vue +++ b/packages/frontend/src/components/MkMediaBanner.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only :title="media.name" :download="media.name" > - <span style="font-size: 1.6em;"><i class="ph-download ph-bold ph-lg"></i></span> + <span style="font-size: 1.6em;"><i class="ti ti-download"></i></span> <b>{{ media.name }}</b> </a> </div> diff --git a/packages/frontend/src/pages/about-sharkey.vue b/packages/frontend/src/pages/about-sharkey.vue index f5a8fcac42..e06d11bd0f 100644 --- a/packages/frontend/src/pages/about-sharkey.vue +++ b/packages/frontend/src/pages/about-sharkey.vue @@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._aboutMisskey.source }} </FormLink> <FormLink v-if="instance.providesTarball" :to="`/tarball/sharkey-${version}.tar.gz`" external> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> + <template #icon><i class="ti ti-download"></i></template> {{ i18n.ts._aboutMisskey.source }} <template #suffix>Tarball</template> </FormLink> diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 9357735c82..6ecf2fe060 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -188,7 +188,7 @@ const remoteMenu = (emoji, ev: MouseEvent) => { const menu = (ev: MouseEvent) => { os.popupMenu([{ - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', text: i18n.ts.export, action: async () => { misskeyApi('export-custom-emojis', { diff --git a/packages/frontend/src/pages/drive.file.info.vue b/packages/frontend/src/pages/drive.file.info.vue index 872dd4d5cf..96e36f5d9c 100644 --- a/packages/frontend/src/pages/drive.file.info.vue +++ b/packages/frontend/src/pages/drive.file.info.vue @@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i class="ph-eye-slash ph-bold ph-lg"></i> </button> <a v-tooltip="i18n.ts.download" :href="file.url" :download="file.name" class="_button" :class="$style.fileQuickActionsOthersButton"> - <i class="ph-download ph-bold ph-lg"></i> + <i class="ti ti-download"></i> </a> <button v-tooltip="i18n.ts.delete" class="_button" :class="[$style.fileQuickActionsOthersButton, $style.danger]" @click="deleteFile()"> <i class="ph-trash ph-bold ph-lg"></i> diff --git a/packages/frontend/src/pages/install-extensions.vue b/packages/frontend/src/pages/install-extensions.vue index 32f6fbd185..c57cc39504 100644 --- a/packages/frontend/src/pages/install-extensions.vue +++ b/packages/frontend/src/pages/install-extensions.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div :class="$style.extInstallerIconWrapper"> <i v-if="data.type === 'plugin'" class="ph-plug ph-bold ph-lg"></i> <i v-else-if="data.type === 'theme'" class="ph-palette ph-bold ph-lg"></i> - <i v-else class="ph-download ph-bold ph-lg"></i> + <i v-else class="ti ti-download"></i> </div> <h2 :class="$style.extInstallerTitle">{{ i18n.ts._externalResourceInstaller[`_${data.type}`].title }}</h2> <div :class="$style.extInstallerNormDesc">{{ i18n.ts._externalResourceInstaller.checkVendorBeforeInstall }}</div> @@ -314,7 +314,7 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts._externalResourceInstaller.title, - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', })); </script> diff --git a/packages/frontend/src/pages/list.vue b/packages/frontend/src/pages/list.vue index 87070d9167..d51b092c2c 100644 --- a/packages/frontend/src/pages/list.vue +++ b/packages/frontend/src/pages/list.vue @@ -28,7 +28,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <MkButton v-if="list.isLiked" v-tooltip="i18n.ts.unlike" inline :class="$style.button" asLike primary @click="unlike()"><i class="ph-heart-break ph-bold ph-lg"></i><span v-if="list.likedCount > 0" class="count">{{ list.likedCount }}</span></MkButton> <MkButton v-if="!list.isLiked" v-tooltip="i18n.ts.like" inline :class="$style.button" asLike @click="like()"><i class="ph-heart ph-bold ph-lg"></i><span v-if="1 > 0" class="count">{{ list.likedCount }}</span></MkButton> - <MkButton inline @click="create()"><i class="ph-download ph-bold ph-lg" :class="$style.import"></i>{{ i18n.ts.import }}</MkButton> + <MkButton inline @click="create()"><i class="ti ti-download" :class="$style.import"></i>{{ i18n.ts.import }}</MkButton> </MkSpacer> </MkStickyContainer> </template> diff --git a/packages/frontend/src/pages/settings/2fa.qrdialog.vue b/packages/frontend/src/pages/settings/2fa.qrdialog.vue index 857e28e1a1..01f42d56e5 100644 --- a/packages/frontend/src/pages/settings/2fa.qrdialog.vue +++ b/packages/frontend/src/pages/settings/2fa.qrdialog.vue @@ -90,7 +90,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkKeyValue> </div> - <MkButton primary rounded gradate @click="downloadBackupCodes"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.download }}</MkButton> + <MkButton primary rounded gradate @click="downloadBackupCodes"><i class="ti ti-download"></i> {{ i18n.ts.download }}</MkButton> </div> </MkFolder> </div> diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index eef69f694a..fadc7cf59d 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -304,7 +304,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_buttons"> <template v-for="lang in emojiIndexLangs" :key="lang"> <MkButton v-if="defaultStore.reactiveState.additionalUnicodeEmojiIndexes.value[lang]" danger @click="removeEmojiIndex(lang)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.remove }} ({{ getEmojiIndexLangName(lang) }})</MkButton> - <MkButton v-else @click="downloadEmojiIndex(lang)"><i class="ph-download ph-bold ph-lg"></i> {{ getEmojiIndexLangName(lang) }}{{ defaultStore.reactiveState.additionalUnicodeEmojiIndexes.value[lang] ? ` (${ i18n.ts.installed })` : '' }}</MkButton> + <MkButton v-else @click="downloadEmojiIndex(lang)"><i class="ti ti-download"></i> {{ getEmojiIndexLangName(lang) }}{{ defaultStore.reactiveState.additionalUnicodeEmojiIndexes.value[lang] ? ` (${ i18n.ts.installed })` : '' }}</MkButton> </template> </div> </MkFolder> diff --git a/packages/frontend/src/pages/settings/import-export.vue b/packages/frontend/src/pages/settings/import-export.vue index 87bde70fc2..5889b5f676 100644 --- a/packages/frontend/src/pages/settings/import-export.vue +++ b/packages/frontend/src/pages/settings/import-export.vue @@ -10,8 +10,8 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportNotes()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportNotes()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> <MkFolder v-if="$i && $i.policies.canImportNotes"> <template #label>{{ i18n.ts.import }}</template> @@ -32,16 +32,16 @@ SPDX-License-Identifier: AGPL-3.0-only <template #label><i class="ph-star ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.favoritedNotes }}</template> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportFavorites()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportFavorites()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> </FormSection> <FormSection> <template #label><i class="ph-paperclip ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.clips }}</template> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportClips()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportClips()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> </FormSection> <FormSection> @@ -49,7 +49,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> + <template #icon><i class="ti ti-download"></i></template> <div class="_gaps_s"> <MkSwitch v-model="excludeMutingUsers"> {{ i18n.ts._exportOrImport.excludeMutingUsers }} @@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSwitch v-model="excludeInactiveUsers"> {{ i18n.ts._exportOrImport.excludeInactiveUsers }} </MkSwitch> - <MkButton primary :class="$style.button" inline @click="exportFollowing()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <MkButton primary :class="$style.button" inline @click="exportFollowing()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </div> </MkFolder> <MkFolder v-if="$i && !$i.movedTo"> @@ -75,8 +75,8 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportUserLists()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportUserLists()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> <MkFolder v-if="$i && !$i.movedTo"> <template #label>{{ i18n.ts.import }}</template> @@ -90,8 +90,8 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportMuting()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportMuting()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> <MkFolder v-if="$i && !$i.movedTo"> <template #label>{{ i18n.ts.import }}</template> @@ -105,8 +105,8 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportBlocking()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportBlocking()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> <MkFolder v-if="$i && !$i.movedTo"> <template #label>{{ i18n.ts.import }}</template> @@ -120,8 +120,8 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts.export }}</template> - <template #icon><i class="ph-download ph-bold ph-lg"></i></template> - <MkButton primary :class="$style.button" inline @click="exportAntennas()"><i class="ph-download ph-bold ph-lg"></i> {{ i18n.ts.export }}</MkButton> + <template #icon><i class="ti ti-download"></i></template> + <MkButton primary :class="$style.button" inline @click="exportAntennas()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton> </MkFolder> <MkFolder v-if="$i && !$i.movedTo"> <template #label>{{ i18n.ts.import }}</template> diff --git a/packages/frontend/src/pages/settings/plugin.install.vue b/packages/frontend/src/pages/settings/plugin.install.vue index f3dd862bd1..d7908dcd43 100644 --- a/packages/frontend/src/pages/settings/plugin.install.vue +++ b/packages/frontend/src/pages/settings/plugin.install.vue @@ -55,6 +55,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts._plugin.install, - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', })); </script> diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index 0450799489..284c8ed2e7 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div class="_gaps_m"> - <FormLink to="/settings/plugin/install"><template #icon><i class="ph-download ph-bold ph-lg"></i></template>{{ i18n.ts._plugin.install }}</FormLink> + <FormLink to="/settings/plugin/install"><template #icon><i class="ti ti-download"></i></template>{{ i18n.ts._plugin.install }}</FormLink> <FormSection> <template #label>{{ i18n.ts.manage }}</template> diff --git a/packages/frontend/src/pages/settings/preferences-backups.vue b/packages/frontend/src/pages/settings/preferences-backups.vue index b99e1e03e4..a000509647 100644 --- a/packages/frontend/src/pages/settings/preferences-backups.vue +++ b/packages/frontend/src/pages/settings/preferences-backups.vue @@ -430,7 +430,7 @@ function menu(ev: MouseEvent, profileId: string) { }, { type: 'a', text: ts.download, - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', href: URL.createObjectURL(new Blob([JSON.stringify(profiles.value[profileId], null, 2)], { type: 'application/json' })), download: `${profiles.value[profileId].name}.json`, }, { type: 'divider' }, { diff --git a/packages/frontend/src/pages/settings/theme.install.vue b/packages/frontend/src/pages/settings/theme.install.vue index 01ae5286b7..e0f535a02b 100644 --- a/packages/frontend/src/pages/settings/theme.install.vue +++ b/packages/frontend/src/pages/settings/theme.install.vue @@ -61,6 +61,6 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts._theme.install, - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', })); </script> diff --git a/packages/frontend/src/pages/settings/theme.vue b/packages/frontend/src/pages/settings/theme.vue index 9b493f5ffe..e678a7d183 100644 --- a/packages/frontend/src/pages/settings/theme.vue +++ b/packages/frontend/src/pages/settings/theme.vue @@ -60,7 +60,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div class="_formLinksGrid"> <FormLink to="/settings/theme/manage"><template #icon><i class="ph-wrench ph-bold ph-lg"></i></template>{{ i18n.ts._theme.manage }}<template #suffix>{{ themesCount }}</template></FormLink> <FormLink to="https://assets.misskey.io/theme/list" external><template #icon><i class="ph-globe-hemisphere-west ph-bold ph-lg"></i></template>{{ i18n.ts._theme.explore }}</FormLink> - <FormLink to="/settings/theme/install"><template #icon><i class="ph-download ph-bold ph-lg"></i></template>{{ i18n.ts._theme.install }}</FormLink> + <FormLink to="/settings/theme/install"><template #icon><i class="ti ti-download"></i></template>{{ i18n.ts._theme.install }}</FormLink> <FormLink to="/theme-editor"><template #icon><i class="ph-paint-roller ph-bold ph-lg"></i></template>{{ i18n.ts._theme.make }}</FormLink> </div> </FormSection> diff --git a/packages/frontend/src/scripts/get-drive-file-menu.ts b/packages/frontend/src/scripts/get-drive-file-menu.ts index a883404307..51486fa198 100644 --- a/packages/frontend/src/scripts/get-drive-file-menu.ts +++ b/packages/frontend/src/scripts/get-drive-file-menu.ts @@ -117,7 +117,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss href: file.url, target: '_blank', text: i18n.ts.download, - icon: 'ph-download ph-bold ph-lg', + icon: 'ti ti-download', download: file.name, }, { type: 'divider' }, { text: i18n.ts.delete, diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 1733307b33..694fa3bd2f 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -75,6 +75,7 @@ export function getConfig(): UserConfig { preventAssignment: true, values: { 'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg', + 'ti ti-download': 'ph-download ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production' |