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(() => ({ definePageMetadata(() => ({
title: 'API console', title: 'API console',
icon: 'ph-terminal-window ph-bold ph-lg-2', icon: 'ti ti-terminal-2',
})); }));
</script> </script>

View file

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

View file

@ -42,7 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
<MkFolder> <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> <template #label>{{ i18n.ts._plugin.viewLog }}</template>
<div class="_gaps_s"> <div class="_gaps_s">

View file

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

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template> <template>
<MkContainer :showHeader="widgetProps.showHeader" data-cy-mkw-aiscript class="mkw-aiscript"> <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> <template #header>{{ i18n.ts._widgets.aiscript }}</template>
<div class="uylguesu _monospace"> <div class="uylguesu _monospace">

View file

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