Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpchen committed Feb 5, 2025
1 parent 8c639c2 commit 1882886
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
},
Expand Down
5 changes: 5 additions & 0 deletions docs/services/ThemeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, RemoteThemeInfo>;

export type ThemeName = keyof typeof themeInfos;
Expand Down

0 comments on commit 1882886

Please sign in to comment.