主题切换丝滑处理

This commit is contained in:
tangly1024.com
2024-02-01 11:57:31 +08:00
parent d5a53867e7
commit 66fc70e4f9
2 changed files with 6 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ class MyDocument extends Document {
})}
</Head>
<body className={`${BLOG.FONT_STYLE} font-light scroll-smooth`}>
<body className={`${BLOG.FONT_STYLE} dark:bg-black font-light scroll-smooth`}>
<Main />
<NextScript />
</body>