Skip to content

Commit e81c4a3

Browse files
committed
append hash to dark-mode compiled css
1 parent eaf85ae commit e81c4a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/command/render/pandoc-html.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ export async function resolveSassBundles(
120120
targets.push({
121121
name: `${dependency}-dark.min.css`,
122122
bundles: darkBundles,
123-
attribs: attribForThemeStyle("dark", defaultStyle),
123+
attribs: {
124+
"append-hash": "true",
125+
...attribForThemeStyle("dark", defaultStyle),
126+
},
124127
});
125128

126129
hasDarkStyles = true;

0 commit comments

Comments
 (0)