Skip to content

Commit 4e91481

Browse files
committed
fix(web): add dark:from-background to PageContainer gradient
The gradient from-background wasn't re-declaring the Tailwind gradient stops in the dark variant context, leaving the main content area white in dark mode.
1 parent 0f45747 commit 4e91481

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/web/src/components/common/PageContainer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export default function PageContainer({
3131
<div
3232
className={cn(
3333
'min-h-screen',
34-
gradient && 'bg-gradient-to-b from-background to-secondary-600/5 dark:to-background'
34+
gradient &&
35+
'bg-gradient-to-b from-background to-secondary-600/5 dark:from-background dark:to-background'
3536
)}
3637
>
3738
<div

0 commit comments

Comments
 (0)