-
+
diff --git a/packages/client/src/scripts/get-note-menu.ts b/packages/client/src/scripts/get-note-menu.ts
index eb8006c1c..0c8d517e5 100644
--- a/packages/client/src/scripts/get-note-menu.ts
+++ b/packages/client/src/scripts/get-note-menu.ts
@@ -122,7 +122,7 @@ export function getNoteMenu(props: {
os.popupMenu(
[
{
- icon: "ph-plus-bold ph-lg",
+ icon: "ph-plus ph-bold ph-lg",
text: i18n.ts.createNew,
action: async () => {
const { canceled, result } = await os.form(i18n.ts.createNewClip, {
@@ -257,7 +257,7 @@ export function getNoteMenu(props: {
...(props.currentClipPage?.value.userId === $i.id
? [
{
- icon: "ph-minus-circle-bold ph-lg",
+ icon: "ph-minus-circle ph-bold ph-lg",
text: i18n.ts.unclip,
danger: true,
action: unclip,
@@ -266,23 +266,23 @@ export function getNoteMenu(props: {
]
: []),
{
- icon: "ph-smiley-bold ph-lg",
+ icon: "ph-smiley ph-bold ph-lg",
text: i18n.ts.reaction,
action: showReactions,
},
{
- icon: "ph-clipboard-text-bold ph-lg",
+ icon: "ph-clipboard-text ph-bold ph-lg",
text: i18n.ts.copyContent,
action: copyContent,
},
{
- icon: "ph-link-simple-bold ph-lg",
+ icon: "ph-link-simple ph-bold ph-lg",
text: i18n.ts.copyLink,
action: copyLink,
},
appearNote.url || appearNote.uri
? {
- icon: "ph-arrow-square-out-bold ph-lg",
+ icon: "ph-arrow-square-out ph-bold ph-lg",
text: i18n.ts.showOnRemote,
action: () => {
window.open(appearNote.url || appearNote.uri, "_blank");
@@ -291,14 +291,14 @@ export function getNoteMenu(props: {
: undefined,
shareAvailable()
? {
- icon: "ph-share-network-bold ph-lg",
+ icon: "ph-share-network ph-bold ph-lg",
text: i18n.ts.share,
action: share,
}
: undefined,
instance.translatorAvailable
? {
- icon: "ph-translate-bold ph-lg",
+ icon: "ph-translate ph-bold ph-lg",
text: i18n.ts.translate,
action: translate,
}
@@ -307,18 +307,18 @@ export function getNoteMenu(props: {
statePromise.then((state) =>
state?.isFavorited
? {
- icon: "ph-bookmark-simple-bold ph-lg",
+ icon: "ph-bookmark-simple ph-bold ph-lg",
text: i18n.ts.unfavorite,
action: () => toggleFavorite(false),
}
: {
- icon: "ph-bookmark-simple-bold ph-lg",
+ icon: "ph-bookmark-simple ph-bold ph-lg",
text: i18n.ts.favorite,
action: () => toggleFavorite(true),
},
),
{
- icon: "ph-paperclip-bold ph-lg",
+ icon: "ph-paperclip ph-bold ph-lg",
text: i18n.ts.clip,
action: () => clip(),
},
@@ -326,12 +326,12 @@ export function getNoteMenu(props: {
? statePromise.then((state) =>
state.isWatching
? {
- icon: "ph-eye-slash-bold ph-lg",
+ icon: "ph-eye-slash ph-bold ph-lg",
text: i18n.ts.unwatch,
action: () => toggleWatch(false),
}
: {
- icon: "ph-eye-bold ph-lg",
+ icon: "ph-eye ph-bold ph-lg",
text: i18n.ts.watch,
action: () => toggleWatch(true),
},
@@ -340,12 +340,12 @@ export function getNoteMenu(props: {
statePromise.then((state) =>
state.isMutedThread
? {
- icon: "ph-speaker-x-bold ph-lg",
+ icon: "ph-speaker-x ph-bold ph-lg",
text: i18n.ts.unmuteThread,
action: () => toggleThreadMute(false),
}
: {
- icon: "ph-speaker-x-bold ph-lg",
+ icon: "ph-speaker-x ph-bold ph-lg",
text: i18n.ts.muteThread,
action: () => toggleThreadMute(true),
},
@@ -353,12 +353,12 @@ export function getNoteMenu(props: {
appearNote.userId === $i.id
? ($i.pinnedNoteIds || []).includes(appearNote.id)
? {
- icon: "ph-push-pin-bold ph-lg",
+ icon: "ph-push-pin ph-bold ph-lg",
text: i18n.ts.unpin,
action: () => togglePin(false),
}
: {
- icon: "ph-push-pin-bold ph-lg",
+ icon: "ph-push-pin ph-bold ph-lg",
text: i18n.ts.pin,
action: () => togglePin(true),
}
@@ -367,7 +367,7 @@ export function getNoteMenu(props: {
...($i.isModerator || $i.isAdmin ? [
null,
{
- icon: 'ph-megaphone-simple-bold ph-lg',
+ icon: 'ph-megaphone-simple ph-bold ph-lg',
text: i18n.ts.promote,
action: promote
}]
@@ -377,7 +377,7 @@ export function getNoteMenu(props: {
? [
null,
{
- icon: "ph-warning-circle-bold ph-lg",
+ icon: "ph-warning-circle ph-bold ph-lg",
text: i18n.ts.reportAbuse,
action: () => {
const u =
@@ -404,13 +404,13 @@ export function getNoteMenu(props: {
null,
appearNote.userId === $i.id
? {
- icon: "ph-eraser-bold ph-lg",
+ icon: "ph-eraser ph-bold ph-lg",
text: i18n.ts.deleteAndEdit,
action: delEdit,
}
: undefined,
{
- icon: "ph-trash-bold ph-lg",
+ icon: "ph-trash ph-bold ph-lg",
text: i18n.ts.delete,
danger: true,
action: del,
@@ -421,18 +421,18 @@ export function getNoteMenu(props: {
} else {
menu = [
{
- icon: "ph-clipboard-text-bold ph-lg",
+ icon: "ph-clipboard-text ph-bold ph-lg",
text: i18n.ts.copyContent,
action: copyContent,
},
{
- icon: "ph-link-simple-bold ph-lg",
+ icon: "ph-link-simple ph-bold ph-lg",
text: i18n.ts.copyLink,
action: copyLink,
},
appearNote.url || appearNote.uri
? {
- icon: "ph-arrow-square-out-bold ph-lg",
+ icon: "ph-arrow-square-out ph-bold ph-lg",
text: i18n.ts.showOnRemote,
action: () => {
window.open(appearNote.url || appearNote.uri, "_blank");
@@ -446,7 +446,7 @@ export function getNoteMenu(props: {
menu = menu.concat([
null,
...noteActions.map((action) => ({
- icon: "ph-plug-bold ph-lg",
+ icon: "ph-plug ph-bold ph-lg",
text: action.title,
action: () => {
action.handler(appearNote);
diff --git a/packages/client/src/scripts/get-user-menu.ts b/packages/client/src/scripts/get-user-menu.ts
index 3ce1a8173..eae47d74f 100644
--- a/packages/client/src/scripts/get-user-menu.ts
+++ b/packages/client/src/scripts/get-user-menu.ts
@@ -215,21 +215,21 @@ export function getUserMenu(user, router: Router = mainRouter) {
let menu = [
{
- icon: "ph-at-bold ph-lg",
+ icon: "ph-at ph-bold ph-lg",
text: i18n.ts.copyUsername,
action: () => {
copyToClipboard(`@${user.username}@${user.host || host}`);
},
},
{
- icon: "ph-info-bold ph-lg",
+ icon: "ph-info ph-bold ph-lg",
text: i18n.ts.info,
action: () => {
router.push(`/user-info/${user.id}`);
},
},
{
- icon: "ph-envelope-simple-open-bold ph-lg",
+ icon: "ph-envelope-simple-open ph-bold ph-lg",
text: i18n.ts.sendMessage,
action: () => {
os.post({ specified: user });
@@ -238,20 +238,20 @@ export function getUserMenu(user, router: Router = mainRouter) {
meId !== user.id
? {
type: "link",
- icon: "ph-chats-teardrop-bold ph-lg",
+ icon: "ph-chats-teardrop ph-bold ph-lg",
text: i18n.ts.startMessaging,
to: `/my/messaging/${Acct.toString(user)}`,
}
: undefined,
null,
{
- icon: "ph-list-bullets-bold ph-lg",
+ icon: "ph-list-bullets ph-bold ph-lg",
text: i18n.ts.addToList,
action: pushList,
},
meId !== user.id
? {
- icon: "ph-users-three-bold ph-lg",
+ icon: "ph-users-three ph-bold ph-lg",
text: i18n.ts.inviteToGroup,
action: inviteGroup,
}
@@ -262,13 +262,13 @@ export function getUserMenu(user, router: Router = mainRouter) {
menu = menu.concat([
null,
{
- icon: user.isMuted ? "ph-eye-bold ph-lg" : "ph-eye-slash-bold ph-lg",
+ icon: user.isMuted ? "ph-eye-bold ph-lg" : "ph-eye-slash ph-bold ph-lg",
text: user.isMuted ? i18n.ts.unmute : i18n.ts.mute,
hidden: user.isBlocking === true,
action: toggleMute,
},
{
- icon: "ph-prohibit-bold ph-lg",
+ icon: "ph-prohibit ph-bold ph-lg",
text: user.isBlocking ? i18n.ts.unblock : i18n.ts.block,
action: toggleBlock,
},
@@ -277,7 +277,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
if (user.isFollowed) {
menu = menu.concat([
{
- icon: "ph-link-break-bold ph-lg",
+ icon: "ph-link-break ph-bold ph-lg",
text: i18n.ts.breakFollow,
action: invalidateFollow,
},
@@ -287,7 +287,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
menu = menu.concat([
null,
{
- icon: "ph-warning-circle-bold ph-lg",
+ icon: "ph-warning-circle ph-bold ph-lg",
text: i18n.ts.reportAbuse,
action: reportAbuse,
},
@@ -297,12 +297,12 @@ export function getUserMenu(user, router: Router = mainRouter) {
menu = menu.concat([
null,
{
- icon: "ph-microphone-slash-bold ph-lg",
+ icon: "ph-microphone-slash ph-bold ph-lg",
text: user.isSilenced ? i18n.ts.unsilence : i18n.ts.silence,
action: toggleSilence,
},
{
- icon: "ph-snowflake-bold ph-lg",
+ icon: "ph-snowflake ph-bold ph-lg",
text: user.isSuspended ? i18n.ts.unsuspend : i18n.ts.suspend,
action: toggleSuspend,
},
@@ -314,7 +314,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
menu = menu.concat([
null,
{
- icon: "ph-pencil-bold ph-lg",
+ icon: "ph-pencil ph-bold ph-lg",
text: i18n.ts.editProfile,
action: () => {
router.push("/settings/profile");
@@ -327,7 +327,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
menu = menu.concat([
null,
...userActions.map((action) => ({
- icon: "ph-plug-bold ph-lg",
+ icon: "ph-plug ph-bold ph-lg",
text: action.title,
action: () => {
action.handler(user);
diff --git a/packages/client/src/scripts/hpml/index.ts b/packages/client/src/scripts/hpml/index.ts
index b585531f2..914d714a5 100644
--- a/packages/client/src/scripts/hpml/index.ts
+++ b/packages/client/src/scripts/hpml/index.ts
@@ -17,29 +17,29 @@ export const literalDefs: Record<
string,
{ out: any; category: string; icon: any }
> = {
- text: { out: "string", category: "value", icon: "ph-quotes-bold ph-lg" },
+ text: { out: "string", category: "value", icon: "ph-quotes ph-bold ph-lg" },
multiLineText: {
out: "string",
category: "value",
- icon: "ph-align-left-bold ph-lg",
+ icon: "ph-align-left ph-bold ph-lg",
},
textList: {
out: "stringArray",
category: "value",
- icon: "ph-list-bold ph-lg",
+ icon: "ph-list ph-bold ph-lg",
},
number: {
out: "number",
category: "value",
- icon: "ph-sort-descending-up-bold ph-lg",
+ icon: "ph-sort-descending-up ph-bold ph-lg",
},
- ref: { out: null, category: "value", icon: "ph-magic-wand-bold ph-lg" },
+ ref: { out: null, category: "value", icon: "ph-magic-wand ph-bold ph-lg" },
aiScriptVar: {
out: null,
category: "value",
- icon: "ph-magic-wand-bold ph-lg",
+ icon: "ph-magic-wand ph-bold ph-lg",
},
- fn: { out: "function", category: "value", icon: "ph-radical-bold ph-lg" },
+ fn: { out: "function", category: "value", icon: "ph-radical ph-bold ph-lg" },
};
export const blockDefs = [
diff --git a/packages/client/src/scripts/hpml/lib.ts b/packages/client/src/scripts/hpml/lib.ts
index fb2578ff5..d0f774e36 100644
--- a/packages/client/src/scripts/hpml/lib.ts
+++ b/packages/client/src/scripts/hpml/lib.ts
@@ -240,223 +240,223 @@ export const funcDefs: Record<
in: ["boolean", 0, 0],
out: 0,
category: "flow",
- icon: "ph-share-network-bold ph-lg",
+ icon: "ph-share-network ph-bold ph-lg",
},
for: {
in: ["number", "function"],
out: null,
category: "flow",
- icon: "ph-recycle-bold ph-lg",
+ icon: "ph-recycle ph-bold ph-lg",
},
not: {
in: ["boolean"],
out: "boolean",
category: "logical",
- icon: "ph-flag-bold ph-lg",
+ icon: "ph-flag ph-bold ph-lg",
},
or: {
in: ["boolean", "boolean"],
out: "boolean",
category: "logical",
- icon: "ph-flag-bold ph-lg",
+ icon: "ph-flag ph-bold ph-lg",
},
and: {
in: ["boolean", "boolean"],
out: "boolean",
category: "logical",
- icon: "ph-flag-bold ph-lg",
+ icon: "ph-flag ph-bold ph-lg",
},
add: {
in: ["number", "number"],
out: "number",
category: "operation",
- icon: "ph-plus-bold ph-lg",
+ icon: "ph-plus ph-bold ph-lg",
},
subtract: {
in: ["number", "number"],
out: "number",
category: "operation",
- icon: "ph-minus-bold ph-lg",
+ icon: "ph-minus ph-bold ph-lg",
},
multiply: {
in: ["number", "number"],
out: "number",
category: "operation",
- icon: "ph-x-bold ph-lg",
+ icon: "ph-x ph-bold ph-lg",
},
divide: {
in: ["number", "number"],
out: "number",
category: "operation",
- icon: "ph-divide-bold ph-lg",
+ icon: "ph-divide ph-bold ph-lg",
},
mod: {
in: ["number", "number"],
out: "number",
category: "operation",
- icon: "ph-divide-bold ph-lg",
+ icon: "ph-divide ph-bold ph-lg",
},
round: {
in: ["number"],
out: "number",
category: "operation",
- icon: "ph-calculator-bold ph-lg",
+ icon: "ph-calculator ph-bold ph-lg",
},
eq: {
in: [0, 0],
out: "boolean",
category: "comparison",
- icon: "ph-equals-bold ph-lg",
+ icon: "ph-equals ph-bold ph-lg",
},
notEq: {
in: [0, 0],
out: "boolean",
category: "comparison",
- icon: "ph-prohibit-insert-bold ph-lg",
+ icon: "ph-prohibit-insert ph-bold ph-lg",
},
gt: {
in: ["number", "number"],
out: "boolean",
category: "comparison",
- icon: "ph-caret-right-bold ph-lg",
+ icon: "ph-caret-right ph-bold ph-lg",
},
lt: {
in: ["number", "number"],
out: "boolean",
category: "comparison",
- icon: "ph-caret-left-bold ph-lg",
+ icon: "ph-caret-left ph-bold ph-lg",
},
gtEq: {
in: ["number", "number"],
out: "boolean",
category: "comparison",
- icon: "ph-caret-double-right-bold ph-lg",
+ icon: "ph-caret-double-right ph-bold ph-lg",
},
ltEq: {
in: ["number", "number"],
out: "boolean",
category: "comparison",
- icon: "ph-caret-double-right-bold ph-lg",
+ icon: "ph-caret-double-right ph-bold ph-lg",
},
strLen: {
in: ["string"],
out: "number",
category: "text",
- icon: "ph-quotes-bold ph-lg",
+ icon: "ph-quotes ph-bold ph-lg",
},
strPick: {
in: ["string", "number"],
out: "string",
category: "text",
- icon: "ph-quotes-bold ph-lg",
+ icon: "ph-quotes ph-bold ph-lg",
},
strReplace: {
in: ["string", "string", "string"],
out: "string",
category: "text",
- icon: "ph-quotes-bold ph-lg",
+ icon: "ph-quotes ph-bold ph-lg",
},
strReverse: {
in: ["string"],
out: "string",
category: "text",
- icon: "ph-quotes-bold ph-lg",
+ icon: "ph-quotes ph-bold ph-lg",
},
join: {
in: ["stringArray", "string"],
out: "string",
category: "text",
- icon: "ph-quotes-bold ph-lg",
+ icon: "ph-quotes ph-bold ph-lg",
},
stringToNumber: {
in: ["string"],
out: "number",
category: "convert",
- icon: "ph-swap-bold ph-lg",
+ icon: "ph-swap ph-bold ph-lg",
},
numberToString: {
in: ["number"],
out: "string",
category: "convert",
- icon: "ph-swap-bold ph-lg",
+ icon: "ph-swap ph-bold ph-lg",
},
splitStrByLine: {
in: ["string"],
out: "stringArray",
category: "convert",
- icon: "ph-swap-bold ph-lg",
+ icon: "ph-swap ph-bold ph-lg",
},
pick: {
in: [null, "number"],
out: null,
category: "list",
- icon: "ph-text-indent-bold ph-lg",
+ icon: "ph-text-indent ph-bold ph-lg",
},
listLen: {
in: [null],
out: "number",
category: "list",
- icon: "ph-text-indent-bold ph-lg",
+ icon: "ph-text-indent ph-bold ph-lg",
},
rannum: {
in: ["number", "number"],
out: "number",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
dailyRannum: {
in: ["number", "number"],
out: "number",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
seedRannum: {
in: [null, "number", "number"],
out: "number",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
random: {
in: ["number"],
out: "boolean",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
dailyRandom: {
in: ["number"],
out: "boolean",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
seedRandom: {
in: [null, "number"],
out: "boolean",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
randomPick: {
in: [0],
out: 0,
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
dailyRandomPick: {
in: [0],
out: 0,
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
seedRandomPick: {
in: [null, 0],
out: 0,
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
},
DRPWPM: {
in: ["stringArray"],
out: "string",
category: "random",
- icon: "ph-dice-five-bold ph-lg",
+ icon: "ph-dice-five ph-bold ph-lg",
}, // dailyRandomPickWithProbabilityMapping
};
diff --git a/packages/client/src/scripts/search.ts b/packages/client/src/scripts/search.ts
index 92955f488..36646d24f 100644
--- a/packages/client/src/scripts/search.ts
+++ b/packages/client/src/scripts/search.ts
@@ -35,7 +35,7 @@ export async function search() {
// TODO
//v.$root.$emit('warp', date);
os.alert({
- icon: "ph-clock-counter-clockwise-bold ph-lg",
+ icon: "ph-clock-counter-clockwise ph-bold ph-lg",
iconOnly: true,
autoClose: true,
});
diff --git a/packages/client/src/scripts/select-file.ts b/packages/client/src/scripts/select-file.ts
index 57448e92a..d249b2d55 100644
--- a/packages/client/src/scripts/select-file.ts
+++ b/packages/client/src/scripts/select-file.ts
@@ -99,17 +99,17 @@ function select(
},
{
text: i18n.ts.upload,
- icon: "ph-upload-simple-bold ph-lg",
+ icon: "ph-upload-simple ph-bold ph-lg",
action: chooseFileFromPc,
},
{
text: i18n.ts.fromDrive,
- icon: "ph-cloud-bold ph-lg",
+ icon: "ph-cloud ph-bold ph-lg",
action: chooseFileFromDrive,
},
{
text: i18n.ts.fromUrl,
- icon: "ph-link-simple-bold ph-lg",
+ icon: "ph-link-simple ph-bold ph-lg",
action: chooseFileFromUrl,
},
],
diff --git a/packages/client/src/ui/_common_/navbar-for-mobile.vue b/packages/client/src/ui/_common_/navbar-for-mobile.vue
index 4cb9ed4d0..a17381155 100644
--- a/packages/client/src/ui/_common_/navbar-for-mobile.vue
+++ b/packages/client/src/ui/_common_/navbar-for-mobile.vue
@@ -9,7 +9,7 @@