feat: finish cape modal

This commit is contained in:
Calum H. authored and Alejandro González committed 2025-06-14 17:41:54 +02:00
1 parent d8cb19bf40
commit 46261d1f70
3 files changed
+22 -11

No files matched your search

@@ -3,7 +3,7 @@ const emit = defineEmits<{
(e: 'click'): void
}>()
const props = withDefaults(
withDefaults(
defineProps<{
tooltip: string
highlighted?: boolean
@@ -37,7 +37,7 @@ const props = withDefaults(
<slot name="icon"></slot>
</div>
<span class="text-xs text-white/80 group-hover:text-white">
<span class="text-xs group-hover:text-white" :class="{ 'text-white': highlighted }">
<slot name="default"></slot>
</span>
</span>