Skip to content

Commit

Permalink
feat: support light/dark theme in code blocks (#327)
Browse files Browse the repository at this point in the history
Update Astro and its related dependencies. Support
light/dark theme in code-blocks.
  • Loading branch information
satnaing authored Jul 21, 2024
1 parent 2a78fd6 commit 9de19c2
Show file tree
Hide file tree
Showing 4 changed files with 1,671 additions and 1,780 deletions.
3 changes: 2 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down
Loading

0 comments on commit 9de19c2

Please sign in to comment.