Skip to content

Commit 7f5aa6d

Browse files
authored
Merge pull request #11326 from quarto-dev/bugfix/10819
append hash to dark-mode compiled css
2 parents eaf85ae + e81c4a3 commit 7f5aa6d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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)