-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line-height for code? #15
Comments
Agreed, let's keep |
I take this back, I think typography:
monospace:
family:
weight:
style:
line-height: # block code
color: # inline code
background-color: # inline code That said, if you can can set the colors of inline code, why not block code? An alternative would be to have variants of typography:
monospace:
family:
weight:
style:
monospace-inline:
color:
background-color:
monospace-block:
line-height:
color:
background-color: or to make typography:
monospace:
family:
weight:
style:
inline:
color:
background-color:
block:
line-height:
color:
background-color:
To circle back to this, I think it's okay for us to also write CSS rules and not just adjust Sass variables. Or for us to plug into Quarto Sass variables (if there happens to be one for code blocks). |
No big reason. But that's not a thing that our current themes control, and I just wanted to flag it in case something similar is happening in bslib. In order for block-level code to have controllable line heights, we'll need actual changes in the themes, and that's not been the case so far for Quarto. |
Quarto will have SCSS and theming support for code line-height. It'd be great if bslib supported the same names. |
Closing in favor of #16 which covers this and additional typographic field updates. |
It appears to me that bootstrap themes don't appear to allow line-height to be configured for monospace fonts, even though our schema allows it.
Should we disallow that or should we patch the scss? (Or, am I wrong?)
The text was updated successfully, but these errors were encountered: