diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 45c352aa..ede4f65a 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -17,10 +17,9 @@ const vitepressConfig = defineConfig({ markdown: { lineNumbers: true, theme: { - // light: await themeService.getTheme('Eva Light'), + light: await themeService.getTheme('Eva Light'), // dark: await themeService.getTheme('Eva Dark'), - light: 'light-plus', - dark: 'dark-plus', + dark: await themeService.getTheme('Rider Dark'), }, codeTransformers: [transformerTwoslash()], }, diff --git a/docs/services/ThemeService.ts b/docs/services/ThemeService.ts index ab8706bf..01818076 100644 --- a/docs/services/ThemeService.ts +++ b/docs/services/ThemeService.ts @@ -31,6 +31,11 @@ const themeInfos = { path: 'VSCode/themes/Eva-Dark.json', branch: 'master', }, + 'Rider Dark': { + repo: 'edsulaiman/jetbrains-rider-dark-theme', + path: 'themes/JetBrains Rider Dark Theme-color-theme.json', + branch: 'main', + }, } satisfies Record; export type ThemeName = keyof typeof themeInfos;