diff --git a/src/components/shadcn/button.tsx b/src/components/shadcn/button.tsx index a3739b6..14f9a89 100644 --- a/src/components/shadcn/button.tsx +++ b/src/components/shadcn/button.tsx @@ -9,17 +9,17 @@ const buttonVariants = cva( { variants: { variant: { - default: "bg-primary text-primary-foreground hover:bg-primary/90 tranition-all", - destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 tranition-all", - outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground tranition-all", - secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 tranition-all", - ghost: "hover:bg-light-background hover:text-foreground tranition-all", - disabled: "hover:bg-light-background hover:text-foreground opacity-50 cursor-not-allowed tranition-all", - link: "text-primary text-base underline-offset-4 hover:underline tranition-all", - icon: "text-foreground bg-icon hover:bg-icon/80 tranition-all", - "icon-ghost": "hover:bg-icon hover:text-foreground tranition-all", - menu: "text-primary-foreground hover:bg-primary hover:text-primary-foreground tranition-all", - header: "hover:bg-primary hover:text-foreground tranition-all", + default: "bg-primary text-primary-foreground hover:bg-primary/90 transition-all", + destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 transition-all", + outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground transition-all", + secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 transition-all", + ghost: "hover:bg-light-background hover:text-foreground transition-all", + disabled: "hover:bg-light-background hover:text-foreground opacity-50 cursor-not-allowed transition-all", + link: "text-primary text-base underline-offset-4 hover:underline transition-all", + icon: "text-foreground bg-icon hover:bg-icon/80 transition-all", + "icon-ghost": "hover:bg-icon hover:text-foreground transition-all", + menu: "text-primary-foreground hover:bg-primary hover:text-primary-foreground transition-all", + header: "hover:bg-primary hover:text-foreground transition-all", }, size: { default: "h-10 px-6 py-3", diff --git a/src/components/ui/menu-button.tsx b/src/components/ui/menu-button.tsx index 3aeb02a..27c32cf 100644 --- a/src/components/ui/menu-button.tsx +++ b/src/components/ui/menu-button.tsx @@ -20,13 +20,13 @@ const MenuButton = React.forwardRef( ref={ref} variant={variant} size={size} - className={cn("flex !gap-2 flex-row justify-between items-center group", className)} + className={cn("flex !gap-2 flex-row justify-between items-center group/button", className)} {...props} >
{icon && React.cloneElement(icon, { - className: "h-4 w-4 text-slate-500 group-hover:text-primary-foreground tranition-all", + className: "h-4 w-4 text-slate-500 group-hover/button:text-primary-foreground transition-all", })} {children}
diff --git a/src/components/ui/shortcut.tsx b/src/components/ui/shortcut.tsx index 3761f64..6f2acd3 100644 --- a/src/components/ui/shortcut.tsx +++ b/src/components/ui/shortcut.tsx @@ -9,7 +9,7 @@ export default function Shortcut({ letter, className }: ShortcutProps) { return (