From c463180ddbfacb7824dca47c6e44895f79453b27 Mon Sep 17 00:00:00 2001 From: Developing-Gamer Date: Wed, 27 May 2026 12:31:14 -0700 Subject: [PATCH] Sync stack UI primitive styling. Co-authored-by: Cursor --- packages/stack-ui/src/components/ui/button.tsx | 6 +++--- packages/stack-ui/src/components/ui/dialog.tsx | 5 +++-- packages/stack-ui/src/components/ui/switch.tsx | 4 ++-- packages/stack-ui/src/components/ui/tabs.tsx | 4 ++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/stack-ui/src/components/ui/button.tsx b/packages/stack-ui/src/components/ui/button.tsx index 0c9092457..9de060853 100644 --- a/packages/stack-ui/src/components/ui/button.tsx +++ b/packages/stack-ui/src/components/ui/button.tsx @@ -18,10 +18,10 @@ 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 border-input bg-background hover:bg-zinc-50 dark:hover:bg-accent dark:hover:text-accent-foreground", secondary: - "bg-secondary text-secondary-foreground hover:bg-secondary/80", - ghost: "hover:bg-accent hover:text-accent-foreground", + "bg-secondary text-secondary-foreground hover:bg-zinc-100 dark:hover:bg-secondary/80", + ghost: "hover:bg-zinc-100 dark:hover:bg-accent dark:hover:text-accent-foreground", link: "text-primary underline-offset-4 hover:underline", plain: "", }, diff --git a/packages/stack-ui/src/components/ui/dialog.tsx b/packages/stack-ui/src/components/ui/dialog.tsx index 179d04328..98b64e942 100644 --- a/packages/stack-ui/src/components/ui/dialog.tsx +++ b/packages/stack-ui/src/components/ui/dialog.tsx @@ -22,7 +22,7 @@ const DialogOverlay = forwardRefIfNeeded< (({ className, ...props }, ref) => ( diff --git a/packages/stack-ui/src/components/ui/tabs.tsx b/packages/stack-ui/src/components/ui/tabs.tsx index 44577dd60..72163ca0d 100644 --- a/packages/stack-ui/src/components/ui/tabs.tsx +++ b/packages/stack-ui/src/components/ui/tabs.tsx @@ -15,7 +15,7 @@ const TabsList = forwardRefIfNeeded<