UPD: Palette hover colors

This commit is contained in:
Robert Kossessa
2024-01-26 17:20:23 +01:00
parent 5045f245b8
commit d625b71583

View File

@@ -3,7 +3,7 @@
<button
v-for="(option, key) in options" :key="key"
class="flex-1 pt-2 items-center text-center relative"
:class="currentOption!==key ? '' : 'text-black bg-white'"
:class="currentOption!==key ? 'hover:bg-zinc-800 text-zinc-200' : 'text-black bg-zinc-200 hover:bg-zinc-100'"
@click="currentOption = key">
{{ $t(option.key) }}
<div class="h-4 w-full mt-2" :style="{background: option.color.hex()}"/>