replaced ti-pencil

This commit is contained in:
dakkar 2024-06-21 13:44:45 +01:00
parent 5ab3f601da
commit 78b21cecc4
36 changed files with 43 additions and 42 deletions

View file

@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
<div :class="$style.bottom">
<button class="_button" :class="$style.post" data-cy-open-post-form @click="os.post">
<i :class="$style.postIcon" class="ph-pencil-simple ph-bold ph-lg ti-fw"></i><span style="position: relative;">{{ i18n.ts.note }}</span>
<i :class="$style.postIcon" class="ti ti-pencil ti-fw"></i><span style="position: relative;">{{ i18n.ts.note }}</span>
</button>
<button class="_button" :class="$style.account" @click="openAccountMenu">
<MkAvatar :user="$i" :class="$style.avatar"/><MkAcct :class="$style.acct" class="_nowrap" :user="$i"/>

View file

@ -49,7 +49,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
<div :class="$style.bottom">
<button v-tooltip.noDelay.right="i18n.ts.note" class="_button" :class="[$style.post]" data-cy-open-post-form @click="os.post">
<i class="ph-pencil-simple ph-bold ph-lg ti-fw" :class="$style.postIcon"></i><span :class="$style.postText">{{ i18n.ts.note }}</span>
<i class="ti ti-pencil ti-fw" :class="$style.postIcon"></i><span :class="$style.postText">{{ i18n.ts.note }}</span>
</button>
<button v-tooltip.noDelay.right="`${i18n.ts.account}: @${$i.username}`" class="_button" :class="[$style.account]" @click="openAccountMenu">
<MkAvatar :user="$i" :class="$style.avatar"/><MkAcct class="_nowrap" :class="$style.acct" :user="$i"/>

View file

@ -38,7 +38,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</button>
<div class="post" @click="os.post()">
<MkButton class="button" gradate full rounded>
<i class="ph-pencil-simple ph-bold ph-lg ti-fw"></i>
<i class="ti ti-pencil ti-fw"></i>
</MkButton>
</div>
</div>

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</button>
<div class="post" data-cy-open-post-form @click="os.post">
<MkButton class="button" gradate full rounded>
<i class="ph-pencil-simple ph-bold ph-lg ti-fw"></i><span v-if="!iconOnly" class="text">{{ i18n.ts.note }}</span>
<i class="ti ti-pencil ti-fw"></i><span v-if="!iconOnly" class="text">{{ i18n.ts.note }}</span>
</MkButton>
</div>
<div class="divider"></div>

View file

@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<span class="_indicateCounter" :class="$style.itemIndicateValueIcon">{{ $i.unreadNotificationsCount > 99 ? '99+' : $i.unreadNotificationsCount }}</span>
</span>
</button>
<button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ph-pencil-simple ph-bold ph-lg"></i></button>
<button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ti ti-pencil"></i></button>
</div>
<Transition

View file

@ -69,7 +69,7 @@ function onNote() {
const menu: MenuItem[] = [
{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.selectAntenna,
action: setAntenna,
},

View file

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="column.channelId">
<div style="padding: 8px; text-align: center;">
<MkButton primary gradate rounded inline small @click="post"><i class="ph-pencil-simple ph-bold ph-lg"></i></MkButton>
<MkButton primary gradate rounded inline small @click="post"><i class="ti ti-pencil"></i></MkButton>
</div>
<MkTimeline ref="timeline" :key="column.channelId + column.withRenotes + column.onlyFiles" src="channel" :channel="column.channelId" :withRenotes="withRenotes" :onlyFiles="onlyFiles" @note="onNote"/>
</template>
@ -99,7 +99,7 @@ function onNote() {
}
const menu: MenuItem[] = [{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.selectChannel,
action: setChannel,
}, {

View file

@ -81,7 +81,7 @@ function onNote() {
const menu: MenuItem[] = [
{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.selectList,
action: setList,
},

View file

@ -40,7 +40,7 @@ function func() {
}
const menu = [{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.notificationSetting,
action: func,
}];

View file

@ -64,7 +64,7 @@ function onNote() {
}
const menu: MenuItem[] = [{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.role,
action: setRole,
}, {

View file

@ -128,7 +128,7 @@ function onNote() {
}
const menu: MenuItem[] = [{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.timeline,
action: setType,
}, {

View file

@ -49,7 +49,7 @@ function func() {
}
const menu = [{
icon: 'ph-pencil-simple ph-bold ph-lg',
icon: 'ti ti-pencil',
text: i18n.ts.editWidgets,
action: func,
}];

View file

@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</span>
</button>
<button :class="$style.navButton" class="_button" @click="widgetsShowing = true"><i :class="$style.navButtonIcon" class="ph-stack ph-bold ph-lg"></i></button>
<button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ph-pencil-simple ph-bold ph-lg"></i></button>
<button :class="$style.postButton" class="_button" @click="os.post()"><i :class="$style.navButtonIcon" class="ti ti-pencil"></i></button>
</div>
<Transition

View file

@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XWidgets :edit="editMode" :widgets="widgets" @addWidget="addWidget" @removeWidget="removeWidget" @updateWidget="updateWidget" @updateWidgets="updateWidgets" @exit="editMode = false"/>
<button v-if="editMode" class="_textButton" style="font-size: 0.9em;" @click="editMode = false"><i class="ti ti-check"></i> {{ i18n.ts.editWidgetsExit }}</button>
<button v-else class="_textButton" data-cy-widget-edit :class="$style.edit" style="font-size: 0.9em;" @click="editMode = true"><i class="ph-pencil-simple ph-bold ph-lg"></i> {{ i18n.ts.editWidgets }}</button>
<button v-else class="_textButton" data-cy-widget-edit :class="$style.edit" style="font-size: 0.9em;" @click="editMode = true"><i class="ti ti-pencil"></i> {{ i18n.ts.editWidgets }}</button>
</div>
</template>