Skip to content

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

style: transparent background for file icon in dark mode

Sachin Duhanb5f9a5dde2c3
diff --git a/components/documents/document-card.tsx b/components/documents/document-card.tsx
index 18bb7388..b5d01e28 100644
--- a/components/documents/document-card.tsx
+++ b/components/documents/document-card.tsx
@@ -157,7 +157,7 @@ export default function DocumentsCard({
alt="File icon"
width={50}
height={50}
- className={`${prismaDocument.type === 'pdf' && "bg-black dark:bg-white"}`}
+ className={`${prismaDocument.type === 'pdf' && "bg-black dark:bg-transparent"}`}
/>
)}
</div>