diff --git a/apps/docs/astro.config.mjs b/apps/docs/astro.config.mjs index 76b8be531..2158e4488 100644 --- a/apps/docs/astro.config.mjs +++ b/apps/docs/astro.config.mjs @@ -11,7 +11,11 @@ export default defineConfig({ integrations: [mdx()], markdown: { shikiConfig: { - theme: 'github-light', + defaultColor: 'light-dark()', + themes: { + dark: 'github-dark', + light: 'github-light', + }, transformers: [ { name: 'code-block-title', diff --git a/apps/docs/src/components/docs/Callout.astro b/apps/docs/src/components/docs/Callout.astro index e0dadaeb3..56757227b 100644 --- a/apps/docs/src/components/docs/Callout.astro +++ b/apps/docs/src/components/docs/Callout.astro @@ -7,9 +7,9 @@ interface Props { const { kind = 'note', title = kind === 'tip' ? 'Tip' : kind === 'warning' ? 'Caution' : 'Note' } = Astro.props; --- -