Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Nov 20, 2024
1 parent 208d759 commit 63a3116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rehype-d2/src/svgStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function svgStrategy({
]
);
}
case "img-class-dark-mode": {
case "picture-dark-mode": {
if (!darkSvg)
return figure(cssClass, [image({ svg: lightSvg, width, height })]);

Expand Down

0 comments on commit 63a3116

Please sign in to comment.