diff --git a/docs/app/[lang]/(home)/components/code-block.tsx b/docs/app/[lang]/(home)/components/code-block.tsx index 17c0123c96..5713808c63 100644 --- a/docs/app/[lang]/(home)/components/code-block.tsx +++ b/docs/app/[lang]/(home)/components/code-block.tsx @@ -1,3 +1,4 @@ +import { geistShikiTheme } from '@vercel/geistdocs/shiki-theme'; import { codeToHtml } from 'shiki'; import { cn } from '@/lib/utils'; @@ -12,11 +13,7 @@ type CodeBlockProps = { export const CodeBlock = async ({ code, lang, codeblock }: CodeBlockProps) => { const html = await codeToHtml(code, { lang, - themes: { - light: 'github-light-default', - dark: 'github-dark-default', - }, - defaultColor: false, + theme: geistShikiTheme, }); return (