Skip to content

Commit 1882886

Browse files
committed
main
1 parent 8c639c2 commit 1882886

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/.vitepress/config.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ const vitepressConfig = defineConfig({
1717
markdown: {
1818
lineNumbers: true,
1919
theme: {
20-
// light: await themeService.getTheme('Eva Light'),
20+
light: await themeService.getTheme('Eva Light'),
2121
// dark: await themeService.getTheme('Eva Dark'),
22-
light: 'light-plus',
23-
dark: 'dark-plus',
22+
dark: await themeService.getTheme('Rider Dark'),
2423
},
2524
codeTransformers: [transformerTwoslash()],
2625
},

docs/services/ThemeService.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ const themeInfos = {
3131
path: 'VSCode/themes/Eva-Dark.json',
3232
branch: 'master',
3333
},
34+
'Rider Dark': {
35+
repo: 'edsulaiman/jetbrains-rider-dark-theme',
36+
path: 'themes/JetBrains Rider Dark Theme-color-theme.json',
37+
branch: 'main',
38+
},
3439
} satisfies Record<string, RemoteThemeInfo>;
3540

3641
export type ThemeName = keyof typeof themeInfos;

0 commit comments

Comments
 (0)