only invert prose for dark themes

This commit is contained in:
Felix Roos 2023-02-10 18:34:02 +01:00
parent 46f70e6a5e
commit 6db2c0bf93
6 changed files with 42 additions and 17 deletions

View file

@ -22,7 +22,7 @@ const currentPage = Astro.url.pathname;
<span>On this Page:</span>
<TableOfContents client:media="(max-width: 50em)" headings={headings} currentPage={currentPage} />
</nav> -->
<div class="prose prose-invert max-w-full pb-8">
<div class="prose dark:prose-invert max-w-full pb-8">
<slot />
</div>
</section>