Skip to content

Commit 7aa9dba

Browse files
remove extra class setting
we set quarto-light or quarto-dark at the end of this script, with the correct setting. so there is no need to set it here.
1 parent a91fdcd commit 7aa9dba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/resources/formats/html/templates/quarto-html-before-body.ejs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
}
2222
}
2323
24-
toggleBodyColorPrimary();
25-
26-
2724
const toggleColorMode = (alternate) => {
2825
// Switch the stylesheets
2926
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');

0 commit comments

Comments
 (0)