mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 08:26:35 +00:00
Set default color for code block in lightmode to black
This commit is contained in:
@@ -127,7 +127,7 @@ function CodePanel({ tag, label, code, children }) {
|
|||||||
label={child.props.label ?? label}
|
label={child.props.label ?? label}
|
||||||
/>
|
/>
|
||||||
<div className="relative">
|
<div className="relative">
|
||||||
<pre className="overflow-x-auto p-4 text-xs text-white">{children}</pre>
|
<pre className="overflow-x-auto p-4 text-xs dark:text-white text-black">{children}</pre>
|
||||||
<CopyButton code={child.props.code ?? code} />
|
<CopyButton code={child.props.code ?? code} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user