import * as React from 'react'
import { cn } from '@/lib/utils'
const Card = React.forwardRef<
React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => (
'rounded-base shadow-light dark:shadow-dark border-2 border-border dark:border-darkBorder bg-main text-black',
Card.displayName = 'Card'
const CardHeader = React.forwardRef<
React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => (
className={cn('flex flex-col space-y-1.5 p-6', className)}
CardHeader.displayName = 'CardHeader'
const CardTitle = React.forwardRef<
React.HTMLAttributes<HTMLHeadingElement>
>(({ className, ...props }, ref) => (
'text-xl leading-none font-heading tracking-tight',
CardTitle.displayName = 'CardTitle'
const CardDescription = React.forwardRef<
React.HTMLAttributes<HTMLParagraphElement>
>(({ className, ...props }, ref) => (
className={cn('text-sm text-black font-base !mt-3', className)}
CardDescription.displayName = 'CardDescription'
const CardContent = React.forwardRef<
React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => (
<div ref={ref} className={cn('p-6 pt-0', className)} {...props} />
CardContent.displayName = 'CardContent'
const CardFooter = React.forwardRef<
React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => (
className={cn('flex items-center p-6 pt-0', className)}
CardFooter.displayName = 'CardFooter'
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }