23 lines
621 B
Vue
23 lines
621 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"];
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
data-slot="card"
|
|
:class="
|
|
cn(
|
|
'bg-surface-container-lowest text-card-foreground border-outline-variant flex flex-col gap-6 rounded-xl border py-6 shadow-[0_1px_2px_rgba(16,24,40,0.03)] transition-[border-color,box-shadow] hover:border-outline/65 hover:shadow-kanban-card',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|