Use nicer colors

This commit is contained in:
wvffle 2022-07-24 21:44:53 +00:00 committed by Georg Krause
parent 3d518e5b64
commit 096ee92408
2 changed files with 6 additions and 2 deletions

View File

@ -54,8 +54,8 @@ defineEmits<Emits>()
</div>
<div class="controls">
<i
:class="$store.getters['favorites/isFavorite'](source.track.id) ? 'pink' : 'grey'"
class="heart icon ui favorite-icon"
:class="$store.getters['favorites/isFavorite'](source.track.id) ? 'pink' : ''"
class="heart icon"
@click.stop="$store.dispatch('favorites/toggle', source.track.id)"
/>
<button

View File

@ -321,6 +321,10 @@
cursor: pointer;
padding: 0 0.875rem;
.heart:not(.pink) {
color: rgba(0, 0, 0, 0.2)
}
.handle > .grip {
pointer-events: none;
}