Skip to content

Conversation

@mcanouil
Copy link
Collaborator

@mcanouil mcanouil commented Dec 9, 2025

Move the light-content / dark-content SCSS rules to the right SCCS file.

Fixes #13722

@mcanouil mcanouil self-assigned this Dec 9, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Dec 9, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Collaborator

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some thoughts and context about how theming system works in Quarto and where it could be place.

This PR needs testing too.

(and yes I know this is not marked for review, but I was in PR review mode and it was not draft 😅 )

@mcanouil mcanouil marked this pull request as draft December 9, 2025 12:51
@mcanouil mcanouil marked this pull request as ready for review December 10, 2025 20:49
@mcanouil
Copy link
Collaborator Author

mcanouil commented Dec 10, 2025

I've made the changes, but how can you test that compiled SCSS rules get included in the output? ensureHtmlElements only check the HTML and if embed-ressources is used, you still don't have a literal string to search in.

edit: I figured it out, there is a playwright testing suite.

@mcanouil mcanouil marked this pull request as draft December 10, 2025 21:56
…de tests as revealjs does not support dark mode
@mcanouil mcanouil marked this pull request as ready for review December 10, 2025 22:18
@mcanouil mcanouil changed the title fix: light-content / dark-content SCSS rules not included in Reveal.js format fix(theme): light-content / dark-content SCSS rules not included in Reveal.js format Dec 10, 2025
@mcanouil mcanouil marked this pull request as draft December 11, 2025 10:18
@mcanouil mcanouil marked this pull request as ready for review December 11, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

light-content / dark-content SCSS rules not included in Reveal.js format

3 participants