The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix tag badge contrast
Steven Teyd4d4ba665727
diff --git a/apps/web/ui/links/link-details-column.tsx b/apps/web/ui/links/link-details-column.tsxindex 38a9844939..5ed2345c62 100644--- a/apps/web/ui/links/link-details-column.tsx+++ b/apps/web/ui/links/link-details-column.tsx@@ -116,7 +116,7 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {return isMobile ? (<Linkhref={`/${slug}/analytics?domain=${domain}&key=${key}`}- className="rounded-md bg-gray-100 text-sm text-gray-950 transition-colors hover:bg-gray-200"+ className="rounded-md border border-gray-200 bg-gray-50 text-sm text-gray-800"><LinesY className="m-1 h-4 w-4 text-gray-600" /></Link>diff --git a/apps/web/ui/links/tag-badge.tsx b/apps/web/ui/links/tag-badge.tsxindex 92f076c1ae..88687f4a19 100644--- a/apps/web/ui/links/tag-badge.tsx+++ b/apps/web/ui/links/tag-badge.tsx@@ -19,12 +19,12 @@ export default function TagBadge({"my-auto whitespace-nowrap rounded-md border px-2 py-0.5 text-sm",(withIcon || plus) &&"flex items-center gap-x-1.5 rounded-full p-1.5 sm:rounded-md sm:px-2 sm:py-0.5",- color === "red" && "border-red-200 bg-red-50 text-red-600",- color === "yellow" && "border-yellow-200 bg-yellow-50 text-yellow-600",- color === "green" && "border-green-200 bg-green-50 text-green-600",- color === "blue" && "border-blue-200 bg-blue-50 text-blue-600",- color === "purple" && "border-purple-200 bg-purple-50 text-purple-600",- color === "brown" && "border-brown-200 bg-brown-50 text-brown-600",+ color === "red" && "border-red-300 bg-red-100 text-red-600",+ color === "yellow" && "border-yellow-300 bg-yellow-100 text-yellow-600",+ color === "green" && "border-green-300 bg-green-100 text-green-600",+ color === "blue" && "border-blue-300 bg-blue-100 text-blue-600",+ color === "purple" && "border-purple-300 bg-purple-100 text-purple-600",+ color === "brown" && "border-brown-300 bg-brown-100 text-brown-600",)}>{withIcon && <Tag className="h-3 w-3" />}