replaced ti-clock

This commit is contained in:
dakkar 2024-06-22 12:18:11 +01:00
parent acddf7e149
commit b34a8a9a69
5 changed files with 20 additions and 4 deletions

View File

@ -149,7 +149,7 @@ function showMenu(ev: MouseEvent) {
{ {
type: 'radio', type: 'radio',
text: i18n.ts._mediaControls.playbackRate, text: i18n.ts._mediaControls.playbackRate,
icon: 'ph ph-gauge', icon: 'ti ti-clock-play',
ref: speed, ref: speed,
options: { options: {
'0.25x': 0.25, '0.25x': 0.25,

View File

@ -183,7 +183,7 @@ function showMenu(ev: MouseEvent) {
{ {
type: 'radio', type: 'radio',
text: i18n.ts._mediaControls.playbackRate, text: i18n.ts._mediaControls.playbackRate,
icon: 'ph ph-gauge', icon: 'ti ti-clock-play',
ref: speed, ref: speed,
options: { options: {
'0.25x': 0.25, '0.25x': 0.25,

View File

@ -147,7 +147,7 @@ const menuDef = computed(() => [{
to: '/admin/federation', to: '/admin/federation',
active: currentPage.value?.route.name === 'federation', active: currentPage.value?.route.name === 'federation',
}, { }, {
icon: 'ph-clock ph-bold ph-lg-play', icon: 'ti ti-clock-play',
text: i18n.ts.jobQueue, text: i18n.ts.jobQueue,
to: '/admin/queue', to: '/admin/queue',
active: currentPage.value?.route.name === 'queue', active: currentPage.value?.route.name === 'queue',

View File

@ -70,6 +70,6 @@ const headerTabs = computed(() => [{
definePageMetadata(() => ({ definePageMetadata(() => ({
title: i18n.ts.jobQueue, title: i18n.ts.jobQueue,
icon: 'ph-clock ph-bold ph-lg-play', icon: 'ti ti-clock-play',
})); }));
</script> </script>

View File

@ -162,6 +162,22 @@ export function getConfig(): UserConfig {
'**/pages/gallery/post.*', '**/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({ iconsReplace({
values: { values: {
'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg', 'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg',