Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update button.tsx

Steven Tey15d0ef8799d1
diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsx
index a0036add20..3c41fa71d0 100644
--- a/packages/ui/src/button.tsx
+++ b/packages/ui/src/button.tsx
@@ -93,12 +93,13 @@ export function Button({
className={cn(
"hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",
{
- "bg-gray-700 text-gray-400 group-hover:text-gray-300":
+ "bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":
variant === "primary",
- "bg-gray-200 text-gray-400 group-hover:text-gray-300":
+ "bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":
variant === "secondary",
- "bg-gray-100 text-gray-50": variant === "outline",
- "bg-red-100 text-red-600 group-hover:text-red-400":
+ "bg-gray-100 text-gray-500 group-hover:bg-gray-200":
+ variant === "outline",
+ "bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":
variant === "danger-outline",
},
)}