Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

style(sonner): fix transparent close button

Marc Seitzfd95117b7a62
diff --git a/components/ui/sonner.tsx b/components/ui/sonner.tsx
index 549cf841..41b61c58 100644
--- a/components/ui/sonner.tsx
+++ b/components/ui/sonner.tsx
@@ -21,6 +21,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
cancelButton:
"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
+ closeButton:
+ "group-[.toast]:bg-background group-[.toast]:border-border group-[.toast]:text-foreground group-[.toast]:hover:bg-muted ",
},
}}
{...props}