diff --git a/packages/frontend/src/components/MkContainer.vue b/packages/frontend/src/components/MkContainer.vue index 95188c335e..c47571885a 100644 --- a/packages/frontend/src/components/MkContainer.vue +++ b/packages/frontend/src/components/MkContainer.vue @@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
diff --git a/packages/frontend/src/components/MkDateSeparatedList.vue b/packages/frontend/src/components/MkDateSeparatedList.vue index 475fbcb397..e6f044dd72 100644 --- a/packages/frontend/src/components/MkDateSeparatedList.vue +++ b/packages/frontend/src/components/MkDateSeparatedList.vue @@ -76,7 +76,7 @@ export default defineComponent({ class: $style['date-1'], }, [ h('i', { - class: `ph-caret-up ph-bold ph-lg ${$style['date-1-icon']}`, + class: `ti ti-chevron-up ${$style['date-1-icon']}`, }), getDateText(item.createdAt), ]), diff --git a/packages/frontend/src/components/MkEmojiPicker.section.vue b/packages/frontend/src/components/MkEmojiPicker.section.vue index a5839586b6..66b44b7f4f 100644 --- a/packages/frontend/src/components/MkEmojiPicker.section.vue +++ b/packages/frontend/src/components/MkEmojiPicker.section.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- (:{{ emojis.length }}) + (:{{ emojis.length }})
diff --git a/packages/frontend/src/components/MkFolder.vue b/packages/frontend/src/components/MkFolder.vue index 64d390f52b..00d986b788 100644 --- a/packages/frontend/src/components/MkFolder.vue +++ b/packages/frontend/src/components/MkFolder.vue @@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
diff --git a/packages/frontend/src/pages/note.vue b/packages/frontend/src/pages/note.vue index 418b33754b..a5a0ab270e 100644 --- a/packages/frontend/src/pages/note.vue +++ b/packages/frontend/src/pages/note.vue @@ -16,8 +16,8 @@ SPDX-License-Identifier: AGPL-3.0-only
- - + +
diff --git a/packages/frontend/src/pages/page-editor/page-editor.container.vue b/packages/frontend/src/pages/page-editor/page-editor.container.vue index 7ef66c1c0c..9eae75e015 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.container.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.container.vue @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue index 18f79945d2..a063acccb8 100644 --- a/packages/frontend/src/ui/deck/column.vue +++ b/packages/frontend/src/ui/deck/column.vue @@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only
diff --git a/packages/frontend/src/widgets/WidgetTimeline.vue b/packages/frontend/src/widgets/WidgetTimeline.vue index e891db5f59..2b71cd262f 100644 --- a/packages/frontend/src/widgets/WidgetTimeline.vue +++ b/packages/frontend/src/widgets/WidgetTimeline.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index b2d3462304..1123fa8236 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -64,10 +64,10 @@ function iconsReplace(opts: RollupReplaceOptions) { return pluginReplace({ ...opts, preventAssignment: false, - // only replace these strings after a quote, remove a ` ti-fw` - // it if happens to be just after, and make sure they're + // only replace these strings at the start of strings, remove a + // `ti-fw` it if happens to be just after, and make sure they're // followed by a word-boundary that's not a dash - delimiters: ['(?<=["\'])', '(?: ti-fw)?\\b(?!-)'], + delimiters: ['(?<=["\'`])', '(?: ti-fw)?\\b(?!-)'], }); } @@ -171,6 +171,7 @@ export function getConfig(): UserConfig { 'ti ti-device-tv': 'ph-television ph-bold ph-lg', 'ti ti-cookie': 'ph-cookie ph-bold ph-lg', 'ti ti-copy': 'ph-copy ph-bold ph-lg', + 'ti ti-chevron-up': 'ph-caret-up ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'