Skip to content

Commit bff3f0e

Browse files
fix(default-theme): ec data-theme selector (#117)
1 parent 793b33a commit bff3f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/mdx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function getRehypePlugins(sbConfig: SolidBaseResolvedConfig<any>) {
136136
{
137137
themes: ["github-dark", "github-light"],
138138
themeCssSelector: (theme: ExpressiveCodeTheme) =>
139-
`[data-theme="${theme.type}"]`,
139+
`[data-theme*="${theme.type}"]`,
140140
plugins,
141141
defaultProps: {
142142
showLineNumbers: false,

0 commit comments

Comments
 (0)