File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/resources/formats/html/templates Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4141 const alternateStylesheets = window .document .querySelectorAll (' link.quarto-color-scheme.quarto-color-alternate' );
4242 manageTransitions (' #quarto-margin-sidebar .nav-link' , false );
4343 if (alternate) {
44- // note: dark is layered on light, we don't disable primary!
44+ // 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)
4547 enableStylesheet (alternateStylesheets);
4648 for (const sheetNode of alternateStylesheets) {
4749 if (sheetNode .id === " quarto-bootstrap" ) {
You can’t perform that action at this time.
0 commit comments