fix(brand): Apply monospace-inline and monospace-block font family #1762
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.
Fixes #1761
I mapped the
typography.monospace-inline.family
andtypography.monospace-block.family
values to Sass variables (font-family-monospace-inline
andfont-family-monospace-block
, using the same naming as Quarto), but forgot to apply these in CSS rules.While here, I updated the monospace inline rules to better catch "inline" code, i.e.
code:not(pre > code)
instead of justcode
.The example in #1761 works with this change, as well as using different values for inline and block, e.g.