Files
landing/src/components/starwind/card/CardDescription.astro
Raul Lugo dd227618cd
Some checks failed
Build & Deploy (prod) / deploy (push) Failing after 11s
feat: simple landing with contact form and applications showcase
2026-02-05 12:53:35 +01:00

17 lines
416 B
Plaintext

---
import type { HTMLAttributes } from "astro/types";
import { tv } from "tailwind-variants";
type Props = HTMLAttributes<"div">;
export const cardDescription = tv({
base: "text-muted-foreground text-base group-data-[size=sm]/card:text-sm",
});
const { class: className, ...rest } = Astro.props;
---
<div class={cardDescription({ class: className })} data-slot="card-description" {...rest}>
<slot />
</div>