diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index c9c512c36..dd2c358f1 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -9,7 +9,7 @@
>
diff --git a/packages/frontend/src/pages/antenna-timeline.vue b/packages/frontend/src/pages/antenna-timeline.vue
index ff31c3ab2..5f0168ee3 100644
--- a/packages/frontend/src/pages/antenna-timeline.vue
+++ b/packages/frontend/src/pages/antenna-timeline.vue
@@ -72,7 +72,7 @@ watch(() => props.antennaId, async () => {
}, { immediate: true });
const headerActions = $computed(() => antenna ? [{
- icon: 'fas fa-calendar-alt',
+ icon: 'ti ti-calendar-time',
text: i18n.ts.jumpToSpecifiedDate,
handler: timetravel,
}, {
diff --git a/packages/frontend/src/pages/explore.users.vue b/packages/frontend/src/pages/explore.users.vue
index 3a74e8518..8defc35b7 100644
--- a/packages/frontend/src/pages/explore.users.vue
+++ b/packages/frontend/src/pages/explore.users.vue
@@ -7,15 +7,15 @@
- {{ i18n.ts.pinnedUsers }}
+ {{ i18n.ts.pinnedUsers }}
- {{ i18n.ts.popularUsers }}
+ {{ i18n.ts.popularUsers }}
- {{ i18n.ts.recentlyUpdatedUsers }}
+ {{ i18n.ts.recentlyUpdatedUsers }}
@@ -41,15 +41,15 @@
- {{ i18n.ts.popularUsers }}
+ {{ i18n.ts.popularUsers }}
- {{ i18n.ts.recentlyUpdatedUsers }}
+ {{ i18n.ts.recentlyUpdatedUsers }}
- {{ i18n.ts.recentlyDiscoveredUsers }}
+ {{ i18n.ts.recentlyDiscoveredUsers }}
diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue
index a84cb1e80..fe230ad09 100644
--- a/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue
+++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.image.vue
@@ -1,10 +1,10 @@
$emit('remove')">
- {{ $ts._pages.blocks.image }}
+ {{ $ts._pages.blocks.image }}
diff --git a/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue b/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue
index 6f11e2a08..ee494b757 100644
--- a/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue
+++ b/packages/frontend/src/pages/page-editor/els/page-editor.el.text.vue
@@ -1,7 +1,7 @@
$emit('remove')">
- {{ $ts._pages.blocks.text }}
+ {{ $ts._pages.blocks.text }}
diff --git a/packages/frontend/src/pages/settings/drive.vue b/packages/frontend/src/pages/settings/drive.vue
index 4099a3c11..a23bdfe69 100644
--- a/packages/frontend/src/pages/settings/drive.vue
+++ b/packages/frontend/src/pages/settings/drive.vue
@@ -30,7 +30,7 @@
{{ i18n.ts.uploadFolder }}
{{ uploadFolder ? uploadFolder.name : '-' }}
-
+
{{ i18n.ts.keepOriginalUploading }}
diff --git a/packages/frontend/src/pages/settings/sounds.vue b/packages/frontend/src/pages/settings/sounds.vue
index f9e301aef..cb8637a77 100644
--- a/packages/frontend/src/pages/settings/sounds.vue
+++ b/packages/frontend/src/pages/settings/sounds.vue
@@ -43,7 +43,7 @@ const masterVolume = computed({
},
});
-const volumeIcon = computed(() => masterVolume.value === 0 ? 'fas fa-volume-mute' : 'fas fa-volume-up');
+const volumeIcon = computed(() => masterVolume.value === 0 ? 'ti ti-volume-3' : 'ti ti-volume');
const sounds = ref({
note: ColdDeviceStorage.get('sound_note'),
diff --git a/packages/frontend/src/pages/user-list-timeline.vue b/packages/frontend/src/pages/user-list-timeline.vue
index 3f47edfd4..5b17e484f 100644
--- a/packages/frontend/src/pages/user-list-timeline.vue
+++ b/packages/frontend/src/pages/user-list-timeline.vue
@@ -65,7 +65,7 @@ async function timetravel() {
}
const headerActions = $computed(() => list ? [{
- icon: 'fas fa-calendar-alt',
+ icon: 'ti ti-calendar-time',
text: i18n.ts.jumpToSpecifiedDate,
handler: timetravel,
}, {
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts
index b5d2251d2..d2859ed9d 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -292,7 +292,7 @@ export function getNoteMenu(props: {
...($i.isModerator || $i.isAdmin ? [
null,
{
- icon: 'fas fa-bullhorn',
+ icon: 'ti ti-speakerphone',
text: i18n.ts.promote,
action: promote
}]
diff --git a/packages/frontend/src/scripts/hpml/index.ts b/packages/frontend/src/scripts/hpml/index.ts
index 9a55a5c28..5c07a0831 100644
--- a/packages/frontend/src/scripts/hpml/index.ts
+++ b/packages/frontend/src/scripts/hpml/index.ts
@@ -15,12 +15,12 @@ export type Type = 'string' | 'number' | 'boolean' | 'stringArray' | null;
export const literalDefs: Record = {
text: { out: 'string', category: 'value', icon: 'ti ti-quote' },
- multiLineText: { out: 'string', category: 'value', icon: 'fas fa-align-left' },
- textList: { out: 'stringArray', category: 'value', icon: 'fas fa-list' },
- number: { out: 'number', category: 'value', icon: 'fas fa-sort-numeric-up' },
- ref: { out: null, category: 'value', icon: 'fas fa-magic' },
- aiScriptVar: { out: null, category: 'value', icon: 'fas fa-magic' },
- fn: { out: 'function', category: 'value', icon: 'fas fa-square-root-alt' },
+ multiLineText: { out: 'string', category: 'value', icon: 'ti ti-align-left' },
+ textList: { out: 'stringArray', category: 'value', icon: 'ti ti-list' },
+ number: { out: 'number', category: 'value', icon: 'ti ti-list-numbers' },
+ ref: { out: null, category: 'value', icon: 'ti ti-wand' },
+ aiScriptVar: { out: null, category: 'value', icon: 'ti ti-wand' },
+ fn: { out: 'function', category: 'value', icon: 'ti ti-math-function' },
};
export const blockDefs = [
diff --git a/packages/frontend/src/scripts/hpml/lib.ts b/packages/frontend/src/scripts/hpml/lib.ts
index 02d663b31..ede7b0d68 100644
--- a/packages/frontend/src/scripts/hpml/lib.ts
+++ b/packages/frontend/src/scripts/hpml/lib.ts
@@ -130,42 +130,42 @@ export function initAiLib(hpml: Hpml) {
export const funcDefs: Record = {
if: { in: ['boolean', 0, 0], out: 0, category: 'flow', icon: 'ti ti-share' },
- for: { in: ['number', 'function'], out: null, category: 'flow', icon: 'fas fa-recycle' },
- not: { in: ['boolean'], out: 'boolean', category: 'logical', icon: 'fas fa-flag' },
- or: { in: ['boolean', 'boolean'], out: 'boolean', category: 'logical', icon: 'fas fa-flag' },
- and: { in: ['boolean', 'boolean'], out: 'boolean', category: 'logical', icon: 'fas fa-flag' },
+ for: { in: ['number', 'function'], out: null, category: 'flow', icon: 'ti ti-recycle' },
+ not: { in: ['boolean'], out: 'boolean', category: 'logical', icon: 'ti ti-flag' },
+ or: { in: ['boolean', 'boolean'], out: 'boolean', category: 'logical', icon: 'ti ti-flag' },
+ and: { in: ['boolean', 'boolean'], out: 'boolean', category: 'logical', icon: 'ti ti-flag' },
add: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'ti ti-plus' },
subtract: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'ti ti-minus' },
multiply: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'ti ti-x' },
- divide: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'fas fa-divide' },
- mod: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'fas fa-divide' },
- round: { in: ['number'], out: 'number', category: 'operation', icon: 'fas fa-calculator' },
- eq: { in: [0, 0], out: 'boolean', category: 'comparison', icon: 'fas fa-equals' },
- notEq: { in: [0, 0], out: 'boolean', category: 'comparison', icon: 'fas fa-not-equal' },
- gt: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'fas fa-greater-than' },
- lt: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'fas fa-less-than' },
- gtEq: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'fas fa-greater-than-equal' },
- ltEq: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'fas fa-less-than-equal' },
+ divide: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'ti ti-divide' },
+ mod: { in: ['number', 'number'], out: 'number', category: 'operation', icon: 'ti ti-divide' },
+ round: { in: ['number'], out: 'number', category: 'operation', icon: 'ti ti-calculator' },
+ eq: { in: [0, 0], out: 'boolean', category: 'comparison', icon: 'ti ti-equal' },
+ notEq: { in: [0, 0], out: 'boolean', category: 'comparison', icon: 'ti ti-equal-not' },
+ gt: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'ti ti-math-greater' },
+ lt: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'ti ti-math-lower' },
+ gtEq: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'ti ti-math-equal-greater' },
+ ltEq: { in: ['number', 'number'], out: 'boolean', category: 'comparison', icon: 'ti ti-math-equal-lower' },
strLen: { in: ['string'], out: 'number', category: 'text', icon: 'ti ti-quote' },
strPick: { in: ['string', 'number'], out: 'string', category: 'text', icon: 'ti ti-quote' },
strReplace: { in: ['string', 'string', 'string'], out: 'string', category: 'text', icon: 'ti ti-quote' },
strReverse: { in: ['string'], out: 'string', category: 'text', icon: 'ti ti-quote' },
join: { in: ['stringArray', 'string'], out: 'string', category: 'text', icon: 'ti ti-quote' },
- stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: 'fas fa-exchange-alt' },
- numberToString: { in: ['number'], out: 'string', category: 'convert', icon: 'fas fa-exchange-alt' },
- splitStrByLine: { in: ['string'], out: 'stringArray', category: 'convert', icon: 'fas fa-exchange-alt' },
- pick: { in: [null, 'number'], out: null, category: 'list', icon: 'fas fa-indent' },
- listLen: { in: [null], out: 'number', category: 'list', icon: 'fas fa-indent' },
- rannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: 'fas fa-dice' },
- dailyRannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: 'fas fa-dice' },
- seedRannum: { in: [null, 'number', 'number'], out: 'number', category: 'random', icon: 'fas fa-dice' },
- random: { in: ['number'], out: 'boolean', category: 'random', icon: 'fas fa-dice' },
- dailyRandom: { in: ['number'], out: 'boolean', category: 'random', icon: 'fas fa-dice' },
- seedRandom: { in: [null, 'number'], out: 'boolean', category: 'random', icon: 'fas fa-dice' },
- randomPick: { in: [0], out: 0, category: 'random', icon: 'fas fa-dice' },
- dailyRandomPick: { in: [0], out: 0, category: 'random', icon: 'fas fa-dice' },
- seedRandomPick: { in: [null, 0], out: 0, category: 'random', icon: 'fas fa-dice' },
- DRPWPM: { in: ['stringArray'], out: 'string', category: 'random', icon: 'fas fa-dice' }, // dailyRandomPickWithProbabilityMapping
+ stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: 'ti ti-arrows-right-left' },
+ numberToString: { in: ['number'], out: 'string', category: 'convert', icon: 'ti ti-arrows-right-left' },
+ splitStrByLine: { in: ['string'], out: 'stringArray', category: 'convert', icon: 'ti ti-arrows-right-left' },
+ pick: { in: [null, 'number'], out: null, category: 'list', icon: 'ti ti-indent-increase' },
+ listLen: { in: [null], out: 'number', category: 'list', icon: 'ti ti-indent-increase' },
+ rannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: 'ti ti-dice' },
+ dailyRannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: 'ti ti-dice' },
+ seedRannum: { in: [null, 'number', 'number'], out: 'number', category: 'random', icon: 'ti ti-dice' },
+ random: { in: ['number'], out: 'boolean', category: 'random', icon: 'ti ti-dice' },
+ dailyRandom: { in: ['number'], out: 'boolean', category: 'random', icon: 'ti ti-dice' },
+ seedRandom: { in: [null, 'number'], out: 'boolean', category: 'random', icon: 'ti ti-dice' },
+ randomPick: { in: [0], out: 0, category: 'random', icon: 'ti ti-dice' },
+ dailyRandomPick: { in: [0], out: 0, category: 'random', icon: 'ti ti-dice' },
+ seedRandomPick: { in: [null, 0], out: 0, category: 'random', icon: 'ti ti-dice' },
+ DRPWPM: { in: ['stringArray'], out: 'string', category: 'random', icon: 'ti ti-dice' }, // dailyRandomPickWithProbabilityMapping
};
export function initHpmlLib(expr: Expr, scope: HpmlScope, randomSeed: string, visitor?: any) {
diff --git a/packages/frontend/src/scripts/search.ts b/packages/frontend/src/scripts/search.ts
index 64914d3d6..69f1586b7 100644
--- a/packages/frontend/src/scripts/search.ts
+++ b/packages/frontend/src/scripts/search.ts
@@ -35,7 +35,7 @@ export async function search() {
// TODO
//v.$root.$emit('warp', date);
os.alert({
- icon: 'fas fa-history',
+ icon: 'ti ti-history',
iconOnly: true, autoClose: true,
});
return;
diff --git a/packages/frontend/src/ui/classic.vue b/packages/frontend/src/ui/classic.vue
index 02dafcc3b..c081f409c 100644
--- a/packages/frontend/src/ui/classic.vue
+++ b/packages/frontend/src/ui/classic.vue
@@ -105,7 +105,7 @@ function onContextmenu(ev: MouseEvent) {
type: 'label',
text: path,
}, {
- icon: fullView ? 'fas fa-compress' : 'fas fa-expand',
+ icon: fullView ? 'ti ti-minimize' : 'ti ti-maximize',
text: fullView ? i18n.ts.quitFullView : i18n.ts.fullView,
action: () => {
fullView = !fullView;
diff --git a/packages/frontend/src/widgets/server-metric/mem.vue b/packages/frontend/src/widgets/server-metric/mem.vue
index 6018eb426..d6a5d021a 100644
--- a/packages/frontend/src/widgets/server-metric/mem.vue
+++ b/packages/frontend/src/widgets/server-metric/mem.vue
@@ -2,7 +2,7 @@
-
RAM
+
RAM
Total: {{ bytes(total, 1) }}
Used: {{ bytes(used, 1) }}
Free: {{ bytes(free, 1) }}