import { cva } from "class-variance-authority"; const buttonVariants = cva( "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-fd-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring disabled:pointer-events-none disabled:opacity-50", { variants: { variant: { default: "bg-fd-background bg-gradient-to-b from-fd-primary to-fd-primary/60 text-fd-primary-foreground shadow-inner shadow-fd-background/20 hover:bg-fd-primary/90", outline: "border hover:bg-fd-accent hover:text-fd-accent-foreground", grow: "border bg-gradient-to-t from-fd-primary/10 shadow-inner shadow-fd-primary/10 hover:bg-fd-accent/50 hover:text-fd-accent-foreground", secondary: "border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground", ghost: "hover:bg-fd-accent hover:text-fd-accent-foreground", link: "text-fd-primary underline-offset-4 hover:underline", }, size: { default: "h-10 px-4 py-2", icon: "p-1.5", sm: "h-9 px-3", lg: "h-11 px-6", xs: "px-2 py-1.5 text-xs", "icon-xs": "p-1 [&_svg]:size-4" }, }, defaultVariants: { variant: "default", size: "default", }, }, ); export { buttonVariants };