UPD: Device button elements

This commit is contained in:
Robert Kossessa
2024-02-03 23:17:14 +01:00
parent 4398cd2492
commit b16d9729dc
2 changed files with 5 additions and 5 deletions

View File

@@ -1,17 +1,17 @@
<template>
<div class="flex">
<div
<button
v-for="(color, key) in keys"
:key="key" :class="{'outline outline-white ' : key === selected,
'hover:outline outline-zinc-400' : key !== selected}"
class="aspect-square flex-1 rounded-[2px] flex items-center justify-center"
:style="`box-shadow: 0 0 20px 0 ${color.hex()}`"
@click="$emit('select', key)">
<div
<span
class="font-heading text-2xl"
:class="{'opacity-30 text-black': key!==selected}">{{ key }}
</div>
</div>
</span>
</button>
</div>
</template>

View File

@@ -24,7 +24,7 @@
</span>
</div>
</div>
<div
<button
class="rounded-full outline-2 absolute h-[41.5%] top-[24.5%] aspect-square left-0 right-0 mx-auto"
:class="{'outline outline-white': selected==='ring',
'hover:outline outline-zinc-400': selected!=='ring'}"