diff --git a/apps/www/styles/mdx.css b/apps/www/styles/mdx.css index 2942dc98b4..5da4078e14 100644 --- a/apps/www/styles/mdx.css +++ b/apps/www/styles/mdx.css @@ -15,7 +15,7 @@ } [data-rehype-pretty-code-fragment] { - @apply relative text-white; + @apply relative; } [data-rehype-pretty-code-fragment] code { @@ -59,7 +59,7 @@ } [data-rehype-pretty-code-title] { - @apply mt-2 pt-6 px-4 text-sm font-medium; + @apply mt-2 pt-6 px-4 text-sm font-medium text-black dark:text-white; } [data-rehype-pretty-code-title] + pre {