Skip to content

Commit 8f123bc

Browse files
committedFeb 16, 2025··
Switch shiki themes to catppuccin
First of all, the previously used material palenight did not look good at all in light mode, so we needed specific themes for dark and light. Secondly, the catppuccin themes have more symmetry across dark and light and I think they make some better (though subtle) scoping decisions.
1 parent 39ffac4 commit 8f123bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎docs/.vitepress/config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ export default defineConfig({
185185
},
186186
},
187187
markdown: {
188-
theme: 'material-theme-palenight',
188+
theme: {
189+
light: 'catppuccin-latte',
190+
dark: 'catppuccin-macchiato',
191+
},
189192
lineNumbers: true,
190193
config: md => {
191194
md.use(markdownItDeflist);

0 commit comments

Comments
 (0)
Please sign in to comment.