feat: update theme handling and improve icons
All checks were successful
build dist / build-dist (push) Successful in 47s

This commit is contained in:
z0x 2025-05-23 21:04:11 -04:00
parent 0e48c6baf7
commit 17a1981fba
8 changed files with 45 additions and 49 deletions

View file

@ -27,7 +27,7 @@ export default defineConfig({
themes: ["github-light", "github-dark"],
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],
useDarkModeMediaQuery: false,
themeCssSelector: (theme) => `.${theme.name.split("-")[1]}`,
themeCssSelector: (theme) => `[data-theme="${theme.name.split("-")[1]}"]`,
defaultProps: {
wrap: true,
collapseStyle: "collapsible-auto",