refactor: 💄 Change code block theme to Dark Plus

This commit is contained in:
Jesse Wierzbinski 2024-07-25 14:18:17 +02:00
parent 66a0c94652
commit 1759c4ffba
No known key found for this signature in database
2 changed files with 6 additions and 11 deletions

View file

@ -162,7 +162,7 @@ function CodePanel({
<div className="group dark:bg-white/2.5">
<CodePanelHeader tag={tag} label={label} />
<div className="relative">
<pre className="overflow-x-auto p-4 text-xs text-white">
<pre className="overflow-x-auto p-4 text-xs text-white [&>code>pre]:!bg-transparent">
{children}
</pre>
<CopyButton code={code} />