The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update button.tsx
Steven Tey0de45282a14b
diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsxindex dfa2eea722..a0036add20 100644--- a/packages/ui/src/button.tsx+++ b/packages/ui/src/button.tsx@@ -76,7 +76,7 @@ export function Button({variant === "outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":variant === "success",- "border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":+ "border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100":variant === "danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":variant === "danger-outline",@@ -93,13 +93,12 @@ 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:bg-gray-100 group-hover:text-gray-500":+ "bg-gray-700 text-gray-400 group-hover:text-gray-300":variant === "primary",- "bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":+ "bg-gray-200 text-gray-400 group-hover:text-gray-300":variant === "secondary",- "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":+ "bg-gray-100 text-gray-50": variant === "outline",+ "bg-red-100 text-red-600 group-hover:text-red-400":variant === "danger-outline",},)}