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

@ -14,7 +14,7 @@ export function Reference() {
))}
</div>
<div className="break-normal w-full h-full overflow-auto pl-4 flex relative">
<div className="prose prose-invert">
<div className="prose dark:prose-invert">
<h2>API Reference</h2>
<p>
This is the long list functions you can use! Remember that you don't need to remember all of those and that