fixes dark mode piblic page (#4201)

pull/4188/head^2
Syed Ali Shahbaz 2022-09-06 14:20:36 +05:30 committed by GitHub
parent dc6f8d1f63
commit addd58cca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 */}