diff --git a/setup/shiki.ts b/setup/shiki.ts index 29a89c8..69a6e86 100644 --- a/setup/shiki.ts +++ b/setup/shiki.ts @@ -1,10 +1,10 @@ import { defineShikiSetup } from '@slidev/types'; -export default defineShikiSetup(async ({ loadTheme }) => { +export default defineShikiSetup(() => { return { theme: { - dark: await loadTheme(require.resolve('theme-vitesse/themes/vitesse-dark.json')), - light: await loadTheme(require.resolve('theme-vitesse/themes/vitesse-light.json')), + dark: 'vitesse-dark', + light: 'vitesse-light', }, }; });