upd: replace pencil icon, widget icon

This commit is contained in:
blueb 2024-02-05 06:39:15 -05:00
parent e3525b82f9
commit 9b0d078fba
49 changed files with 65 additions and 65 deletions

View file

@ -310,7 +310,7 @@ function lookup(ev: MouseEvent) {
},
}, {
text: i18n.ts.note,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
action: () => {
alert('TODO');
},

View file

@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</div>
<div class="item _panel notes">
<div class="icon"><i class="ph-pencil ph-bold ph-lg"></i></div>
<div class="icon"><i class="ph-pencil-simple ph-bold ph-lg"></i></div>
<div class="body">
<div class="value">
<MkNumber :value="stats.originalNotesCount" style="margin-right: 0.5em;"/>

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSpacer :contentMax="700">
<div class="_gaps">
<div class="_buttons">
<MkButton primary rounded @click="edit"><i class="ph-pencil ph-bold ph-lg"></i> {{ i18n.ts.edit }}</MkButton>
<MkButton primary rounded @click="edit"><i class="ph-pencil-simple ph-bold ph-lg"></i> {{ i18n.ts.edit }}</MkButton>
<MkButton danger rounded @click="del"><i class="ph-trash ph-bold ph-lg"></i> {{ i18n.ts.delete }}</MkButton>
</div>
<MkFolder>

View file

@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner">
<div :class="$style.bannerStatus">
<div><i class="ph-users ph-bold ph-lg"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
<div><i class="ph-pencil ph-bold ph-lg"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
<div><i class="ph-pencil-simple ph-bold ph-lg"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
</div>
<div v-if="channel.isSensitive" :class="$style.sensitiveIndicator">{{ i18n.ts.sensitive }}</div>
<div :class="$style.bannerFade"></div>
@ -61,7 +61,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.footer">
<MkSpacer :contentMax="700" :marginMin="16" :marginMax="16">
<div class="_buttonsCenter">
<MkButton inline rounded primary gradate @click="openPostForm()"><i class="ph-pencil ph-bold ph-lg"></i> {{ i18n.ts.postToTheChannel }}</MkButton>
<MkButton inline rounded primary gradate @click="openPostForm()"><i class="ph-pencil-simple ph-bold ph-lg"></i> {{ i18n.ts.postToTheChannel }}</MkButton>
</div>
</MkSpacer>
</div>

View file

@ -149,7 +149,7 @@ const headerTabs = computed(() => [{
}, {
key: 'owned',
title: i18n.ts._channel.owned,
icon: 'ph-pencil-line ph-bold ph-lg',
icon: 'ph-pencil-simple-line ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -89,7 +89,7 @@ async function unfavorite() {
}
const headerActions = computed(() => clip.value && isOwned.value ? [{
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
text: i18n.ts.edit,
handler: async (): Promise<void> => {
const { canceled, result } = await os.form(clip.value.name, {

View file

@ -14,11 +14,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.fileQuickActionsRoot">
<button class="_button" :class="$style.fileNameEditBtn" @click="rename()">
<h2 class="_nowrap" :class="$style.fileName">{{ file.name }}</h2>
<i class="ph-pencil ph-bold ph-lg" :class="$style.fileNameEditIcon"></i>
<i class="ph-pencil-simple ph-bold ph-lg" :class="$style.fileNameEditIcon"></i>
</button>
<div :class="$style.fileQuickActionsOthers">
<button v-tooltip="i18n.ts.createNoteFromTheFile" class="_button" :class="$style.fileQuickActionsOthersButton" @click="postThis()">
<i class="ph-pencil ph-bold ph-lg"></i>
<i class="ph-pencil-simple ph-bold ph-lg"></i>
</button>
<button v-if="isImage" v-tooltip="i18n.ts.cropImage" class="_button" :class="$style.fileQuickActionsOthersButton" @click="crop()">
<i class="ph-crop ph-bold ph-lg"></i>
@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<button class="_button" :class="$style.fileAltEditBtn" @click="describe()">
<MkKeyValue>
<template #key>{{ i18n.ts.description }}</template>
<template #value>{{ file.comment ? file.comment : `(${i18n.ts.none})` }}<i class="ph-pencil ph-bold ph-lg" :class="$style.fileAltEditIcon"></i></template>
<template #value>{{ file.comment ? file.comment : `(${i18n.ts.none})` }}<i class="ph-pencil-simple ph-bold ph-lg" :class="$style.fileAltEditIcon"></i></template>
</MkKeyValue>
</button>
<MkKeyValue :class="$style.fileMetaDataChildren">

View file

@ -45,7 +45,7 @@ const headerTabs = computed(() => [{
}, {
key: 'notes',
title: i18n.ts._fileViewer.attachedNotes,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
}]);
definePageMetadata(computed(() => ({

View file

@ -83,7 +83,7 @@ const headerTabs = computed(() => [{
}, {
key: 'my',
title: i18n.ts._play.my,
icon: 'ph-pencil-line ph-bold ph-lg',
icon: 'ph-pencil-simple-line ph-bold ph-lg',
}, {
key: 'liked',
title: i18n.ts._play.liked,

View file

@ -124,10 +124,10 @@ const headerTabs = computed(() => []);
definePageMetadata(computed(() => props.postId ? {
title: i18n.ts.edit,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
} : {
title: i18n.ts.postToGallery,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
}));
</script>

View file

@ -116,7 +116,7 @@ const headerTabs = computed(() => [{
}, {
key: 'my',
title: i18n.ts._gallery.my,
icon: 'ph-pencil-line ph-bold ph-lg',
icon: 'ph-pencil-simple-line ph-bold ph-lg',
}]);
definePageMetadata({

View file

@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkButton v-else v-tooltip="i18n.ts._gallery.like" class="button" @click="like()"><i class="ph-heart ph-bold ph-lg"></i><span v-if="post.likedCount > 0" class="count">{{ post.likedCount }}</span></MkButton>
</div>
<div class="other">
<button v-if="$i && $i.id === post.user.id" v-tooltip="i18n.ts.edit" v-click-anime class="_button" @click="edit"><i class="ph-pencil ph-bold ph-lg ti-fw"></i></button>
<button v-if="$i && $i.id === post.user.id" v-tooltip="i18n.ts.edit" v-click-anime class="_button" @click="edit"><i class="ph-pencil-simple ph-bold ph-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.shareWithNote" v-click-anime class="_button" @click="shareWithNote"><i class="ph-repeat ph-bold ph-lg ti-fw"></i></button>
<button v-tooltip="i18n.ts.copyLink" v-click-anime class="_button" @click="copyLink"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button>
<button v-if="isSupportShare()" v-tooltip="i18n.ts.share" v-click-anime class="_button" @click="share"><i class="ph-share-network ph-bold ph-lg ti-fw"></i></button>
@ -156,7 +156,7 @@ function edit() {
watch(() => props.postId, fetchPost, { immediate: true });
const headerActions = computed(() => [{
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
text: i18n.ts.edit,
handler: edit,
}]);

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #header><i class="ph-note ph-bold ph-lg"></i> {{ props.modelValue.title }}</template>
<template #func>
<button class="_button" @click="rename()">
<i class="ph-pencil ph-bold ph-lg"></i>
<i class="ph-pencil-simple ph-bold ph-lg"></i>
</button>
</template>

View file

@ -292,7 +292,7 @@ definePageMetadata(computed(() => {
}
return {
title: title,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
};
}));
</script>

View file

@ -81,7 +81,7 @@ const headerTabs = computed(() => [{
}, {
key: 'my',
title: i18n.ts._pages.my,
icon: 'ph-pencil-line ph-bold ph-lg',
icon: 'ph-pencil-simple-line ph-bold ph-lg',
}, {
key: 'liked',
title: i18n.ts._pages.liked,

View file

@ -89,7 +89,7 @@ const headerTabs = computed(() => [{
title: i18n.ts.users,
}, {
key: 'timeline',
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
title: i18n.ts.timeline,
}]);

View file

@ -45,7 +45,7 @@ const headerActions = computed(() => []);
const headerTabs = computed(() => [{
key: 'note',
title: i18n.ts.notes,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
}, {
key: 'user',
title: i18n.ts.users,

View file

@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div class="_gaps_m">
<FormSection first>
<template #label><i class="ph-pencil ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.allNotes }}</template>
<template #label><i class="ph-pencil-simple ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.allNotes }}</template>
<div class="_gaps_s">
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>

View file

@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="$i" #footer>
<div :class="$style.footer">
<MkSpacer :contentMax="800" :marginMin="16" :marginMax="16">
<MkButton rounded primary :class="$style.button" @click="post()"><i class="ph-pencil ph-bold ph-lg"></i>{{ i18n.ts.postToHashtag }}</MkButton>
<MkButton rounded primary :class="$style.button" @click="post()"><i class="ph-pencil-simple ph-bold ph-lg"></i>{{ i18n.ts.postToHashtag }}</MkButton>
</MkSpacer>
</div>
</template>

View file

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkHeatmap :user="user" :src="'notes'"/>
</MkFoldableSection>
<MkFoldableSection class="item">
<template #header><i class="ph-pencil ph-bold ph-lg"></i> Notes</template>
<template #header><i class="ph-pencil-simple ph-bold ph-lg"></i> Notes</template>
<XNotes :user="user"/>
</MkFoldableSection>
<MkFoldableSection class="item">

View file

@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ph-lock ph-bold ph-lg"></i></span>
<span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ph-robot ph-bold ph-lg"></i></span>
<button v-if="$i && !isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea">
<i class="ph-pencil-line ph-bold ph-lg"/> {{ i18n.ts.addMemo }}
<i class="ph-pencil-simple-line ph-bold ph-lg"/> {{ i18n.ts.addMemo }}
</button>
</div>
</div>

View file

@ -87,7 +87,7 @@ const headerTabs = computed(() => user.value ? [{
}, {
key: 'notes',
title: i18n.ts.notes,
icon: 'ph-pencil ph-bold ph-lg',
icon: 'ph-pencil-simple ph-bold ph-lg',
}, {
key: 'activity',
title: i18n.ts.activity,