Skip to content

Commit

Permalink
tweak: dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
airjp73 committed Jun 11, 2024
1 parent b236f92 commit 0c55480
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/docs-v2/app/mdx/rehype.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export const rehypePlugins = [
rehypeShiki,
{
themes: {
light: "github-light",
dark: "github-dark",
light: "catppuccin-latte",
dark: "catppuccin-mocha",
},
defaultLanguage: "tsx",
cssVariablePrefix: "--shiki-",
Expand Down
4 changes: 2 additions & 2 deletions apps/docs-v2/app/ui/mdx/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ export function CodeHeader({
tabs?: React.ReactNode;
}) {
return (
<div className="flex min-h-[calc(theme(spacing.12)+1px)] flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 dark:border-zinc-800 dark:bg-transparent">
<div className="flex min-h-[calc(theme(spacing.12)+1px)] flex-wrap items-start gap-x-4 border-b border-zinc-400 bg-zinc-100 px-4 dark:border-zinc-800 dark:bg-transparent">
{title && (
<h3 className="mr-auto pt-3 text-xs font-semibold text-white">
<h3 className="mr-auto pt-3 text-xs font-semibold text-blck dark:text-white">
{title}
</h3>
)}{" "}
Expand Down

0 comments on commit 0c55480

Please sign in to comment.