diff --git a/CALCKEY.md b/CALCKEY.md
index 8e979b4b6..7f74e77e0 100644
--- a/CALCKEY.md
+++ b/CALCKEY.md
@@ -48,6 +48,7 @@
- Star as default reaction
- Like/star button
- Rosé Pine by default (+ non-themable elements made Rosé Pine)
+- Phosphor icons instead of FontAwesome
- Better sidebar/navbar
- Add back groups
- Integrate groups UI into chats UI
diff --git a/gulpfile.js b/gulpfile.js
index 2eaeac0f3..17d224177 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -23,8 +23,8 @@ gulp.task('copy:client:fonts', () =>
gulp.src('./packages/client/node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/'))
);
-gulp.task('copy:client:fontawesome', () =>
- gulp.src('./packages/client/node_modules/@fortawesome/fontawesome-free/**/*').pipe(gulp.dest('./built/_client_dist_/fontawesome/'))
+gulp.task('copy:client:phosphor', () =>
+ gulp.src('./packages/client/node_modules/phosphor-icons/src/css/*').pipe(gulp.dest('./built/_client_dist_/phosphor/'))
);
gulp.task('copy:client:locales', cb => {
@@ -58,7 +58,7 @@ gulp.task('build:backend:style', () => {
});
gulp.task('build', gulp.parallel(
- 'copy:client:locales', 'copy:backend:views', 'copy:backend:custom', 'build:backend:script', 'build:backend:style', 'copy:client:fonts', 'copy:client:fontawesome'
+ 'copy:client:locales', 'copy:backend:views', 'copy:backend:custom', 'build:backend:script', 'build:backend:style', 'copy:client:fonts', 'copy:client:phosphor'
));
gulp.task('default', gulp.task('build'));
diff --git a/package.json b/package.json
index aead92a27..915d93cf9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "calckey",
- "version": "12.119.0-calc.8.1",
+ "version": "12.119.0-calc.8.2",
"codename": "aqua",
"repository": {
"type": "git",
@@ -51,6 +51,7 @@
"gulp-terser": "2.1.0",
"js-yaml": "4.1.0",
"long": "^5.2.1",
+ "phosphor-icons": "^1.4.2",
"seedrandom": "^3.0.5"
},
"devDependencies": {
diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug
index f06f2cab2..a1a6c3a4e 100644
--- a/packages/backend/src/server/web/views/base.pug
+++ b/packages/backend/src/server/web/views/base.pug
@@ -35,7 +35,7 @@ html
link(rel='prefetch' href=`/static-assets/badges/info.png?${ nowDateMs }`)
link(rel='prefetch' href=`/static-assets/badges/not-found.png?${ nowDateMs }`)
link(rel='prefetch' href=`/static-assets/badges/error.png?${ nowDateMs }`)
- link(rel='stylesheet' href='/assets/fontawesome/css/all.css')
+ link(rel='stylesheet' href='/assets/phosphor/css/icons.css')
link(rel='stylesheet' href=`/static-assets/instance.css?${ nowDateMs }`)
link(rel='modulepreload' href=`/assets/${clientEntry.file}`)
diff --git a/packages/client/package.json b/packages/client/package.json
index af43f2862..3441278df 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -8,7 +8,6 @@
},
"dependencies": {
"@discordapp/twemoji": "14.0.2",
- "@fortawesome/fontawesome-free": "6.2.0",
"@rollup/plugin-alias": "3.1.9",
"@rollup/plugin-json": "4.1.0",
"@rollup/pluginutils": "^4.2.1",
diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts
index 10257b841..8421ad23d 100644
--- a/packages/client/src/account.ts
+++ b/packages/client/src/account.ts
@@ -207,7 +207,7 @@ export async function openAccountMenu(opts: {
avatar: $i,
}, null, ...(opts.includeCurrentAccount ? [createItem($i)] : []), ...accountItemPromises, {
type: 'parent',
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.addAccount,
children: [{
text: i18n.ts.existingAccount,
@@ -218,7 +218,7 @@ export async function openAccountMenu(opts: {
}],
}, {
type: 'link',
- icon: 'fas fa-users',
+ icon: 'ph-users',
text: i18n.ts.manageAccounts,
to: '/settings/accounts',
}]], ev.currentTarget ?? ev.target, {
diff --git a/packages/client/src/components/MkAbuseReportWindow.vue b/packages/client/src/components/MkAbuseReportWindow.vue
index 1862d0a0e..b52e5814c 100644
--- a/packages/client/src/components/MkAbuseReportWindow.vue
+++ b/packages/client/src/components/MkAbuseReportWindow.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/packages/client/src/components/MkChannelFollowButton.vue b/packages/client/src/components/MkChannelFollowButton.vue
index dff02beec..56a41ce19 100644
--- a/packages/client/src/components/MkChannelFollowButton.vue
+++ b/packages/client/src/components/MkChannelFollowButton.vue
@@ -6,14 +6,14 @@
>
- {{ i18n.ts.unfollow }}
+ {{ i18n.ts.unfollow }}
- {{ i18n.ts.follow }}
+ {{ i18n.ts.follow }}
- {{ i18n.ts.processing }}
+ {{ i18n.ts.processing }}
diff --git a/packages/client/src/components/MkChannelPreview.vue b/packages/client/src/components/MkChannelPreview.vue
index dd3794a65..70e49b0d1 100644
--- a/packages/client/src/components/MkChannelPreview.vue
+++ b/packages/client/src/components/MkChannelPreview.vue
@@ -2,10 +2,10 @@
-
{{ channel.name }}
+
{{ channel.name }}
-
+
{{ channel.usersCount }}
@@ -13,7 +13,7 @@
-
+
{{ channel.notesCount }}
diff --git a/packages/client/src/components/MkContainer.vue b/packages/client/src/components/MkContainer.vue
index 4be59adc2..9b1ab1f12 100644
--- a/packages/client/src/components/MkContainer.vue
+++ b/packages/client/src/components/MkContainer.vue
@@ -5,8 +5,8 @@
diff --git a/packages/client/src/components/MkDateSeparatedList.vue b/packages/client/src/components/MkDateSeparatedList.vue
index f63d9782b..d8ed9a1ed 100644
--- a/packages/client/src/components/MkDateSeparatedList.vue
+++ b/packages/client/src/components/MkDateSeparatedList.vue
@@ -64,14 +64,14 @@ export default defineComponent({
}, [
h('span', [
h('i', {
- class: 'fas fa-angle-up icon',
+ class: 'ph-caret-up icon',
}),
getDateText(item.createdAt),
]),
h('span', [
getDateText(props.items[i + 1].createdAt),
h('i', {
- class: 'fas fa-angle-down icon',
+ class: 'ph-caret-down icon',
}),
]),
]));
diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue
index e7867292a..eb3a52bc1 100644
--- a/packages/client/src/components/MkDialog.vue
+++ b/packages/client/src/components/MkDialog.vue
@@ -5,17 +5,17 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
+
diff --git a/packages/client/src/components/MkDrive.file.vue b/packages/client/src/components/MkDrive.file.vue
index 22916d568..f656380cc 100644
--- a/packages/client/src/components/MkDrive.file.vue
+++ b/packages/client/src/components/MkDrive.file.vue
@@ -63,30 +63,30 @@ const title = computed(() => `${props.file.name}\n${props.file.type} ${bytes(pro
function getMenu() {
return [{
text: i18n.ts.rename,
- icon: 'fas fa-i-cursor',
+ icon: 'ph-cursor-text',
action: rename,
}, {
text: props.file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive,
- icon: props.file.isSensitive ? 'fas fa-eye' : 'fas fa-eye-slash',
+ icon: props.file.isSensitive ? 'ph-eye' : 'ph-eye-slash',
action: toggleSensitive,
}, {
text: i18n.ts.describeFile,
- icon: 'fas fa-i-cursor',
+ icon: 'ph-cursor-text',
action: describe,
}, null, {
text: i18n.ts.copyUrl,
- icon: 'fas fa-link',
+ icon: 'ph-link-simple',
action: copyUrl,
}, {
type: 'a',
href: props.file.url,
target: '_blank',
text: i18n.ts.download,
- icon: 'fas fa-download',
+ icon: 'ph-download-simple',
download: props.file.name,
}, null, {
text: i18n.ts.delete,
- icon: 'fas fa-trash-alt',
+ icon: 'ph-trash',
danger: true,
action: deleteFile,
}];
diff --git a/packages/client/src/components/MkDrive.folder.vue b/packages/client/src/components/MkDrive.folder.vue
index e55fa4f0f..c4c41f233 100644
--- a/packages/client/src/components/MkDrive.folder.vue
+++ b/packages/client/src/components/MkDrive.folder.vue
@@ -16,8 +16,8 @@
@dragend="onDragend"
>
-
-
+
+
{{ folder.name }}
@@ -229,7 +229,7 @@ function setAsUploadFolder() {
function onContextmenu(ev: MouseEvent) {
os.contextMenu([{
text: i18n.ts.openInWindow,
- icon: 'fas fa-window-restore',
+ icon: 'ph-copy',
action: () => {
os.popup(defineAsyncComponent(() => import('@/components/MkDriveWindow.vue')), {
initialFolder: props.folder,
@@ -238,11 +238,11 @@ function onContextmenu(ev: MouseEvent) {
},
}, null, {
text: i18n.ts.rename,
- icon: 'fas fa-i-cursor',
+ icon: 'ph-cursor-text',
action: rename,
}, null, {
text: i18n.ts.delete,
- icon: 'fas fa-trash-alt',
+ icon: 'ph-trash',
danger: true,
action: deleteFolder,
}], ev);
diff --git a/packages/client/src/components/MkDrive.navFolder.vue b/packages/client/src/components/MkDrive.navFolder.vue
index 548270331..38d1c8ca9 100644
--- a/packages/client/src/components/MkDrive.navFolder.vue
+++ b/packages/client/src/components/MkDrive.navFolder.vue
@@ -7,7 +7,7 @@
@dragleave="onDragleave"
@drop.stop="onDrop"
>
-
+
{{ folder == null ? i18n.ts.drive : folder.name }}
diff --git a/packages/client/src/components/MkDrive.vue b/packages/client/src/components/MkDrive.vue
index 002ca58d0..bf493a637 100644
--- a/packages/client/src/components/MkDrive.vue
+++ b/packages/client/src/components/MkDrive.vue
@@ -11,7 +11,7 @@
@removeFolder="removeFolder"
/>
-
+
-
+
{{ folder.name }}
-
+
{ selectLocalFile(); },
}, {
text: i18n.ts.fromUrl,
- icon: 'fas fa-link',
+ icon: 'ph-link-simple',
action: () => { urlUpload(); },
}, null, {
text: folder.value ? folder.value.name : i18n.ts.drive,
type: 'label',
}, folder.value ? {
text: i18n.ts.renameFolder,
- icon: 'fas fa-i-cursor',
+ icon: 'ph-cursor-text',
action: () => { renameFolder(folder.value); },
} : undefined, folder.value ? {
text: i18n.ts.deleteFolder,
- icon: 'fas fa-trash-alt',
+ icon: 'ph-trash',
action: () => { deleteFolder(folder.value as Misskey.entities.DriveFolder); },
} : undefined, {
text: i18n.ts.createFolder,
- icon: 'fas fa-folder-plus',
+ icon: 'ph-folder-notch-plus',
action: () => { createFolder(); },
}];
}
diff --git a/packages/client/src/components/MkDriveFileThumbnail.vue b/packages/client/src/components/MkDriveFileThumbnail.vue
index de65d2f25..c7132b198 100644
--- a/packages/client/src/components/MkDriveFileThumbnail.vue
+++ b/packages/client/src/components/MkDriveFileThumbnail.vue
@@ -1,22 +1,22 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
diff --git a/packages/client/src/pages/about-calckey.vue b/packages/client/src/pages/about-calckey.vue
index 6632fcd94..20ad86322 100644
--- a/packages/client/src/pages/about-calckey.vue
+++ b/packages/client/src/pages/about-calckey.vue
@@ -20,7 +20,7 @@
@@ -210,6 +210,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.security,
- icon: 'fas fa-lock',
+ icon: 'ph-lock',
});
diff --git a/packages/client/src/pages/admin/settings.vue b/packages/client/src/pages/admin/settings.vue
index e565be32f..06d192f2f 100644
--- a/packages/client/src/pages/admin/settings.vue
+++ b/packages/client/src/pages/admin/settings.vue
@@ -14,7 +14,7 @@
-
+
{{ i18n.ts.tosUrl }}
@@ -24,7 +24,7 @@
-
+
{{ i18n.ts.maintainerEmail }}
@@ -62,27 +62,27 @@
{{ i18n.ts.theme }}
-
+
{{ i18n.ts.iconUrl }}
-
+
{{ i18n.ts.bannerUrl }}
-
+
{{ i18n.ts.logoImageUrl }}
-
+
{{ i18n.ts.backgroundImageUrl }}
-
+
{{ i18n.ts.themeColor }}
#RRGGBB
@@ -145,12 +145,12 @@
-
+
Public key
-
+
Private key
@@ -160,7 +160,7 @@
DeepL Translation
-
+
DeepL Auth Key
@@ -290,7 +290,7 @@ function save() {
const headerActions = $computed(() => [{
asFullButton: true,
- icon: 'fas fa-check',
+ icon: 'ph-check',
text: i18n.ts.save,
handler: save,
}]);
@@ -299,6 +299,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.general,
- icon: 'fas fa-cog',
+ icon: 'ph-gear-six',
});
diff --git a/packages/client/src/pages/admin/users.vue b/packages/client/src/pages/admin/users.vue
index eeb335a43..517d63497 100644
--- a/packages/client/src/pages/admin/users.vue
+++ b/packages/client/src/pages/admin/users.vue
@@ -115,17 +115,17 @@ function show(user) {
}
const headerActions = $computed(() => [{
- icon: 'fas fa-search',
+ icon: 'ph-magnifying-glass',
text: i18n.ts.search,
handler: searchUser,
}, {
asFullButton: true,
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.addUser,
handler: addUser,
}, {
asFullButton: true,
- icon: 'fas fa-search',
+ icon: 'ph-magnifying-glass',
text: i18n.ts.lookup,
handler: lookupUser,
}]);
@@ -134,7 +134,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.users,
- icon: 'fas fa-users',
+ icon: 'ph-users',
})));
diff --git a/packages/client/src/pages/announcements.vue b/packages/client/src/pages/announcements.vue
index 5f6659699..aae6069fe 100644
--- a/packages/client/src/pages/announcements.vue
+++ b/packages/client/src/pages/announcements.vue
@@ -10,7 +10,7 @@
@@ -46,7 +46,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.announcements,
- icon: 'fas fa-broadcast-tower',
+ icon: 'ph-megaphone-simple',
});
diff --git a/packages/client/src/pages/antenna-timeline.vue b/packages/client/src/pages/antenna-timeline.vue
index 500cb3a7c..12828dbaa 100644
--- a/packages/client/src/pages/antenna-timeline.vue
+++ b/packages/client/src/pages/antenna-timeline.vue
@@ -72,11 +72,11 @@ watch(() => props.antennaId, async () => {
}, { immediate: true });
const headerActions = $computed(() => antenna ? [{
- icon: 'fas fa-calendar-alt',
+ icon: 'ph-calendar-blank',
text: i18n.ts.jumpToSpecifiedDate,
handler: timetravel,
}, {
- icon: 'fas fa-cog',
+ icon: 'ph-gear-six',
text: i18n.ts.settings,
handler: settings,
}] : []);
@@ -85,7 +85,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => antenna ? {
title: antenna.name,
- icon: 'fas fa-satellite',
+ icon: 'ph-flying-saucer',
} : null));
diff --git a/packages/client/src/pages/api-console.vue b/packages/client/src/pages/api-console.vue
index 0064e4c3f..bb5edd1a1 100644
--- a/packages/client/src/pages/api-console.vue
+++ b/packages/client/src/pages/api-console.vue
@@ -15,7 +15,7 @@
- Send
+ Send
@@ -110,10 +110,10 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => props.channelId ? {
title: i18n.ts._channel.edit,
- icon: 'fas fa-satellite-dish',
+ icon: 'ph-television',
} : {
title: i18n.ts._channel.create,
- icon: 'fas fa-satellite-dish',
+ icon: 'ph-television',
}));
diff --git a/packages/client/src/pages/channel.vue b/packages/client/src/pages/channel.vue
index 380c3efc8..047b132b5 100644
--- a/packages/client/src/pages/channel.vue
+++ b/packages/client/src/pages/channel.vue
@@ -6,15 +6,15 @@
-
{{ channel.usersCount }}
-
{{ channel.notesCount }}
+
{{ channel.usersCount }}
+
{{ channel.notesCount }}
@@ -70,7 +70,7 @@ function edit() {
}
const headerActions = $computed(() => channel && channel.userId ? [{
- icon: 'fas fa-cog',
+ icon: 'ph-gear-six',
text: i18n.ts.edit,
handler: edit,
}] : null);
@@ -79,7 +79,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => channel ? {
title: channel.name,
- icon: 'fas fa-satellite-dish',
+ icon: 'ph-television',
} : null));
diff --git a/packages/client/src/pages/channels.vue b/packages/client/src/pages/channels.vue
index 6929eb928..f5344fa8a 100644
--- a/packages/client/src/pages/channels.vue
+++ b/packages/client/src/pages/channels.vue
@@ -26,7 +26,7 @@
-
+
@@ -77,7 +77,7 @@ function create() {
}
const headerActions = $computed(() => [{
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.create,
handler: create,
}]);
@@ -85,20 +85,20 @@ const headerActions = $computed(() => [{
const headerTabs = $computed(() => [{
key: 'featured',
title: i18n.ts._channel.featured,
- icon: 'fas fa-fire-alt',
+ icon: 'ph-fire-simple',
}, {
key: 'following',
title: i18n.ts._channel.following,
- icon: 'fas fa-heart',
+ icon: 'ph-heart',
}, {
key: 'owned',
title: i18n.ts._channel.owned,
- icon: 'fas fa-edit',
+ icon: 'ph-crown-simple',
}]);
definePageMetadata(computed(() => ({
title: i18n.ts.channel,
- icon: 'fas fa-satellite-dish',
+ icon: 'ph-television',
})));
let swiperRef = null;
diff --git a/packages/client/src/pages/clip.vue b/packages/client/src/pages/clip.vue
index 5b56651bd..5cd77c0dc 100644
--- a/packages/client/src/pages/clip.vue
+++ b/packages/client/src/pages/clip.vue
@@ -53,7 +53,7 @@ watch(() => props.clipId, async () => {
provide('currentClipPage', $$(clip));
const headerActions = $computed(() => clip && isOwned ? [{
- icon: 'fas fa-pencil-alt',
+ icon: 'ph-pencil',
text: i18n.ts.edit,
handler: async (): Promise
=> {
const { canceled, result } = await os.form(clip.name, {
@@ -83,7 +83,7 @@ const headerActions = $computed(() => clip && isOwned ? [{
});
},
}, {
- icon: 'fas fa-trash-alt',
+ icon: 'ph-trash',
text: i18n.ts.delete,
danger: true,
handler: async (): Promise => {
@@ -101,7 +101,7 @@ const headerActions = $computed(() => clip && isOwned ? [{
definePageMetadata(computed(() => clip ? {
title: clip.name,
- icon: 'fas fa-paperclip',
+ icon: 'ph-paperclip',
} : null));
diff --git a/packages/client/src/pages/drive.vue b/packages/client/src/pages/drive.vue
index 088f0eacd..4058ccf74 100644
--- a/packages/client/src/pages/drive.vue
+++ b/packages/client/src/pages/drive.vue
@@ -19,7 +19,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: folder ? folder.name : i18n.ts.drive,
- icon: 'fas fa-cloud',
+ icon: 'ph-cloud',
hideHeader: true,
})));
diff --git a/packages/client/src/pages/emojis.emoji.vue b/packages/client/src/pages/emojis.emoji.vue
index b2801694d..07df1ccbe 100644
--- a/packages/client/src/pages/emojis.emoji.vue
+++ b/packages/client/src/pages/emojis.emoji.vue
@@ -24,7 +24,7 @@ function menu(ev) {
text: ':' + props.emoji.name + ':',
}, {
text: i18n.ts.copy,
- icon: 'fas fa-copy',
+ icon: 'ph-clipboard-text',
action: () => {
copyToClipboard(`:${props.emoji.name}:`);
os.success();
diff --git a/packages/client/src/pages/explore.users.vue b/packages/client/src/pages/explore.users.vue
index 19d77e3d6..172c3dde7 100644
--- a/packages/client/src/pages/explore.users.vue
+++ b/packages/client/src/pages/explore.users.vue
@@ -7,26 +7,26 @@
- {{ i18n.ts.pinnedUsers }}
+ {{ i18n.ts.pinnedUsers }}
- {{ i18n.ts.popularUsers }}
+ {{ i18n.ts.popularUsers }}
- {{ i18n.ts.recentlyUpdatedUsers }}
+ {{ i18n.ts.recentlyUpdatedUsers }}
- {{ i18n.ts.recentlyRegisteredUsers }}
+ {{ i18n.ts.recentlyRegisteredUsers }}
- {{ i18n.ts.popularTags }}
+ {{ i18n.ts.popularTags }}
{{ tag.tag }}
@@ -35,21 +35,21 @@
- {{ tag }}
+ {{ tag }}
- {{ i18n.ts.popularUsers }}
+ {{ i18n.ts.popularUsers }}
- {{ i18n.ts.recentlyUpdatedUsers }}
+ {{ i18n.ts.recentlyUpdatedUsers }}
- {{ i18n.ts.recentlyDiscoveredUsers }}
+ {{ i18n.ts.recentlyDiscoveredUsers }}
diff --git a/packages/client/src/pages/explore.vue b/packages/client/src/pages/explore.vue
index 9abcbec07..d9d987473 100644
--- a/packages/client/src/pages/explore.vue
+++ b/packages/client/src/pages/explore.vue
@@ -20,7 +20,7 @@
-
+
{{ i18n.ts.searchUser }}
@@ -86,21 +86,21 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [{
key: 'featured',
- icon: 'fas fa-bolt',
+ icon: 'ph-lightning',
title: i18n.ts.featured,
}, {
key: 'users',
- icon: 'fas fa-users',
+ icon: 'ph-users',
title: i18n.ts.users,
}, {
key: 'search',
- icon: 'fas fa-magnifying-glass',
+ icon: 'ph-magnifying-glass',
title: i18n.ts.search,
}]);
definePageMetadata(computed(() => ({
title: i18n.ts.explore,
- icon: 'fas fa-hashtag',
+ icon: 'ph-hash',
})));
let swiperRef = null;
diff --git a/packages/client/src/pages/favorites.vue b/packages/client/src/pages/favorites.vue
index 9ddd4e1e7..a78365a4f 100644
--- a/packages/client/src/pages/favorites.vue
+++ b/packages/client/src/pages/favorites.vue
@@ -37,7 +37,7 @@ const pagingComponent = ref>();
definePageMetadata({
title: i18n.ts.favorites,
- icon: 'fas fa-star',
+ icon: 'ph-star',
});
diff --git a/packages/client/src/pages/follow-requests.vue b/packages/client/src/pages/follow-requests.vue
index 07f9b884a..d6dc66033 100644
--- a/packages/client/src/pages/follow-requests.vue
+++ b/packages/client/src/pages/follow-requests.vue
@@ -22,8 +22,8 @@
-
-
+
+
@@ -67,7 +67,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.followRequests,
- icon: 'fas fa-user-clock',
+ icon: 'ph-hand-waving',
})));
diff --git a/packages/client/src/pages/gallery/edit.vue b/packages/client/src/pages/gallery/edit.vue
index 8f716d9eb..19688496a 100644
--- a/packages/client/src/pages/gallery/edit.vue
+++ b/packages/client/src/pages/gallery/edit.vue
@@ -14,17 +14,17 @@
-
{{ i18n.ts.attachFile }}
+
{{ i18n.ts.attachFile }}
{{ i18n.ts.markAsSensitive }}
- {{ i18n.ts.save }}
- {{ i18n.ts.publish }}
+ {{ i18n.ts.save }}
+ {{ i18n.ts.publish }}
- {{ i18n.ts.delete }}
+ {{ i18n.ts.delete }}
@@ -115,10 +115,10 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => props.postId ? {
title: i18n.ts.edit,
- icon: 'fas fa-pencil-alt',
+ icon: 'ph-pencil',
} : {
title: i18n.ts.postToGallery,
- icon: 'fas fa-pencil-alt',
+ icon: 'ph-pencil',
}));
diff --git a/packages/client/src/pages/gallery/index.vue b/packages/client/src/pages/gallery/index.vue
index e6f56c8dc..caf7836af 100644
--- a/packages/client/src/pages/gallery/index.vue
+++ b/packages/client/src/pages/gallery/index.vue
@@ -12,7 +12,7 @@
>
- {{ i18n.ts.recentPosts }}
+ {{ i18n.ts.recentPosts }}
@@ -20,7 +20,7 @@
- {{ i18n.ts.popularPosts }}
+ {{ i18n.ts.popularPosts }}
@@ -36,7 +36,7 @@
- {{ i18n.ts.postToGallery }}
+ {{ i18n.ts.postToGallery }}
@@ -97,7 +97,7 @@ watch(() => props.tag, () => {
});
const headerActions = $computed(() => [{
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.create,
handler: () => {
router.push('/gallery/new');
@@ -107,20 +107,20 @@ const headerActions = $computed(() => [{
const headerTabs = $computed(() => [{
key: 'explore',
title: i18n.ts.gallery,
- icon: 'fas fa-icons',
+ icon: 'ph-image-square',
}, {
key: 'liked',
title: i18n.ts._gallery.liked,
- icon: 'fas fa-heart',
+ icon: 'ph-heart',
}, {
key: 'my',
title: i18n.ts._gallery.my,
- icon: 'fas fa-edit',
+ icon: 'ph-crown-simple',
}]);
definePageMetadata({
title: i18n.ts.gallery,
- icon: 'fas fa-icons',
+ icon: 'ph-image-square',
});
let swiperRef = null;
diff --git a/packages/client/src/pages/gallery/post.vue b/packages/client/src/pages/gallery/post.vue
index 3804bcdcf..9a8ef1d07 100644
--- a/packages/client/src/pages/gallery/post.vue
+++ b/packages/client/src/pages/gallery/post.vue
@@ -14,17 +14,17 @@
{{ post.title }}
-
+
- {{ post.likedCount }}
+ {{ post.likedCount }}
{{ post.likedCount }}
-
-
-
+
+
+
@@ -38,7 +38,7 @@
- {{ i18n.ts.recentPosts }}
+ {{ i18n.ts.recentPosts }}
@@ -139,7 +139,7 @@ function edit() {
watch(() => props.postId, fetchPost, { immediate: true });
const headerActions = $computed(() => [{
- icon: 'fas fa-pencil-alt',
+ icon: 'ph-pencil',
text: i18n.ts.edit,
handler: edit,
}]);
diff --git a/packages/client/src/pages/instance-info.vue b/packages/client/src/pages/instance-info.vue
index 7c15e4b7c..efc252d41 100644
--- a/packages/client/src/pages/instance-info.vue
+++ b/packages/client/src/pages/instance-info.vue
@@ -37,7 +37,7 @@
Moderation
{{ i18n.ts.stopActivityDelivery }}
{{ i18n.ts.blockThisInstance }}
-
Refresh metadata
+
Refresh metadata
@@ -219,7 +219,7 @@ fetch();
const headerActions = $computed(() => [{
text: `https://${props.host}`,
- icon: 'fas fa-external-link-alt',
+ icon: 'ph-arrow-square-out',
handler: () => {
window.open(`https://${props.host}`, '_blank');
},
@@ -228,7 +228,7 @@ const headerActions = $computed(() => [{
let theTabs = [{
key: 'overview',
title: i18n.ts.overview,
- icon: 'fas fa-info-circle',
+ icon: 'ph-info',
}];
if (iAmModerator) {
@@ -236,15 +236,15 @@ if (iAmModerator) {
{
key: 'chart',
title: i18n.ts.charts,
- icon: 'fas fa-chart-simple',
+ icon: 'ph-chart-bar',
}, {
key: 'users',
title: i18n.ts.users,
- icon: 'fas fa-users',
+ icon: 'ph-users',
}, {
key: 'raw',
title: 'Raw',
- icon: 'fas fa-code',
+ icon: 'ph-code',
},
);
}
@@ -253,7 +253,7 @@ let headerTabs = $computed(() => theTabs);
definePageMetadata({
title: props.host,
- icon: 'fas fa-server',
+ icon: 'ph-hard-drives',
});
let swiperRef = null;
diff --git a/packages/client/src/pages/messaging/index.vue b/packages/client/src/pages/messaging/index.vue
index aeed25796..07de0c7a7 100644
--- a/packages/client/src/pages/messaging/index.vue
+++ b/packages/client/src/pages/messaging/index.vue
@@ -13,7 +13,7 @@
>
-
{{ i18n.ts.startMessaging }}
+
{{ i18n.ts.startMessaging }}
@@ -26,8 +26,8 @@
- {{ i18n.ts.manageGroups }}
- {{ i18n.ts.startMessaging }}
+ {{ i18n.ts.manageGroups }}
+ {{ i18n.ts.startMessaging }}
@@ -73,16 +73,16 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [{
key: 'dms',
title: i18n.ts._messaging.dms,
- icon: 'fas fa-user',
+ icon: 'ph-user',
}, {
key: 'groups',
title: i18n.ts._messaging.groups,
- icon: 'fas fa-users',
+ icon: 'ph-users',
}]);
definePageMetadata({
title: i18n.ts.messaging,
- icon: 'fas fa-comments',
+ icon: 'ph-chats-teardrop',
});
const dmsPagination = {
diff --git a/packages/client/src/pages/messaging/messaging-room.form.vue b/packages/client/src/pages/messaging/messaging-room.form.vue
index 096f07fb4..c21c9b82a 100644
--- a/packages/client/src/pages/messaging/messaging-room.form.vue
+++ b/packages/client/src/pages/messaging/messaging-room.form.vue
@@ -15,10 +15,10 @@
diff --git a/packages/client/src/pages/messaging/messaging-room.message.vue b/packages/client/src/pages/messaging/messaging-room.message.vue
index 192edcfec..3e6d424d1 100644
--- a/packages/client/src/pages/messaging/messaging-room.message.vue
+++ b/packages/client/src/pages/messaging/messaging-room.message.vue
@@ -42,7 +42,7 @@
{{ $ts.messageRead }}
-
+
diff --git a/packages/client/src/pages/messaging/messaging-room.vue b/packages/client/src/pages/messaging/messaging-room.vue
index 094d04a50..6620f6f27 100644
--- a/packages/client/src/pages/messaging/messaging-room.vue
+++ b/packages/client/src/pages/messaging/messaging-room.vue
@@ -40,7 +40,7 @@
-
+
@@ -287,7 +287,7 @@ definePageMetadata(computed(() => !fetching ? user ? {
avatar: user,
} : {
title: group?.name,
- icon: 'fas fa-users',
+ icon: 'ph-users',
} : null));
diff --git a/packages/client/src/pages/mfm-cheat-sheet.vue b/packages/client/src/pages/mfm-cheat-sheet.vue
index bd8ae4e0b..7d5f5eef5 100644
--- a/packages/client/src/pages/mfm-cheat-sheet.vue
+++ b/packages/client/src/pages/mfm-cheat-sheet.vue
@@ -351,7 +351,7 @@ let preview_plain = $ref('**bold** @mention #hashtag `code` $[x2 🍮]
diff --git a/packages/client/src/pages/my-antennas/create.vue b/packages/client/src/pages/my-antennas/create.vue
index dc10bece8..1c46a1ec5 100644
--- a/packages/client/src/pages/my-antennas/create.vue
+++ b/packages/client/src/pages/my-antennas/create.vue
@@ -37,7 +37,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.manageAntennas,
- icon: 'fas fa-satellite',
+ icon: 'ph-flying-saucer',
});
diff --git a/packages/client/src/pages/my-antennas/edit.vue b/packages/client/src/pages/my-antennas/edit.vue
index 53f9b07db..b91a9ea2f 100644
--- a/packages/client/src/pages/my-antennas/edit.vue
+++ b/packages/client/src/pages/my-antennas/edit.vue
@@ -34,7 +34,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.manageAntennas,
- icon: 'fas fa-satellite',
+ icon: 'ph-flying-saucer',
});
diff --git a/packages/client/src/pages/my-antennas/editor.vue b/packages/client/src/pages/my-antennas/editor.vue
index 054053fbf..225894085 100644
--- a/packages/client/src/pages/my-antennas/editor.vue
+++ b/packages/client/src/pages/my-antennas/editor.vue
@@ -38,8 +38,8 @@
{{ i18n.ts.notifyAntenna }}
- {{ i18n.ts.save }}
- {{ i18n.ts.delete }}
+ {{ i18n.ts.save }}
+ {{ i18n.ts.delete }}
diff --git a/packages/client/src/pages/my-antennas/index.vue b/packages/client/src/pages/my-antennas/index.vue
index 778bedbea..2c11c501e 100644
--- a/packages/client/src/pages/my-antennas/index.vue
+++ b/packages/client/src/pages/my-antennas/index.vue
@@ -3,7 +3,7 @@
-
{{ i18n.ts.add }}
+
{{ i18n.ts.add }}
@@ -35,7 +35,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.manageAntennas,
- icon: 'fas fa-satellite',
+ icon: 'ph-flying-saucer',
});
diff --git a/packages/client/src/pages/my-clips/index.vue b/packages/client/src/pages/my-clips/index.vue
index 68330d6db..93c448002 100644
--- a/packages/client/src/pages/my-clips/index.vue
+++ b/packages/client/src/pages/my-clips/index.vue
@@ -3,7 +3,7 @@
- {{ i18n.ts.add }}
+ {{ i18n.ts.add }}
@@ -70,9 +70,9 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.clip,
- icon: 'fas fa-paperclip',
+ icon: 'ph-paperclip',
action: {
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
handler: create,
},
});
diff --git a/packages/client/src/pages/my-groups/group.vue b/packages/client/src/pages/my-groups/group.vue
index 5e5ba034d..aeb612472 100644
--- a/packages/client/src/pages/my-groups/group.vue
+++ b/packages/client/src/pages/my-groups/group.vue
@@ -13,7 +13,7 @@
@@ -123,25 +123,25 @@ async function deleteGroup() {
definePageMetadata(
computed(() => ({
title: i18n.ts.members,
- icon: "fas fa-users",
+ icon: "ph-users",
})),
);
const headerActions = $computed(() => [
{
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.invite,
handler: invite,
}, {
- icon: 'fas fa-i-cursor',
+ icon: 'ph-cursor-text',
text: i18n.ts.rename,
handler: renameGroup,
}, {
- icon: 'fas fa-right-left',
+ icon: 'ph-arrows-left-right',
text: i18n.ts.transfer,
handler: transfer,
}, {
- icon: 'fas fa-trash-alt',
+ icon: 'ph-trash',
text: i18n.ts.delete,
handler: deleteGroup,
},
diff --git a/packages/client/src/pages/my-groups/index.vue b/packages/client/src/pages/my-groups/index.vue
index 84d1fa5ff..4d054d74f 100644
--- a/packages/client/src/pages/my-groups/index.vue
+++ b/packages/client/src/pages/my-groups/index.vue
@@ -2,7 +2,7 @@
- {{ i18n.ts.createGroup }}
+ {{ i18n.ts.createGroup }}
{{ group.name }}
@@ -51,7 +51,7 @@ const joinedPagination = {
const headerActions = $computed(() => [
{
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.createGroup,
handler: create,
},
@@ -60,7 +60,7 @@ const headerActions = $computed(() => [
definePageMetadata(
computed(() => ({
title: i18n.ts.groups,
- icon: "fas fa-users",
+ icon: "ph-users",
})),
);
diff --git a/packages/client/src/pages/my-lists/index.vue b/packages/client/src/pages/my-lists/index.vue
index 9af7c0d10..e3f3dd76b 100644
--- a/packages/client/src/pages/my-lists/index.vue
+++ b/packages/client/src/pages/my-lists/index.vue
@@ -3,7 +3,7 @@
- {{ i18n.ts.createList }}
+ {{ i18n.ts.createList }}
@@ -47,9 +47,9 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.manageLists,
- icon: 'fas fa-list-ul',
+ icon: 'ph-list-bullets',
action: {
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
handler: create,
},
});
diff --git a/packages/client/src/pages/my-lists/list.vue b/packages/client/src/pages/my-lists/list.vue
index d90453526..438ed2f19 100644
--- a/packages/client/src/pages/my-lists/list.vue
+++ b/packages/client/src/pages/my-lists/list.vue
@@ -25,7 +25,7 @@
-
+
@@ -122,7 +122,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => list ? {
title: list.name,
- icon: 'fas fa-list-ul',
+ icon: 'ph-list-bullets',
} : null));
diff --git a/packages/client/src/pages/not-found.vue b/packages/client/src/pages/not-found.vue
index 31550449a..91fa7f806 100644
--- a/packages/client/src/pages/not-found.vue
+++ b/packages/client/src/pages/not-found.vue
@@ -17,6 +17,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.notFound,
- icon: 'fas fa-exclamation-triangle',
+ icon: 'ph-warning',
});
diff --git a/packages/client/src/pages/note.vue b/packages/client/src/pages/note.vue
index 6509cb306..5bc9cb97d 100644
--- a/packages/client/src/pages/note.vue
+++ b/packages/client/src/pages/note.vue
@@ -10,7 +10,7 @@
-
+
diff --git a/packages/client/src/pages/notifications.vue b/packages/client/src/pages/notifications.vue
index 64e8a86dc..5a26f35b9 100644
--- a/packages/client/src/pages/notifications.vue
+++ b/packages/client/src/pages/notifications.vue
@@ -88,7 +88,7 @@ function setFilter(ev) {
},
}));
const items = includeTypes != null ? [{
- icon: 'fas fa-times',
+ icon: 'ph-x',
text: i18n.ts.clear,
action: () => {
includeTypes = null;
@@ -99,12 +99,12 @@ function setFilter(ev) {
const headerActions = $computed(() => [tab === 'all' ? {
text: i18n.ts.filter,
- icon: 'fas fa-filter',
+ icon: 'ph-funnel',
highlighted: includeTypes != null,
handler: setFilter,
} : undefined, tab === 'all' ? {
text: i18n.ts.markAllAsRead,
- icon: 'fas fa-check',
+ icon: 'ph-check',
handler: () => {
os.apiWithDialog('notifications/mark-all-as-read');
},
@@ -113,24 +113,24 @@ const headerActions = $computed(() => [tab === 'all' ? {
const headerTabs = $computed(() => [{
key: 'all',
title: i18n.ts.all,
- icon: 'fas fa-bell',
+ icon: 'ph-bell',
}, {
key: 'unread',
title: i18n.ts.unread,
- icon: 'fas fa-exclamation',
+ icon: 'ph-circle-wavy-warning',
}, {
key: 'mentions',
title: i18n.ts.mentions,
- icon: 'fas fa-at',
+ icon: 'ph-at',
}, {
key: 'directNotes',
title: i18n.ts.directNotes,
- icon: 'fas fa-envelope',
+ icon: 'ph-envelope-simple-open',
}]);
definePageMetadata(computed(() => ({
title: i18n.ts.notifications,
- icon: 'fas fa-bell',
+ icon: 'ph-bell',
})));
let swiperRef = null;
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.button.vue b/packages/client/src/pages/page-editor/els/page-editor.el.button.vue
index 4c2e0e4eb..55142d6a9 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.button.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.button.vue
@@ -1,7 +1,7 @@
$emit('remove')">
- {{ $ts._pages.blocks.button }}
+ {{ $ts._pages.blocks.button }}
{{ $ts._pages.blocks._button.text }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue b/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue
index 191321ae1..5ec6c20a7 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.canvas.vue
@@ -1,11 +1,11 @@
$emit('remove')">
- {{ $ts._pages.blocks.canvas }}
+ {{ $ts._pages.blocks.canvas }}
-
+
{{ $ts._pages.blocks._canvas.id }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue b/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue
index 1a2078448..faba44fad 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.counter.vue
@@ -1,11 +1,11 @@
$emit('remove')">
- {{ $ts._pages.blocks.counter }}
+ {{ $ts._pages.blocks.counter }}
-
+
{{ $ts._pages.blocks._counter.name }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.if.vue b/packages/client/src/pages/page-editor/els/page-editor.el.if.vue
index d763070b1..a68b206f3 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.if.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.if.vue
@@ -1,10 +1,10 @@
$emit('remove')">
- {{ $ts._pages.blocks.if }}
+ {{ $ts._pages.blocks.if }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.image.vue b/packages/client/src/pages/page-editor/els/page-editor.el.image.vue
index 4d471e7b9..2402a96c8 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.image.vue
+++ b/packages/client/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/client/src/pages/page-editor/els/page-editor.el.note.vue b/packages/client/src/pages/page-editor/els/page-editor.el.note.vue
index 5e494ee23..bfbed6fbb 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.note.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.note.vue
@@ -1,7 +1,7 @@
$emit('remove')">
- {{ $ts._pages.blocks.note }}
+ {{ $ts._pages.blocks.note }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.number-input.vue b/packages/client/src/pages/page-editor/els/page-editor.el.number-input.vue
index 479a859e7..e0dc89fc2 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.number-input.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.number-input.vue
@@ -1,11 +1,11 @@
$emit('remove')">
- {{ $ts._pages.blocks.numberInput }}
+ {{ $ts._pages.blocks.numberInput }}
-
+
{{ $ts._pages.blocks._numberInput.name }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.post.vue b/packages/client/src/pages/page-editor/els/page-editor.el.post.vue
index f8c42c296..81cd524ea 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.post.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.post.vue
@@ -1,7 +1,7 @@
$emit('remove')">
- {{ $ts._pages.blocks.post }}
+ {{ $ts._pages.blocks.post }}
{{ $ts._pages.blocks._post.text }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.radio-button.vue b/packages/client/src/pages/page-editor/els/page-editor.el.radio-button.vue
index 4b28f120a..8711a059e 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.radio-button.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.radio-button.vue
@@ -1,10 +1,10 @@
$emit('remove')">
- {{ $ts._pages.blocks.radioButton }}
+ {{ $ts._pages.blocks.radioButton }}
- {{ $ts._pages.blocks._radioButton.name }}
+ {{ $ts._pages.blocks._radioButton.name }}
{{ $ts._pages.blocks._radioButton.title }}
{{ $ts._pages.blocks._radioButton.values }}
{{ $ts._pages.blocks._radioButton.default }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.section.vue b/packages/client/src/pages/page-editor/els/page-editor.el.section.vue
index 7276cc1e1..8bb8f7d07 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.section.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.section.vue
@@ -1,13 +1,13 @@
$emit('remove')">
- {{ value.title }}
+ {{ value.title }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.switch.vue b/packages/client/src/pages/page-editor/els/page-editor.el.switch.vue
index ded57cf30..b5fce1109 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.switch.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.switch.vue
@@ -1,10 +1,10 @@
$emit('remove')">
- {{ $ts._pages.blocks.switch }}
+ {{ $ts._pages.blocks.switch }}
- {{ $ts._pages.blocks._switch.name }}
+ {{ $ts._pages.blocks._switch.name }}
{{ $ts._pages.blocks._switch.text }}
{{ $ts._pages.blocks._switch.default }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.text-input.vue b/packages/client/src/pages/page-editor/els/page-editor.el.text-input.vue
index 1e269ae58..3cb17a621 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.text-input.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.text-input.vue
@@ -1,10 +1,10 @@
$emit('remove')">
- {{ $ts._pages.blocks.textInput }}
+ {{ $ts._pages.blocks.textInput }}
- {{ $ts._pages.blocks._textInput.name }}
+ {{ $ts._pages.blocks._textInput.name }}
{{ $ts._pages.blocks._textInput.text }}
{{ $ts._pages.blocks._textInput.default }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.text.vue b/packages/client/src/pages/page-editor/els/page-editor.el.text.vue
index e0ebe68dd..53048de0a 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.text.vue
+++ b/packages/client/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/client/src/pages/page-editor/els/page-editor.el.textarea-input.vue b/packages/client/src/pages/page-editor/els/page-editor.el.textarea-input.vue
index 1bb4aaa54..d3c167912 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.textarea-input.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.textarea-input.vue
@@ -1,10 +1,10 @@
$emit('remove')">
- {{ $ts._pages.blocks.textareaInput }}
+ {{ $ts._pages.blocks.textareaInput }}
- {{ $ts._pages.blocks._textareaInput.name }}
+ {{ $ts._pages.blocks._textareaInput.name }}
{{ $ts._pages.blocks._textareaInput.text }}
{{ $ts._pages.blocks._textareaInput.default }}
diff --git a/packages/client/src/pages/page-editor/els/page-editor.el.textarea.vue b/packages/client/src/pages/page-editor/els/page-editor.el.textarea.vue
index dca7de8df..05f4ffa93 100644
--- a/packages/client/src/pages/page-editor/els/page-editor.el.textarea.vue
+++ b/packages/client/src/pages/page-editor/els/page-editor.el.textarea.vue
@@ -1,7 +1,7 @@
$emit('remove')">
- {{ $ts._pages.blocks.textarea }}
+ {{ $ts._pages.blocks.textarea }}
diff --git a/packages/client/src/pages/page-editor/page-editor.container.vue b/packages/client/src/pages/page-editor/page-editor.container.vue
index 6927e5586..6c409fe40 100644
--- a/packages/client/src/pages/page-editor/page-editor.container.vue
+++ b/packages/client/src/pages/page-editor/page-editor.container.vue
@@ -5,14 +5,14 @@
diff --git a/packages/client/src/pages/page-editor/page-editor.script-block.vue b/packages/client/src/pages/page-editor/page-editor.script-block.vue
index ded9368b8..5fc9a05a2 100644
--- a/packages/client/src/pages/page-editor/page-editor.script-block.vue
+++ b/packages/client/src/pages/page-editor/page-editor.script-block.vue
@@ -4,7 +4,7 @@
{{ title }} ({{ typeText }}){{ typeText }}
@@ -116,7 +116,7 @@ export default defineComponent({
computed: {
icon(): any {
if (this.modelValue.type === null) return null;
- if (this.modelValue.type.startsWith('fn:')) return 'fas fa-plug';
+ if (this.modelValue.type.startsWith('fn:')) return 'ph-plug';
return blockDefs.find(x => x.type === this.modelValue.type).icon;
},
typeText(): any {
diff --git a/packages/client/src/pages/page-editor/page-editor.vue b/packages/client/src/pages/page-editor/page-editor.vue
index 591d13053..9eba2be1c 100644
--- a/packages/client/src/pages/page-editor/page-editor.vue
+++ b/packages/client/src/pages/page-editor/page-editor.vue
@@ -3,10 +3,10 @@
- {{ $ts._pages.viewPage }}
- {{ $ts.save }}
- {{ $ts.duplicate }}
- {{ $ts.delete }}
+ {{ $ts._pages.viewPage }}
+ {{ $ts.save }}
+ {{ $ts.duplicate }}
+ {{ $ts.delete }}
@@ -35,10 +35,10 @@
{{ $ts._pages.hideTitleWhenPinned }}
-
{{ $ts._pages.eyeCatchingImageSet }}
+
{{ $ts._pages.eyeCatchingImageSet }}
-
{{ $ts._pages.eyeCatchingImageRemove }}
+
{{ $ts._pages.eyeCatchingImageRemove }}
@@ -48,7 +48,7 @@
-
+
@@ -68,7 +68,7 @@
-
+
@@ -412,19 +412,19 @@ const headerActions = $computed(() => []);
const headerTabs = $computed(() => [{
key: 'settings',
title: i18n.ts._pages.pageSetting,
- icon: 'fas fa-cog',
+ icon: 'ph-gear-six',
}, {
key: 'contents',
title: i18n.ts._pages.contents,
- icon: 'fas fa-sticky-note',
+ icon: 'ph-sticker',
}, {
key: 'variables',
title: i18n.ts._pages.variables,
- icon: 'fas fa-magic',
+ icon: 'ph-magic-wand',
}, {
key: 'script',
title: i18n.ts.script,
- icon: 'fas fa-code',
+ icon: 'ph-code',
}]);
definePageMetadata(computed(() => {
@@ -437,7 +437,7 @@ definePageMetadata(computed(() => {
}
return {
title: title,
- icon: 'fas fa-pencil-alt',
+ icon: 'ph-pencil',
};
}));
diff --git a/packages/client/src/pages/page.vue b/packages/client/src/pages/page.vue
index fb0e6a491..11a1c67a7 100644
--- a/packages/client/src/pages/page.vue
+++ b/packages/client/src/pages/page.vue
@@ -18,12 +18,12 @@
- {{ page.likedCount }}
+ {{ page.likedCount }}
{{ page.likedCount }}
-
-
+
+
@@ -49,7 +49,7 @@
- {{ i18n.ts.recentPosts }}
+ {{ i18n.ts.recentPosts }}
diff --git a/packages/client/src/pages/pages.vue b/packages/client/src/pages/pages.vue
index 8d8c06cb6..0a4c1cc81 100644
--- a/packages/client/src/pages/pages.vue
+++ b/packages/client/src/pages/pages.vue
@@ -19,7 +19,7 @@
-
+
@@ -75,7 +75,7 @@ function create() {
}
const headerActions = $computed(() => [{
- icon: 'fas fa-plus',
+ icon: 'ph-plus',
text: i18n.ts.create,
handler: create,
}]);
@@ -83,20 +83,20 @@ const headerActions = $computed(() => [{
const headerTabs = $computed(() => [{
key: 'featured',
title: i18n.ts._pages.featured,
- icon: 'fas fa-fire-alt',
+ icon: 'ph-fire-simple',
}, {
key: 'my',
title: i18n.ts._pages.my,
- icon: 'fas fa-edit',
+ icon: 'ph-crown-simple',
}, {
key: 'liked',
title: i18n.ts._pages.liked,
- icon: 'fas fa-heart',
+ icon: 'ph-heart',
}]);
definePageMetadata(computed(() => ({
title: i18n.ts.pages,
- icon: 'fas fa-sticky-note',
+ icon: 'ph-sticker',
})));
let swiperRef = null;
diff --git a/packages/client/src/pages/preview.vue b/packages/client/src/pages/preview.vue
index efbe53a52..bc56d3c59 100644
--- a/packages/client/src/pages/preview.vue
+++ b/packages/client/src/pages/preview.vue
@@ -16,7 +16,7 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: i18n.ts.preview,
- icon: 'fas fa-eye',
+ icon: 'ph-eye',
})));
diff --git a/packages/client/src/pages/registry.keys.vue b/packages/client/src/pages/registry.keys.vue
index ac586b4e7..54cdc04d4 100644
--- a/packages/client/src/pages/registry.keys.vue
+++ b/packages/client/src/pages/registry.keys.vue
@@ -88,7 +88,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.registry,
- icon: 'fas fa-cogs',
+ icon: 'ph-gear-six',
});
diff --git a/packages/client/src/pages/registry.value.vue b/packages/client/src/pages/registry.value.vue
index b6f3d73bb..c448039fc 100644
--- a/packages/client/src/pages/registry.value.vue
+++ b/packages/client/src/pages/registry.value.vue
@@ -24,14 +24,14 @@
{{ i18n.ts.value }} (JSON)
-
{{ i18n.ts.save }}
+
{{ i18n.ts.save }}
{{ i18n.ts.updatedAt }}
-
{{ i18n.ts.delete }}
+
{{ i18n.ts.delete }}
@@ -115,7 +115,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.registry,
- icon: 'fas fa-cogs',
+ icon: 'ph-gear-six',
});
diff --git a/packages/client/src/pages/registry.vue b/packages/client/src/pages/registry.vue
index 80a44d558..c08aaf7e1 100644
--- a/packages/client/src/pages/registry.vue
+++ b/packages/client/src/pages/registry.vue
@@ -66,7 +66,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.registry,
- icon: 'fas fa-cogs',
+ icon: 'ph-gear-six',
});
diff --git a/packages/client/src/pages/reset-password.vue b/packages/client/src/pages/reset-password.vue
index 38f2cf289..b4e0b2ab0 100644
--- a/packages/client/src/pages/reset-password.vue
+++ b/packages/client/src/pages/reset-password.vue
@@ -4,7 +4,7 @@
@@ -82,6 +82,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.navbar,
- icon: 'fas fa-list-ul',
+ icon: 'ph-list-bullets',
});
diff --git a/packages/client/src/pages/settings/notifications.vue b/packages/client/src/pages/settings/notifications.vue
index 5703e0c6b..304cac748 100644
--- a/packages/client/src/pages/settings/notifications.vue
+++ b/packages/client/src/pages/settings/notifications.vue
@@ -1,6 +1,6 @@
- {{ i18n.ts.notificationSetting }}
+ {{ i18n.ts.notificationSetting }}
{{ i18n.ts.markAsReadAllNotifications }}
{{ i18n.ts.markAsReadAllUnreadNotes }}
@@ -55,6 +55,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.notifications,
- icon: 'fas fa-bell',
+ icon: 'ph-bell',
});
diff --git a/packages/client/src/pages/settings/other.vue b/packages/client/src/pages/settings/other.vue
index 51dab04cf..4fab970d1 100644
--- a/packages/client/src/pages/settings/other.vue
+++ b/packages/client/src/pages/settings/other.vue
@@ -10,9 +10,9 @@
{{ i18n.ts.accountInfo }}
- {{ i18n.ts.registry }}
+ {{ i18n.ts.registry }}
- {{ i18n.ts.closeAccount }}
+ {{ i18n.ts.closeAccount }}
@@ -42,6 +42,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.other,
- icon: 'fas fa-ellipsis-h',
+ icon: 'ph-three-dots-outline',
});
diff --git a/packages/client/src/pages/settings/plugin.install.vue b/packages/client/src/pages/settings/plugin.install.vue
index e259bbeb3..b101d24ed 100644
--- a/packages/client/src/pages/settings/plugin.install.vue
+++ b/packages/client/src/pages/settings/plugin.install.vue
@@ -7,7 +7,7 @@
- {{ i18n.ts.install }}
+ {{ i18n.ts.install }}
@@ -119,6 +119,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts._plugin.install,
- icon: 'fas fa-download',
+ icon: 'ph-download-simple',
});
diff --git a/packages/client/src/pages/settings/plugin.vue b/packages/client/src/pages/settings/plugin.vue
index 8ce6fe444..c223dd7ec 100644
--- a/packages/client/src/pages/settings/plugin.vue
+++ b/packages/client/src/pages/settings/plugin.vue
@@ -1,6 +1,6 @@
@@ -89,7 +89,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.plugins,
- icon: 'fas fa-plug',
+ icon: 'ph-plug',
});
diff --git a/packages/client/src/pages/settings/preferences-backups.vue b/packages/client/src/pages/settings/preferences-backups.vue
index c8dc7599e..250480b10 100644
--- a/packages/client/src/pages/settings/preferences-backups.vue
+++ b/packages/client/src/pages/settings/preferences-backups.vue
@@ -380,25 +380,25 @@ function menu(ev: MouseEvent, profileId: string) {
return os.popupMenu([{
text: ts._preferencesBackups.apply,
- icon: 'fas fa-circle-down',
+ icon: 'ph-caret-circle-down',
action: () => applyProfile(profileId),
}, {
type: 'a',
text: ts.download,
- icon: 'fas fa-download',
+ icon: 'ph-download-simple',
href: URL.createObjectURL(new Blob([JSON.stringify(profiles[profileId], null, 2)], { type: 'application/json' })),
download: `${profiles[profileId].name}.json`,
}, null, {
text: ts.rename,
- icon: 'fas fa-i-cursor',
+ icon: 'ph-cursor-text',
action: () => rename(profileId),
}, {
text: ts._preferencesBackups.save,
- icon: 'fas fa-floppy-disk',
+ icon: 'ph-floppy-disk',
action: () => save(profileId),
}, null, {
text: ts._preferencesBackups.delete,
- icon: 'fas fa-trash-can',
+ icon: 'ph-trash',
action: () => deleteProfile(profileId),
danger: true,
}], ev.currentTarget ?? ev.target);
@@ -420,7 +420,7 @@ onUnmounted(() => {
definePageMetadata(computed(() => ({
title: ts.preferencesBackups,
- icon: 'fas fa-floppy-disk',
+ icon: 'ph-floppy-disk',
bg: 'var(--bg)',
})));
diff --git a/packages/client/src/pages/settings/privacy.vue b/packages/client/src/pages/settings/privacy.vue
index fd73d86bf..5b2f71034 100644
--- a/packages/client/src/pages/settings/privacy.vue
+++ b/packages/client/src/pages/settings/privacy.vue
@@ -95,6 +95,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.privacy,
- icon: 'fas fa-lock-open',
+ icon: 'ph-lock-open',
});
diff --git a/packages/client/src/pages/settings/profile.vue b/packages/client/src/pages/settings/profile.vue
index db3c0fd72..07a21c61f 100644
--- a/packages/client/src/pages/settings/profile.vue
+++ b/packages/client/src/pages/settings/profile.vue
@@ -19,12 +19,12 @@
{{ i18n.ts.location }}
-
+
{{ i18n.ts.birthday }}
-
+
@@ -34,7 +34,7 @@
-
+
{{ i18n.ts._profile.metadataEdit }}
@@ -46,8 +46,8 @@
{{ i18n.ts._profile.metadataContent }} #{{ i + 1 }}
- {{ i18n.ts.add }}
- {{ i18n.ts.save }}
+ {{ i18n.ts.add }}
+ {{ i18n.ts.save }}
{{ i18n.ts._profile.metadataDescription }}
@@ -178,7 +178,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.profile,
- icon: 'fas fa-user',
+ icon: 'ph-user',
});
diff --git a/packages/client/src/pages/settings/reaction.vue b/packages/client/src/pages/settings/reaction.vue
index c23c1c237..61f695316 100644
--- a/packages/client/src/pages/settings/reaction.vue
+++ b/packages/client/src/pages/settings/reaction.vue
@@ -10,7 +10,7 @@
-
+
@@ -46,8 +46,8 @@
- {{ i18n.ts.preview }}
- {{ i18n.ts.default }}
+ {{ i18n.ts.preview }}
+ {{ i18n.ts.default }}
@@ -126,9 +126,9 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.reaction,
- icon: 'fas fa-laugh',
+ icon: 'ph-smiley-wink',
action: {
- icon: 'fas fa-eye',
+ icon: 'ph-eye',
handler: preview,
},
});
diff --git a/packages/client/src/pages/settings/security.vue b/packages/client/src/pages/settings/security.vue
index d109a4ba7..dd4a66593 100644
--- a/packages/client/src/pages/settings/security.vue
+++ b/packages/client/src/pages/settings/security.vue
@@ -17,8 +17,8 @@
@@ -30,7 +30,7 @@
- {{ i18n.ts.regenerateLoginToken }}
+ {{ i18n.ts.regenerateLoginToken }}
{{ i18n.ts.regenerateLoginTokenDescription }}
@@ -103,7 +103,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.security,
- icon: 'fas fa-lock',
+ icon: 'ph-lock',
});
diff --git a/packages/client/src/pages/settings/sounds.vue b/packages/client/src/pages/settings/sounds.vue
index 272960952..49ed51ce4 100644
--- a/packages/client/src/pages/settings/sounds.vue
+++ b/packages/client/src/pages/settings/sounds.vue
@@ -9,11 +9,11 @@
{{ $t('_sfx.' + type) }}
{{ sounds[type].type || i18n.ts.none }}
-
+
- {{ i18n.ts.default }}
+ {{ i18n.ts.default }}
@@ -38,7 +38,7 @@ const masterVolume = computed({
},
});
-const volumeIcon = computed(() => masterVolume.value === 0 ? 'fas fa-volume-mute' : 'fas fa-volume-up');
+const volumeIcon = computed(() => masterVolume.value === 0 ? 'ph-speaker-none' : 'ph-speaker-high');
const sounds = ref({
note: ColdDeviceStorage.get('sound_note'),
@@ -130,6 +130,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.sounds,
- icon: 'fas fa-music',
+ icon: 'ph-speaker-high',
});
diff --git a/packages/client/src/pages/settings/statusbar.vue b/packages/client/src/pages/settings/statusbar.vue
index 9dbf18214..b4ca2e39c 100644
--- a/packages/client/src/pages/settings/statusbar.vue
+++ b/packages/client/src/pages/settings/statusbar.vue
@@ -48,7 +48,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.statusbar,
- icon: 'fas fa-list-ul',
+ icon: 'ph-list-bullets',
bg: 'var(--bg)',
});
diff --git a/packages/client/src/pages/settings/theme.install.vue b/packages/client/src/pages/settings/theme.install.vue
index 34f8384d8..4ce6ed7ef 100644
--- a/packages/client/src/pages/settings/theme.install.vue
+++ b/packages/client/src/pages/settings/theme.install.vue
@@ -5,8 +5,8 @@
- preview(installThemeCode)"> {{ i18n.ts.preview }}
- install(installThemeCode)"> {{ i18n.ts.install }}
+ preview(installThemeCode)"> {{ i18n.ts.preview }}
+ install(installThemeCode)"> {{ i18n.ts.install }}
@@ -75,6 +75,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts._theme.install,
- icon: 'fas fa-download',
+ icon: 'ph-download-simple',
});
diff --git a/packages/client/src/pages/settings/theme.manage.vue b/packages/client/src/pages/settings/theme.manage.vue
index 792bb15e5..2dbbc84a3 100644
--- a/packages/client/src/pages/settings/theme.manage.vue
+++ b/packages/client/src/pages/settings/theme.manage.vue
@@ -20,7 +20,7 @@
{{ i18n.ts._theme.code }}
- {{ i18n.ts.uninstall }}
+ {{ i18n.ts.uninstall }}
@@ -73,6 +73,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts._theme.manage,
- icon: 'fas fa-folder-open',
+ icon: 'ph-folder-notch-open',
});
diff --git a/packages/client/src/pages/settings/theme.vue b/packages/client/src/pages/settings/theme.vue
index 6571a881a..b96ee2c37 100644
--- a/packages/client/src/pages/settings/theme.vue
+++ b/packages/client/src/pages/settings/theme.vue
@@ -29,7 +29,7 @@
@@ -89,6 +89,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: 'Edit webhook',
- icon: 'fas fa-bolt',
+ icon: 'ph-lightning',
});
diff --git a/packages/client/src/pages/settings/webhook.new.vue b/packages/client/src/pages/settings/webhook.new.vue
index fcf1329ff..5f2e2872c 100644
--- a/packages/client/src/pages/settings/webhook.new.vue
+++ b/packages/client/src/pages/settings/webhook.new.vue
@@ -9,7 +9,7 @@
-
+
Secret
@@ -26,7 +26,7 @@
- {{ i18n.ts.create }}
+ {{ i18n.ts.create }}
@@ -77,6 +77,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: 'Create new webhook',
- icon: 'fas fa-bolt',
+ icon: 'ph-lightning',
});
diff --git a/packages/client/src/pages/settings/webhook.vue b/packages/client/src/pages/settings/webhook.vue
index 1a7e73940..97e4ac945 100644
--- a/packages/client/src/pages/settings/webhook.vue
+++ b/packages/client/src/pages/settings/webhook.vue
@@ -11,10 +11,10 @@
-
+
-
-
+
+
{{ webhook.name || webhook.url }}
@@ -48,6 +48,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: 'Webhook',
- icon: 'fas fa-bolt',
+ icon: 'ph-lightning',
});
diff --git a/packages/client/src/pages/settings/word-mute.vue b/packages/client/src/pages/settings/word-mute.vue
index e29737956..7f281766b 100644
--- a/packages/client/src/pages/settings/word-mute.vue
+++ b/packages/client/src/pages/settings/word-mute.vue
@@ -24,7 +24,7 @@
- {{ i18n.ts.save }}
+ {{ i18n.ts.save }}
@@ -123,6 +123,6 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.wordMute,
- icon: 'fas fa-comment-slash',
+ icon: 'ph-speaker-x',
});
diff --git a/packages/client/src/pages/share.vue b/packages/client/src/pages/share.vue
index 69d22ed63..36af4b277 100644
--- a/packages/client/src/pages/share.vue
+++ b/packages/client/src/pages/share.vue
@@ -158,7 +158,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.share,
- icon: 'fas fa-share-alt',
+ icon: 'ph-share-network',
});
diff --git a/packages/client/src/pages/signup-complete.vue b/packages/client/src/pages/signup-complete.vue
index a97990c12..5db030459 100644
--- a/packages/client/src/pages/signup-complete.vue
+++ b/packages/client/src/pages/signup-complete.vue
@@ -32,7 +32,7 @@ const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.signup,
- icon: 'fas fa-user',
+ icon: 'ph-user',
});
diff --git a/packages/client/src/pages/tag.vue b/packages/client/src/pages/tag.vue
index 5498c2999..a079e4aa5 100644
--- a/packages/client/src/pages/tag.vue
+++ b/packages/client/src/pages/tag.vue
@@ -30,6 +30,6 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => ({
title: props.tag,
- icon: 'fas fa-hashtag',
+ icon: 'ph-hash',
})));
diff --git a/packages/client/src/pages/theme-editor.vue b/packages/client/src/pages/theme-editor.vue
index 7dfeee16e..557898b18 100644
--- a/packages/client/src/pages/theme-editor.vue
+++ b/packages/client/src/pages/theme-editor.vue
@@ -42,7 +42,7 @@
-
+
{{ i18n.ts.editCode }}