feat: support light/dark theme in code blocks (#327)

Update Astro and its related dependencies. Support
light/dark theme in code-blocks.
This commit is contained in:
Sat Naing
2024-07-21 16:18:22 +07:00
committed by GitHub
parent 2a78fd6e59
commit 9de19c2c68
4 changed files with 1533 additions and 1642 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ export default defineConfig({
],
],
shikiConfig: {
theme: "one-dark-pro",
// For more themes, visit https://shiki.style/themes
themes: { light: "min-light", dark: "night-owl" },
wrap: true,
},
},