[learn-example][sm] - fix dark mode styling

This commit is contained in:
Luccas Mateus de Medeiros Gomes 2023-05-01 11:16:52 -03:00
parent d9a6ea4ef1
commit cc43597130
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ export const getStaticProps = async (context) => {
export default function DatasetPage({ mdxSource, frontMatter }) {
return (
<div className="prose mx-auto">
<div className="prose dark:prose-invert mx-auto">
<header>
<div className="mb-6">
<>

View File

@ -7,7 +7,7 @@ class MyDocument extends Document {
<Head>
<link rel="icon" href="/favicon.png" />
</Head>
<body>
<body className='bg-white dark:bg-gray-900'>
<Main />
<NextScript />
</body>