fixes dark mode piblic page (#4201)

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2022-09-06 10:50:36 +02:00
1 parent dc6f8d1f63
commit addd58cca6
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ class MyDocument extends Document<Props> {
</Head>
{/* Keep the embed hidden till parent initializes and gives it the appropriate styles */}
<body>
<body className="dark:bg-darkgray-50 bg-gray-100">
<Main />
<NextScript />
{/* In case of Embed we want background to be transparent so that it merges into the website seamlessly. Also, we keep the body hidden here and embed logic would take care of showing the body when it's ready */}