aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/components/ui/button.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-09 02:17:45 +0000
committerMohamedBassem <me@mbassem.com>2024-02-09 02:51:39 +0000
commitb25f17509e704eb41523bf455a33804cabf8aaca (patch)
treec1449bb3b8326504a32cc907b64a809a1290fe1d /packages/web/components/ui/button.tsx
parent08a5694e451218f1bcb2ad9eb42fd93250afbb96 (diff)
downloadkarakeep-b25f17509e704eb41523bf455a33804cabf8aaca.tar.zst
[chore] Linting and formating tweaking
Diffstat (limited to 'packages/web/components/ui/button.tsx')
-rw-r--r--packages/web/components/ui/button.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/web/components/ui/button.tsx b/packages/web/components/ui/button.tsx
index 57c9fe47..79b45fa0 100644
--- a/packages/web/components/ui/button.tsx
+++ b/packages/web/components/ui/button.tsx
@@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";
const buttonVariants = cva(
- "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
+ "ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
{
variants: {
variant: {
@@ -13,7 +13,7 @@ const buttonVariants = cva(
destructive:
"bg-destructive text-destructive-foreground hover:bg-destructive/90",
outline:
- "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
+ "border-input bg-background hover:bg-accent hover:text-accent-foreground border",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
ghost: "hover:bg-accent hover:text-accent-foreground",
@@ -23,7 +23,7 @@ const buttonVariants = cva(
default: "h-10 px-4 py-2",
sm: "h-9 rounded-md px-3",
lg: "h-11 rounded-md px-8",
- icon: "h-10 w-10",
+ icon: "size-10",
},
},
defaultVariants: {