Skip to content
Merged
4 changes: 4 additions & 0 deletions news/changelog-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ All changes included in 1.9:
- ([#13667](https://github.com/quarto-dev/quarto-cli/issues/13667)): Fix LaTeX compilation error with Python error output containing caret characters.
- ([#13730](https://github.com/quarto-dev/quarto-cli/issues/13730)): Fix TinyTeX detection when `~/.TinyTeX/` directory exists without binaries. Quarto now verifies that the bin directory and tlmgr binary exist before reporting TinyTeX as available, allowing proper fallback to system PATH installations.

### `revealjs`

- ([#13722](https://github.com/quarto-dev/quarto-cli/issues/13722)): Improve handling of light and dark content in `revealjs` format. `light-content` and `dark-content` SCSS rules are now included in the proper SCSS file, ensuring proper styling for light and dark modes divs, mostly for multiformat documents. (author: @mcanouil)

## Projects

### `website`
Expand Down
12 changes: 12 additions & 0 deletions src/resources/formats/revealjs/quarto.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1114,3 +1114,15 @@ $callouts: (
}
}
}

/*********************************************
* LIGHT AND DARK CONTENT
*********************************************/

body.quarto-light .dark-content {
display: none !important;
}

body.quarto-dark .light-content {
display: none !important;
}
12 changes: 0 additions & 12 deletions src/resources/formats/revealjs/reveal/css/reveal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1535,18 +1535,6 @@ $controlsArrowAngleActive: 36deg;
transition-duration: 1200ms;
}

/*********************************************
* LIGHT AND DARK CONTENT
*********************************************/

body.quarto-light .dark-content {
display: none !important;
}

body.quarto-dark .light-content {
display: none !important;
}

/*********************************************
* OVERLAY FOR LINK PREVIEWS AND HELP
*********************************************/
Expand Down
Loading