Repository navigation
Fix dracula revealjs theme coloring <b> in callout titles - #15037
Merged
Merged
Conversation
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
The dracula theme colors bold text with --r-bold-color but excludes callout titles, which Quarto wraps in <strong>. The exclusion for <b> targeted `.callout-tile b`, a class no element has, so a raw HTML <b> in a callout title still turned orange while <strong> did not. The theme file is regenerated from the reveal.js upstream theme through revealjs-theme-0001-dracula.patch, so the patch gets the same fix; otherwise the next theme update would bring the typo back.
cderv
force-pushed
the
fix/dracula-callout-tile-typo
branch
from
October 13, 2026 15:57
dc58f8b to
e97d4aa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the
dracularevealjs theme, a raw HTML<b>inside a callout title gets the theme's bold color (orange), while<strong>in the same title keeps the body color.Callout titles are wrapped in
<strong>, so the theme excludes bold elements inside.callout-titlefrom--r-bold-color(added in 3a9a494). The<b>part of that selector was written.callout-tile b, which matches nothing.The selector is fixed in
dracula.scssand also inrevealjs-theme-0001-dracula.patch, which regenerates the theme from upstream reveal.js. Otherwise the next theme update would bring the typo back. The Playwright test for the dracula callout title now also checks<b>and nested<strong>in a title.Checklist
I have (if applicable):
AI-assisted PR
Note: autonomous AI agents submitting PRs without human oversight are not permitted — see the Code of Conduct.