From ad2412d3cd164580abf54ddd1da52818fb0d4996 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 13:09:24 +0100 Subject: [PATCH] replaced ti-check --- packages/frontend/src/components/MkDialog.vue | 2 +- packages/frontend/src/components/MkInput.vue | 2 +- packages/frontend/src/components/MkModalWindow.vue | 2 +- packages/frontend/src/components/MkNotification.vue | 4 ++-- packages/frontend/src/components/MkPoll.vue | 2 +- packages/frontend/src/components/MkPostForm.vue | 2 +- .../frontend/src/components/MkSignupDialog.form.vue | 10 +++++----- .../frontend/src/components/MkSignupDialog.rules.vue | 6 +++--- .../frontend/src/components/MkTutorialDialog.Note.vue | 2 +- .../src/components/MkTutorialDialog.Sensitive.vue | 2 +- packages/frontend/src/components/MkTutorialDialog.vue | 2 +- .../src/components/MkUserAnnouncementEditDialog.vue | 4 ++-- .../frontend/src/components/MkUserSetupDialog.User.vue | 2 +- packages/frontend/src/components/MkUserSetupDialog.vue | 2 +- packages/frontend/src/components/MkWaitingDialog.vue | 2 +- packages/frontend/src/pages/admin-user.vue | 2 +- packages/frontend/src/pages/admin/announcements.vue | 6 +++--- packages/frontend/src/pages/admin/branding.vue | 2 +- packages/frontend/src/pages/admin/email-settings.vue | 2 +- .../frontend/src/pages/admin/external-services.vue | 2 +- packages/frontend/src/pages/admin/moderation.vue | 2 +- packages/frontend/src/pages/admin/object-storage.vue | 2 +- packages/frontend/src/pages/admin/other-settings.vue | 2 +- packages/frontend/src/pages/admin/relays.vue | 2 +- packages/frontend/src/pages/admin/roles.edit.vue | 2 +- packages/frontend/src/pages/admin/server-rules.vue | 2 +- packages/frontend/src/pages/admin/settings.vue | 2 +- packages/frontend/src/pages/announcement.vue | 2 +- packages/frontend/src/pages/announcements.vue | 4 ++-- packages/frontend/src/pages/emoji-edit-dialog.vue | 2 +- packages/frontend/src/pages/flash/flash-edit.vue | 2 +- packages/frontend/src/pages/follow-requests.vue | 2 +- packages/frontend/src/pages/install-extensions.vue | 4 ++-- packages/frontend/src/pages/notifications.vue | 2 +- packages/frontend/src/pages/settings/2fa.vue | 2 +- .../src/pages/settings/avatar-decoration.dialog.vue | 4 ++-- packages/frontend/src/pages/settings/email.vue | 2 +- packages/frontend/src/pages/settings/migration.vue | 4 ++-- .../settings/notifications.notification-config.vue | 2 +- .../frontend/src/pages/settings/plugin.install.vue | 2 +- .../src/pages/settings/preferences-backups.vue | 2 +- packages/frontend/src/pages/settings/profile.vue | 2 +- packages/frontend/src/pages/settings/security.vue | 2 +- packages/frontend/src/pages/settings/sounds.sound.vue | 2 +- packages/frontend/src/pages/settings/theme.install.vue | 2 +- packages/frontend/src/pages/settings/webhook.edit.vue | 2 +- packages/frontend/src/pages/settings/webhook.new.vue | 2 +- packages/frontend/src/pages/settings/webhook.vue | 2 +- packages/frontend/src/pages/signup-complete.vue | 2 +- packages/frontend/src/pages/theme-editor.vue | 2 +- packages/frontend/src/ui/_common_/announcements.vue | 2 +- packages/frontend/src/ui/universal.widgets.vue | 2 +- packages/frontend/vite.config.ts | 1 + 53 files changed, 67 insertions(+), 66 deletions(-) diff --git a/packages/frontend/src/components/MkDialog.vue b/packages/frontend/src/components/MkDialog.vue index 01996be4e0..1519048e08 100644 --- a/packages/frontend/src/components/MkDialog.vue +++ b/packages/frontend/src/components/MkDialog.vue @@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only [$style.type_info]: type === 'info', }]" > - + diff --git a/packages/frontend/src/components/MkInput.vue b/packages/frontend/src/components/MkInput.vue index 201b409a05..064d203621 100644 --- a/packages/frontend/src/components/MkInput.vue +++ b/packages/frontend/src/components/MkInput.vue @@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- {{ i18n.ts.save }} + {{ i18n.ts.save }} diff --git a/packages/frontend/src/components/MkModalWindow.vue b/packages/frontend/src/components/MkModalWindow.vue index fc634176c7..91012905d3 100644 --- a/packages/frontend/src/components/MkModalWindow.vue +++ b/packages/frontend/src/components/MkModalWindow.vue @@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 509f1c6b6e..7a990d0ff6 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0-only > - + @@ -109,7 +109,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkPoll.vue b/packages/frontend/src/components/MkPoll.vue index 8c0804de04..ba0013ec7d 100644 --- a/packages/frontend/src/components/MkPoll.vue +++ b/packages/frontend/src/components/MkPoll.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
  • - + ({{ i18n.tsx._poll.votesCount({ n: choice.votes }) }}) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index d7ab97d9df..775afbec6b 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only - +
  • diff --git a/packages/frontend/src/components/MkSignupDialog.form.vue b/packages/frontend/src/components/MkSignupDialog.form.vue index 7d03381a49..6a452924d9 100644 --- a/packages/frontend/src/components/MkSignupDialog.form.vue +++ b/packages/frontend/src/components/MkSignupDialog.form.vue @@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/pages/settings/theme.install.vue b/packages/frontend/src/pages/settings/theme.install.vue index e0f535a02b..86cfbaf25c 100644 --- a/packages/frontend/src/pages/settings/theme.install.vue +++ b/packages/frontend/src/pages/settings/theme.install.vue @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    {{ i18n.ts.preview }} - {{ i18n.ts.install }} + {{ i18n.ts.install }}
    diff --git a/packages/frontend/src/pages/settings/webhook.edit.vue b/packages/frontend/src/pages/settings/webhook.edit.vue index 99326c8671..fb79f204e5 100644 --- a/packages/frontend/src/pages/settings/webhook.edit.vue +++ b/packages/frontend/src/pages/settings/webhook.edit.vue @@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._webhookSettings.active }}
    - {{ i18n.ts.save }} + {{ i18n.ts.save }} {{ i18n.ts.delete }}
    diff --git a/packages/frontend/src/pages/settings/webhook.new.vue b/packages/frontend/src/pages/settings/webhook.new.vue index 299386338a..48565fbff1 100644 --- a/packages/frontend/src/pages/settings/webhook.new.vue +++ b/packages/frontend/src/pages/settings/webhook.new.vue @@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - {{ i18n.ts.create }} + {{ i18n.ts.create }}
    diff --git a/packages/frontend/src/pages/settings/webhook.vue b/packages/frontend/src/pages/settings/webhook.vue index 3717abb13e..403b159aab 100644 --- a/packages/frontend/src/pages/settings/webhook.vue +++ b/packages/frontend/src/pages/settings/webhook.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ webhook.name || webhook.url }} diff --git a/packages/frontend/src/pages/signup-complete.vue b/packages/frontend/src/pages/signup-complete.vue index b08a304cfd..c679ec4bb1 100644 --- a/packages/frontend/src/pages/signup-complete.vue +++ b/packages/frontend/src/pages/signup-complete.vue @@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - +
    {{ i18n.tsx.clickToFinishEmailVerification({ ok: i18n.ts.gotIt }) }}
    diff --git a/packages/frontend/src/pages/theme-editor.vue b/packages/frontend/src/pages/theme-editor.vue index d020320b44..997d0bc1d3 100644 --- a/packages/frontend/src/pages/theme-editor.vue +++ b/packages/frontend/src/pages/theme-editor.vue @@ -212,7 +212,7 @@ watch(theme, apply, { deep: true }); const headerActions = computed(() => [{ asFullButton: true, - icon: 'ph-check ph-bold ph-lg', + icon: 'ti ti-check', text: i18n.ts.saveAs, handler: saveAs, }]); diff --git a/packages/frontend/src/ui/_common_/announcements.vue b/packages/frontend/src/ui/_common_/announcements.vue index 969ca63e30..9525af3bb7 100644 --- a/packages/frontend/src/ui/_common_/announcements.vue +++ b/packages/frontend/src/ui/_common_/announcements.vue @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only - + {{ announcement.title }} {{ announcement.text }} diff --git a/packages/frontend/src/ui/universal.widgets.vue b/packages/frontend/src/ui/universal.widgets.vue index 7e41328403..aa9af2757f 100644 --- a/packages/frontend/src/ui/universal.widgets.vue +++ b/packages/frontend/src/ui/universal.widgets.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
    - +
    diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 5d9dd17c2f..242f368580 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -85,6 +85,7 @@ export function getConfig(): UserConfig { 'ti ti-chevrons-right': 'ph-caret-right ph-bold ph-lg', 'ti ti-chevron-right ti-fw': 'ph-caret-right ph-bold ph-lg', 'ti ti-dots': 'ph-dots-three ph-bold ph-lg', + 'ti ti-check': 'ph-check ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'