Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: site dark styles

Dillion Verma7705a99646fd
diff --git a/app/(docs)/layout.tsx b/app/(docs)/layout.tsx
index 28e38307..84d47ef0 100644
--- a/app/(docs)/layout.tsx
+++ b/app/(docs)/layout.tsx
@@ -15,7 +15,7 @@ export default async function MarketingLayout({
<div className="flex min-h-screen flex-col">
<SiteHeader user={user} />
<main className="flex-1">
- <div className="pointer-events-none h-screen absolute inset-0 bg-[radial-gradient(ellipse_80%_50%_at_50%_-20%,rgba(120,119,198,0.5),rgba(255,255,255,0))]" />
+ <div className="pointer-events-none h-screen absolute inset-0 dark:bg-[radial-gradient(ellipse_80%_50%_at_50%_-20%,rgba(120,119,198,0.5),rgba(255,255,255,0))]" />
{children}
</main>
<SiteFooter />
diff --git a/components/site-header.tsx b/components/site-header.tsx
index f4ab969a..4a683def 100644
--- a/components/site-header.tsx
+++ b/components/site-header.tsx
@@ -85,13 +85,7 @@ export function SiteHeader({ user }: SiteHeaderProps) {
</nav>
</div>
</div>
- <div
- className="absolute w-full h-px bottom-0"
- style={{
- background:
- "radial-gradient(50% 100% at 50% 100%,rgba(255,255,255,.32) 0%,rgba(255,255,255,0) 100%)",
- }}
- />
+ <div className="absolute w-full h-px bottom-0 dark:bg-[radial-gradient(50%_100%_at_50%_100%,rgba(255,255,255,.32)_0%,rgba(255,255,255,0)_100%)] bg-[radial-gradient(50%_100%_at_50%_100%,rgba(0,0,0,.12)_0%,rgba(255,255,255,0)_100%)]" />
</header>
);
}