We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff8e1f8 commit 276591eCopy full SHA for 276591e
1 file changed
src/resources/formats/html/templates/quarto-html-before-body.ejs
@@ -41,7 +41,9 @@
41
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
42
manageTransitions('#quarto-margin-sidebar .nav-link', false);
43
if (alternate) {
44
- // note: dark is layered on light, we don't disable primary!
+ // note: we don't disable primary, but we need to disable light highlighting
45
+ const lightHighlightStylesheets = window.document.querySelectorAll('link#quarto-text-highlighting-styles:not(.quarto-color-alternate)')
46
+ disableStylesheet(lightHighlightStylesheets)
47
enableStylesheet(alternateStylesheets);
48
for (const sheetNode of alternateStylesheets) {
49
if (sheetNode.id === "quarto-bootstrap") {
0 commit comments