replaced ti-terminal-2

This commit is contained in:
dakkar 2024-06-21 12:24:04 +01:00
parent c57931d408
commit babe2f3fcf
6 changed files with 12 additions and 6 deletions

View file

@ -89,6 +89,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: 'API console',
icon: 'ph-terminal-window ph-bold ph-lg-2',
icon: 'ti ti-terminal-2',
}));
</script>

View file

@ -154,7 +154,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.scratchpad,
icon: 'ph-terminal-window ph-bold ph-lg-2',
icon: 'ti ti-terminal-2',
}));
</script>

View file

@ -42,7 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
<MkFolder>
<template #icon><i class="ph-terminal-window ph-bold ph-lg"></i></template>
<template #icon><i class="ti ti-terminal-2"></i></template>
<template #label>{{ i18n.ts._plugin.viewLog }}</template>
<div class="_gaps_s">

View file

@ -16,12 +16,12 @@ function toolsMenuItems(): MenuItem[] {
type: 'link',
to: '/scratchpad',
text: i18n.ts.scratchpad,
icon: 'ph-terminal-window ph-bold ph-lg-2',
icon: 'ti ti-terminal-2',
}, {
type: 'link',
to: '/api-console',
text: 'API Console',
icon: 'ph-terminal-window ph-bold ph-lg-2',
icon: 'ti ti-terminal-2',
}, {
type: 'link',
to: '/clicker',

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<MkContainer :showHeader="widgetProps.showHeader" data-cy-mkw-aiscript class="mkw-aiscript">
<template #icon><i class="ph-terminal-window ph-bold ph-lg-2"></i></template>
<template #icon><i class="ti ti-terminal-2"></i></template>
<template #header>{{ i18n.ts._widgets.aiscript }}</template>
<div class="uylguesu _monospace">

View file

@ -71,6 +71,12 @@ export function getConfig(): UserConfig {
pluginVue(),
pluginUnwindCssModuleClassName(),
pluginJson5(),
pluginReplace({
preventAssignment: true,
values: {
'ti ti-terminal-2': 'ph-terminal-window ph-bold ph-lg',
},
}),
...process.env.NODE_ENV === 'production'
? [
pluginReplace({