fix: display of codeblock actions in dark mode

This commit is contained in:
shadcn 2023-06-15 16:08:24 +04:00
parent 3fd1859005
commit a3c8f93de8

View file

@ -86,7 +86,7 @@ const CodeBlock: FC<Props> = memo(({ language, value }) => {
return (
<div className="codeblock relative w-full bg-zinc-950 font-sans">
<div className="flex w-full items-center justify-between bg-zinc-900 px-6 py-2 pr-4 text-zinc-100">
<div className="flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100">
<span className="text-xs lowercase">{language}</span>
<div className="flex items-center space-x-1">
<Button