diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index 611c6eb652..3b5d50315e 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -149,7 +149,7 @@ function showMenu(ev: MouseEvent) { { type: 'radio', text: i18n.ts._mediaControls.playbackRate, - icon: 'ph ph-gauge', + icon: 'ti ti-clock-play', ref: speed, options: { '0.25x': 0.25, diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index ab92d9f763..1c71f4c555 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -183,7 +183,7 @@ function showMenu(ev: MouseEvent) { { type: 'radio', text: i18n.ts._mediaControls.playbackRate, - icon: 'ph ph-gauge', + icon: 'ti ti-clock-play', ref: speed, options: { '0.25x': 0.25, diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index e26035c242..4402af7e3e 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -147,7 +147,7 @@ const menuDef = computed(() => [{ to: '/admin/federation', active: currentPage.value?.route.name === 'federation', }, { - icon: 'ph-clock ph-bold ph-lg-play', + icon: 'ti ti-clock-play', text: i18n.ts.jobQueue, to: '/admin/queue', active: currentPage.value?.route.name === 'queue', diff --git a/packages/frontend/src/pages/admin/queue.vue b/packages/frontend/src/pages/admin/queue.vue index 94eac919d1..8d77d927d7 100644 --- a/packages/frontend/src/pages/admin/queue.vue +++ b/packages/frontend/src/pages/admin/queue.vue @@ -70,6 +70,6 @@ const headerTabs = computed(() => [{ definePageMetadata(() => ({ title: i18n.ts.jobQueue, - icon: 'ph-clock ph-bold ph-lg-play', + icon: 'ti ti-clock-play', })); diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index fc7f224aa0..6da44ce76b 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -162,6 +162,22 @@ export function getConfig(): UserConfig { '**/pages/gallery/post.*', ], }), + iconsReplace({ + values: { + 'ti ti-clock-play': 'ph-clock ph-bold ph-lg', + }, + exclude: [ + '**/components/MkMedia*', + ], + }), + iconsReplace({ + values: { + 'ti ti-clock-play': 'ph ph-gauge ph-bold ph-lg', + }, + include: [ + '**/components/MkMedia*', + ], + }), iconsReplace({ values: { 'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg',