feat: svg icons

This commit is contained in:
liyasthomas
2021-08-28 05:47:33 +05:30
parent e397e3fb6f
commit 476bfbaef0
149 changed files with 476 additions and 392 deletions

View File

@@ -105,7 +105,7 @@
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('add.new')"
icon="add"
svg="plus"
class="rounded"
@click.native="addCommunicationInput"
/>
@@ -130,7 +130,7 @@
v-if="index + 1 !== communication.inputs.length"
v-tippy="{ theme: 'tooltip' }"
:title="$t('action.remove')"
icon="remove_circle_outline"
svg="trash"
class="rounded"
color="red"
outline

View File

@@ -63,13 +63,13 @@
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('action.clear_all')"
icon="clear_all"
svg="trash-2"
@click.native="clearContent"
/>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('add.new')"
icon="add"
svg="plus"
@click.native="addProtocol"
/>
</div>
@@ -100,12 +100,12 @@
: $t('action.turn_on')
: $t('action.turn_off')
"
:icon="
:svg="
protocol.hasOwnProperty('active')
? protocol.active
? 'check_circle_outline'
: 'radio_button_unchecked'
: 'check_circle_outline'
? 'check-circle'
: 'circle'
: 'check-circle'
"
color="green"
@click.native="
@@ -119,7 +119,7 @@
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('action.remove')"
icon="remove_circle_outline"
svg="trash"
color="red"
@click.native="deleteProtocol({ index })"
/>