summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-22 12:36:09 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-22 15:53:13 +0100
commit4910c1f03036aa11cbb24f8fcb136deae34cc2cb (patch)
tree2010af49c84e8179c053c3df77f1a2f1221acb44
parentreplaced ti-movie (diff)
downloadsharkey-4910c1f03036aa11cbb24f8fcb136deae34cc2cb.tar.gz
sharkey-4910c1f03036aa11cbb24f8fcb136deae34cc2cb.tar.bz2
sharkey-4910c1f03036aa11cbb24f8fcb136deae34cc2cb.zip
replaced most ti-arrow*
-rw-r--r--packages/frontend/src/components/MkMediaVideo.vue4
-rw-r--r--packages/frontend/src/components/MkPullToRefresh.vue2
-rw-r--r--packages/frontend/src/pages/admin/roles.editor.vue4
-rw-r--r--packages/frontend/src/pages/drop-and-fusion.game.vue2
-rw-r--r--packages/frontend/src/pages/settings/profile.vue2
-rw-r--r--packages/frontend/src/ui/deck/column.vue6
-rw-r--r--packages/frontend/vite.config.ts10
7 files changed, 20 insertions, 10 deletions
diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue
index eb7c1f49fd..d22bec511c 100644
--- a/packages/frontend/src/components/MkMediaVideo.vue
+++ b/packages/frontend/src/components/MkMediaVideo.vue
@@ -84,8 +84,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<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>
- <i v-else class="ph-arrows-out ph-bold ph-lg"></i>
+ <i v-if="isFullscreen" class="ti ti-arrows-minimize"></i>
+ <i v-else class="ti ti-arrows-maximize"></i>
</button>
</div>
<div :class="[$style.controlsChild, $style.controlsTime]">{{ hms(elapsedTimeMs) }}</div>
diff --git a/packages/frontend/src/components/MkPullToRefresh.vue b/packages/frontend/src/components/MkPullToRefresh.vue
index b1ec440e42..e0d0b561be 100644
--- a/packages/frontend/src/components/MkPullToRefresh.vue
+++ b/packages/frontend/src/components/MkPullToRefresh.vue
@@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="isPullStart" :class="$style.frame" :style="`--frame-min-height: ${pullDistance / (PULL_BRAKE_BASE + (pullDistance / PULL_BRAKE_FACTOR))}px;`">
<div :class="$style.frameContent">
<MkLoading v-if="isRefreshing" :class="$style.loader" :em="true"/>
- <i v-else class="ph-arrow-line-down ph-bold ph-lg" :class="[$style.icon, { [$style.refresh]: isPullEnd }]"></i>
+ <i v-else class="ti ti-arrow-bar-to-down" :class="[$style.icon, { [$style.refresh]: isPullEnd }]"></i>
<div :class="$style.text">
<template v-if="isPullEnd">{{ i18n.ts.releaseToRefresh }}</template>
<template v-else-if="isRefreshing">{{ i18n.ts.refreshing }}</template>
diff --git a/packages/frontend/src/pages/admin/roles.editor.vue b/packages/frontend/src/pages/admin/roles.editor.vue
index 337a13399a..9656f76400 100644
--- a/packages/frontend/src/pages/admin/roles.editor.vue
+++ b/packages/frontend/src/pages/admin/roles.editor.vue
@@ -665,8 +665,8 @@ const rolePermission = computed({
const q = ref('');
function getPriorityIcon(option) {
- if (option.priority === 2) return 'ph-arrow-up ph-bold ph-lg';
- if (option.priority === 1) return 'ph-arrow-up ph-bold ph-lg';
+ if (option.priority === 2) return 'ti ti-arrows-up';
+ if (option.priority === 1) return 'ti ti-arrow-narrow-up';
return 'ph-circle ph-bold ph-lg';
}
diff --git a/packages/frontend/src/pages/drop-and-fusion.game.vue b/packages/frontend/src/pages/drop-and-fusion.game.vue
index 136e04d44e..55d1254188 100644
--- a/packages/frontend/src/pages/drop-and-fusion.game.vue
+++ b/packages/frontend/src/pages/drop-and-fusion.game.vue
@@ -173,7 +173,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div>
<div v-for="(mono, i) in game.monoDefinitions.sort((a, b) => a.level - b.level)" :key="mono.id" style="display: inline-block;">
<img :src="getTextureImageUrl(mono)" style="width: 32px; vertical-align: bottom;"/>
- <div v-if="i < game.monoDefinitions.length - 1" style="display: inline-block; margin-left: 4px; vertical-align: bottom;"><i class="ph-arrow-fat-right ph-bold ph-lg"></i></div>
+ <div v-if="i < game.monoDefinitions.length - 1" style="display: inline-block; margin-left: 4px; vertical-align: bottom;"><i class="ti ti-arrow-big-right"></i></div>
</div>
</div>
</div>
diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue
index 7b07e6961c..7f7ed39bbf 100644
--- a/packages/frontend/src/pages/settings/profile.vue
+++ b/packages/frontend/src/pages/settings/profile.vue
@@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.metadataMargin">
<MkButton :disabled="fields.length >= 16" inline style="margin-right: 8px;" @click="addField"><i class="ti ti-plus"></i> {{ i18n.ts.add }}</MkButton>
<MkButton v-if="!fieldEditMode" :disabled="fields.length <= 1" inline danger style="margin-right: 8px;" @click="fieldEditMode = !fieldEditMode"><i class="ti ti-trash"></i> {{ i18n.ts.delete }}</MkButton>
- <MkButton v-else inline style="margin-right: 8px;" @click="fieldEditMode = !fieldEditMode"><i class="ph-arrows-down-up ph-bold ph-lg"></i> {{ i18n.ts.rearrange }}</MkButton>
+ <MkButton v-else inline style="margin-right: 8px;" @click="fieldEditMode = !fieldEditMode"><i class="ti ti-arrows-sort"></i> {{ i18n.ts.rearrange }}</MkButton>
<MkButton inline primary @click="saveFields"><i class="ti ti-check"></i> {{ i18n.ts.save }}</MkButton>
</div>
diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue
index 643f64ab4a..fafd34816d 100644
--- a/packages/frontend/src/ui/deck/column.vue
+++ b/packages/frontend/src/ui/deck/column.vue
@@ -132,7 +132,7 @@ function getMenu() {
}, {
type: 'parent',
text: i18n.ts.move + '...',
- icon: 'ph-arrows-out-cardinal ph-bold ph-lg',
+ icon: 'ti ti-arrows-move',
children: [{
icon: 'ti ti-arrow-left',
text: i18n.ts._deck.swapLeft,
@@ -146,13 +146,13 @@ function getMenu() {
swapRightColumn(props.column.id);
},
}, props.isStacked ? {
- icon: 'ph-arrow-up ph-bold ph-lg',
+ icon: 'ti ti-arrow-up',
text: i18n.ts._deck.swapUp,
action: () => {
swapUpColumn(props.column.id);
},
} : undefined, props.isStacked ? {
- icon: 'ph-arrow-down ph-bold ph-lg',
+ icon: 'ti ti-arrow-down',
text: i18n.ts._deck.swapDown,
action: () => {
swapDownColumn(props.column.id);
diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts
index 7ba2ac0c7c..6e04815c9c 100644
--- a/packages/frontend/vite.config.ts
+++ b/packages/frontend/vite.config.ts
@@ -263,6 +263,16 @@ export function getConfig(): UserConfig {
'ti ti-rocket-off': 'ph-rocket ph-bold ph-lg',
'ti ti-repeat-off': 'ph-repeat ph-bold ph-lg',
'ti ti-movie': 'ph-film-strip ph-bold ph-lg',
+ 'ti ti-arrows-minimize': 'ph-arrows-in ph-bold ph-lg',
+ 'ti ti-arrows-maximize': 'ph-arrows-out ph-bold ph-lg',
+ 'ti ti-arrows-up': 'ph-arrow-line-up ph-bold ph-lg',
+ 'ti ti-arrows-sort': 'ph-arrows-down-up ph-bold ph-lg',
+ 'ti ti-arrows-move': 'ph-arrows-out-cardinal ph-bold ph-lg',
+ 'ti ti-arrow-bar-to-down': 'ph-arrow-line-down ph-bold ph-lg',
+ 'ti ti-arrow-narrow-up': 'ph-arrow-up ph-bold ph-lg',
+ 'ti ti-arrow-big-right': 'ph-arrow-fat-right ph-bold ph-lg',
+ 'ti ti-arrow-up': 'ph-arrow-up ph-bold ph-lg',
+ 'ti ti-arrow-down': 'ph-arrow-down ph-bold ph-lg',
},
}),
...process.env.NODE_ENV === 'production'