diff --git a/package.json b/package.json index 59b23de..34cf54b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "build": "turbo build", "dev": "turbo dev", "lint": "turbo lint", - "format": "prettier --end-of-line lf --write \"**/*.{ts,tsx,md}\"" + "format": "prettier --end-of-line lf --write \"**/*.{ts,tsx,md,mjs}\"" }, "devDependencies": { "prettier": "catalog:", diff --git a/packages/ui/src/components/ui/button.tsx b/packages/ui/src/components/ui/button.tsx index c8d2dcb..3ed0e17 100644 --- a/packages/ui/src/components/ui/button.tsx +++ b/packages/ui/src/components/ui/button.tsx @@ -19,14 +19,11 @@ const buttonVariants = cva( }, variant: { default: 'bg-primary text-primary-foreground hover:bg-primary/90', - destructive: - 'bg-destructive text-destructive-foreground hover:bg-destructive/90', + destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90', ghost: 'hover:bg-accent hover:text-accent-foreground', link: 'text-primary underline-offset-4 hover:underline', - outline: - 'border border-input bg-background hover:bg-accent hover:text-accent-foreground', - secondary: - 'bg-secondary text-secondary-foreground hover:bg-secondary/80', + outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground', + secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', }, }, }, @@ -41,11 +38,7 @@ const Button = React.forwardRef( ({ asChild = false, className, size, variant, ...props }, ref) => { const Comp = asChild ? Slot : 'button'; return ( - + ); }, );