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

@@ -29,7 +29,7 @@
</span>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
icon="remove_circle_outline"
svg="trash"
color="red"
:title="$t('action.remove')"
class="hidden group-hover:inline-flex"
@@ -40,7 +40,7 @@
v-tippy="{ theme: 'tooltip' }"
:title="!entry.star ? $t('add.star') : $t('remove.star')"
:class="{ 'group-hover:inline-flex hidden': !entry.star }"
:icon="entry.star ? 'star' : 'star_border'"
:svg="entry.star ? 'star-solid' : 'star'"
color="yellow"
data-testid="star_button"
@click.native="$emit('toggle-star')"