diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index 41425facc3..f8851a28df 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i class="ph-download ph-bold ph-lg"></i> </a> <button class="_button" :class="$style.controlButton" @click="showMenu"> - <i class="ph-gear ph-bold ph-lg"></i> + <i class="ti ti-settings"></i> </button> </div> <div :class="[$style.controlsChild, $style.controlsTime]">{{ hms(elapsedTimeMs) }}</div> diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index dbf76bc33d..ab2948887d 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -81,7 +81,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i class="ph-download ph-bold ph-lg"></i> </a> <button class="_button" :class="$style.controlButton" @click="showMenu"> - <i class="ph-gear ph-bold ph-lg"></i> + <i class="ti ti-settings"></i> </button> <button class="_button" :class="$style.controlButton" @click="toggleFullscreen"> <i v-if="isFullscreen" class="ph-arrows-in ph-bold ph-lg"></i> diff --git a/packages/frontend/src/components/MkWidgets.vue b/packages/frontend/src/components/MkWidgets.vue index c7974438d8..a22f423985 100644 --- a/packages/frontend/src/components/MkWidgets.vue +++ b/packages/frontend/src/components/MkWidgets.vue @@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only > <template #item="{element}"> <div :class="[$style.widget, $style.customizeContainer]" data-cy-customize-container> - <button :class="$style.customizeContainerConfig" class="_button" @click.prevent.stop="configWidget(element.id)"><i class="ph-gear ph-bold ph-lg"></i></button> + <button :class="$style.customizeContainerConfig" class="_button" @click.prevent.stop="configWidget(element.id)"><i class="ti ti-settings"></i></button> <button :class="$style.customizeContainerRemove" data-cy-customize-container-remove class="_button" @click.prevent.stop="removeWidget(element)"><i class="ph-x ph-bold ph-lg"></i></button> <div class="handle"> <component :is="`widget-${element.name}`" :ref="el => widgetRefs[element.id] = el" class="widget" :class="$style.customizeContainerHandleWidget" :widget="element" @updateProps="updateWidget(element.id, $event)"/> @@ -120,7 +120,7 @@ function onContextmenu(widget: Widget, ev: MouseEvent) { type: 'label', text: i18n.ts._widgets[widget.name], }, { - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.settings, action: () => { configWidget(widget.id); diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index 6ec949aafe..69c2666dd9 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -50,7 +50,7 @@ const router = useRouter(); const indexInfo = { title: i18n.ts.controlPanel, - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', hideHeader: true, }; @@ -180,7 +180,7 @@ const menuDef = computed(() => [{ }, { title: i18n.ts.settings, items: [{ - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.general, to: '/admin/settings', active: currentPage.value?.route.name === 'settings', diff --git a/packages/frontend/src/pages/admin/settings.vue b/packages/frontend/src/pages/admin/settings.vue index 1806c56ed0..991a771337 100644 --- a/packages/frontend/src/pages/admin/settings.vue +++ b/packages/frontend/src/pages/admin/settings.vue @@ -325,7 +325,7 @@ const headerTabs = computed(() => []); definePageMetadata(() => ({ title: i18n.ts.general, - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', })); </script> diff --git a/packages/frontend/src/pages/antenna-timeline.vue b/packages/frontend/src/pages/antenna-timeline.vue index 3e8deff711..4dcb107b35 100644 --- a/packages/frontend/src/pages/antenna-timeline.vue +++ b/packages/frontend/src/pages/antenna-timeline.vue @@ -84,7 +84,7 @@ const headerActions = computed(() => antenna.value ? [{ text: i18n.ts.jumpToSpecifiedDate, handler: timetravel, }, { - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.settings, handler: settings, }] : []); diff --git a/packages/frontend/src/pages/channel.vue b/packages/frontend/src/pages/channel.vue index 840f20cc22..eb89cab2b3 100644 --- a/packages/frontend/src/pages/channel.vue +++ b/packages/frontend/src/pages/channel.vue @@ -262,7 +262,7 @@ const headerActions = computed(() => { if (($i && $i.id === channel.value.userId) || iAmModerator) { headerItems.push({ - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.edit, handler: edit, }); diff --git a/packages/frontend/src/pages/drop-and-fusion.game.vue b/packages/frontend/src/pages/drop-and-fusion.game.vue index f1fa580c36..4c3bbd9981 100644 --- a/packages/frontend/src/pages/drop-and-fusion.game.vue +++ b/packages/frontend/src/pages/drop-and-fusion.game.vue @@ -149,7 +149,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="_woodenFrame" style="margin-left: auto;"> <div class="_woodenFrameInner" style="text-align: center;"> - <div @click="showConfig = !showConfig"><i class="ph-gear ph-bold ph-lg"></i></div> + <div @click="showConfig = !showConfig"><i class="ti ti-settings"></i></div> </div> </div> </div> diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue index 0e29047526..a5c15a12b5 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.vue @@ -276,7 +276,7 @@ const headerActions = computed(() => []); const headerTabs = computed(() => [{ key: 'settings', title: i18n.ts._pages.pageSetting, - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', }, { key: 'contents', title: i18n.ts._pages.contents, diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index 8d0d613a5d..8f64bdecf2 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -40,7 +40,7 @@ import { useRouter } from '@/router/supplier.js'; const indexInfo = { title: i18n.ts.settings, - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', hideHeader: true, }; const INFO = ref(indexInfo); diff --git a/packages/frontend/src/pages/settings/plugin.vue b/packages/frontend/src/pages/settings/plugin.vue index 284c8ed2e7..2ae54e145c 100644 --- a/packages/frontend/src/pages/settings/plugin.vue +++ b/packages/frontend/src/pages/settings/plugin.vue @@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="_buttons"> - <MkButton v-if="plugin.config" inline @click="config(plugin)"><i class="ph-gear ph-bold ph-lg"></i> {{ i18n.ts.settings }}</MkButton> + <MkButton v-if="plugin.config" inline @click="config(plugin)"><i class="ti ti-settings"></i> {{ i18n.ts.settings }}</MkButton> <MkButton inline danger @click="uninstall(plugin)"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.uninstall }}</MkButton> </div> diff --git a/packages/frontend/src/pages/user-list-timeline.vue b/packages/frontend/src/pages/user-list-timeline.vue index c60e3c0f29..6cefe88f30 100644 --- a/packages/frontend/src/pages/user-list-timeline.vue +++ b/packages/frontend/src/pages/user-list-timeline.vue @@ -98,7 +98,7 @@ const headerActions = computed(() => list.value ? [{ }], ev.currentTarget ?? ev.target); }, }, { - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.settings, handler: settings, }] : []); diff --git a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue index 8429e9f576..7e24c57585 100644 --- a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue @@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span v-if="otherMenuItemIndicated" :class="$style.itemIndicator"><i class="_indicatorCircle"></i></span> </button> <MkA :class="$style.item" :activeClass="$style.active" to="/settings"> - <i :class="$style.itemIcon" class="ph-gear ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> + <i :class="$style.itemIcon" class="ti ti-settings ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> </MkA> </div> <div :class="$style.bottom"> diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue index e037de8336..b6e58dcdea 100644 --- a/packages/frontend/src/ui/_common_/navbar.vue +++ b/packages/frontend/src/ui/_common_/navbar.vue @@ -44,7 +44,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span v-if="otherMenuItemIndicated" :class="$style.itemIndicator"><i class="_indicatorCircle"></i></span> </button> <MkA v-tooltip.noDelay.right="i18n.ts.settings" :class="$style.item" :activeClass="$style.active" to="/settings"> - <i :class="$style.itemIcon" class="ph-gear ph-bold ph-lg ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> + <i :class="$style.itemIcon" class="ti ti-settings ti-fw"></i><span :class="$style.itemText">{{ i18n.ts.settings }}</span> </MkA> </div> <div :class="$style.bottom"> diff --git a/packages/frontend/src/ui/classic.header.vue b/packages/frontend/src/ui/classic.header.vue index f17958eb37..96b57f9609 100644 --- a/packages/frontend/src/ui/classic.header.vue +++ b/packages/frontend/src/ui/classic.header.vue @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0-only </div> <div class="right"> <MkA v-click-anime v-tooltip="i18n.ts.settings" class="item" activeClass="active" to="/settings" :behavior="settingsWindowed ? 'window' : null"> - <i class="ph-gear ph-bold ph-lg ti-fw"></i> + <i class="ti ti-settings ti-fw"></i> </MkA> <button v-click-anime class="item _button account" @click="openAccountMenu"> <MkAvatar :user="$i" class="avatar"/><MkAcct class="acct" :user="$i"/> diff --git a/packages/frontend/src/ui/classic.sidebar.vue b/packages/frontend/src/ui/classic.sidebar.vue index 74db8bec0b..0d6c2a7e25 100644 --- a/packages/frontend/src/ui/classic.sidebar.vue +++ b/packages/frontend/src/ui/classic.sidebar.vue @@ -36,7 +36,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span v-if="otherNavItemIndicated" class="indicator"><i class="_indicatorCircle"></i></span> </button> <MkA v-click-anime class="item" activeClass="active" to="/settings" :behavior="settingsWindowed ? 'window' : null"> - <i class="ph-gear ph-bold ph-lg ti-fw"></i><span class="text">{{ i18n.ts.settings }}</span> + <i class="ti ti-settings ti-fw"></i><span class="text">{{ i18n.ts.settings }}</span> </MkA> <div class="divider"></div> <div class="about"> diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index dc0f610710..31a61f530d 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -43,7 +43,7 @@ SPDX-License-Identifier: AGPL-3.0-only <button v-tooltip.noDelay.left="i18n.ts._deck.addColumn" :class="$style.sideMenuButton" class="_button" @click="addColumn"><i class="ti ti-plus"></i></button> </div> <div :class="$style.sideMenuBottom"> - <button v-tooltip.noDelay.left="i18n.ts.settings" :class="$style.sideMenuButton" class="_button" @click="showSettings"><i class="ph-gear ph-bold ph-lg"></i></button> + <button v-tooltip.noDelay.left="i18n.ts.settings" :class="$style.sideMenuButton" class="_button" @click="showSettings"><i class="ti ti-settings"></i></button> </div> </div> </div> diff --git a/packages/frontend/src/ui/deck/antenna-column.vue b/packages/frontend/src/ui/deck/antenna-column.vue index 75b6721939..398dad7f16 100644 --- a/packages/frontend/src/ui/deck/antenna-column.vue +++ b/packages/frontend/src/ui/deck/antenna-column.vue @@ -74,7 +74,7 @@ const menu: MenuItem[] = [ action: setAntenna, }, { - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.editAntenna, action: editAntenna, }, diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue index 977e5513d5..18f79945d2 100644 --- a/packages/frontend/src/ui/deck/column.vue +++ b/packages/frontend/src/ui/deck/column.vue @@ -105,7 +105,7 @@ function toggleActive() { function getMenu() { let items: MenuItem[] = [{ - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts._deck.configureColumn, action: async () => { const { canceled, result } = await os.form(props.column.name, { diff --git a/packages/frontend/src/ui/deck/list-column.vue b/packages/frontend/src/ui/deck/list-column.vue index 7c69b53545..c92e5d9ffe 100644 --- a/packages/frontend/src/ui/deck/list-column.vue +++ b/packages/frontend/src/ui/deck/list-column.vue @@ -86,7 +86,7 @@ const menu: MenuItem[] = [ action: setList, }, { - icon: 'ph-gear ph-bold ph-lg', + icon: 'ti ti-settings', text: i18n.ts.editList, action: editList, }, diff --git a/packages/frontend/src/widgets/WidgetNotifications.vue b/packages/frontend/src/widgets/WidgetNotifications.vue index d590e7768e..7acff806fc 100644 --- a/packages/frontend/src/widgets/WidgetNotifications.vue +++ b/packages/frontend/src/widgets/WidgetNotifications.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :style="`height: ${widgetProps.height}px;`" :showHeader="widgetProps.showHeader" :scrollable="true" data-cy-mkw-notifications class="mkw-notifications"> <template #icon><i class="ph-bell ph-bold ph-lg"></i></template> <template #header>{{ i18n.ts.notifications }}</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configureNotification()"><i class="ph-gear ph-bold ph-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configureNotification()"><i class="ti ti-settings"></i></button></template> <div> <XNotifications :excludeTypes="widgetProps.excludeTypes"/> diff --git a/packages/frontend/src/widgets/WidgetRss.vue b/packages/frontend/src/widgets/WidgetRss.vue index aa4bf155de..02fa8a87d3 100644 --- a/packages/frontend/src/widgets/WidgetRss.vue +++ b/packages/frontend/src/widgets/WidgetRss.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :showHeader="widgetProps.showHeader" data-cy-mkw-rss class="mkw-rss"> <template #icon><i class="ph-rss ph-bold ph-lg"></i></template> <template #header>RSS</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ph-gear ph-bold ph-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ti ti-settings"></i></button></template> <div class="ekmkgxbj"> <MkLoading v-if="fetching"/> diff --git a/packages/frontend/src/widgets/WidgetRssTicker.vue b/packages/frontend/src/widgets/WidgetRssTicker.vue index f1dde14bf6..714461c7a6 100644 --- a/packages/frontend/src/widgets/WidgetRssTicker.vue +++ b/packages/frontend/src/widgets/WidgetRssTicker.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :naked="widgetProps.transparent" :showHeader="widgetProps.showHeader" class="mkw-rss-ticker"> <template #icon><i class="ph-rss ph-bold ph-lg"></i></template> <template #header>RSS</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ph-gear ph-bold ph-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure"><i class="ti ti-settings"></i></button></template> <div :class="$style.feed"> <div v-if="fetching" :class="$style.loading"> diff --git a/packages/frontend/src/widgets/WidgetUserList.vue b/packages/frontend/src/widgets/WidgetUserList.vue index 0e4fe2fbd3..ac273cc5d5 100644 --- a/packages/frontend/src/widgets/WidgetUserList.vue +++ b/packages/frontend/src/widgets/WidgetUserList.vue @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkContainer :showHeader="widgetProps.showHeader" class="mkw-userList"> <template #icon><i class="ph-users ph-bold ph-lg"></i></template> <template #header>{{ list ? list.name : i18n.ts._widgets.userList }}</template> - <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure()"><i class="ph-gear ph-bold ph-lg"></i></button></template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configure()"><i class="ti ti-settings"></i></button></template> <div :class="$style.root"> <div v-if="widgetProps.listId == null" class="init"> diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 2c4ee35abc..cba6bb6c43 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -102,6 +102,7 @@ export function getConfig(): UserConfig { 'ti ti-heart-filled': 'ph-heart ph-bold ph-lg', 'ti ti-heart-plus': 'ph-heart ph-bold ph-lg', 'ti ti-arrow-left': 'ph-arrow-left ph-bold ph-lg', + 'ti ti-settings': 'ph-gear ph-bold ph-lg', }, }), ...process.env.NODE_ENV === 'production'