-
Notifications
You must be signed in to change notification settings - Fork 328
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
link are no more underlined by default #11509
Comments
@cscheid is that intended change on our HTML default for brand to match other format ? |
I think it's very likely that instead of $link-decoration: inherit !default; you'd want to use $link-decoration: null !default; That's especially true if we were previously not setting |
This rule is set by bootstrap in
And it was used with own bootstrap defined default value
But now the rule is set by us too and the variable apply before bootstrap one
What does |
IIUC the goal of defining If I'm right about that, then // Bootstrap: _variables.scss
$def: bootstrap !default;
// Quarto _bootstrap-variables.scss
$def: null !default;
a {
text-decoration: #{$def}
} It's something like the above snippet, if Bootstrap's |
This is not an intentional change! (Ah, to have good visual testing 🫠) It's just a matter of replacing |
@gadenbuie This is the case here where it has been added in
And in revealjs, links are not underlined by default so this is not a visible change; Revealjs sets it to none in its common theme quarto-cli/src/resources/formats/revealjs/reveal/css/theme/template/theme.scss Lines 268 to 272 in 88819d5
The new rules will make the element inherit from parent element and so it could be underline or not. 🤷 Also Regarding your example, I believe the layering that happens in quarto is this one // Quarto _bootstrap-variables.scss
$def: null !default;
// Bootstrap: _variables.scss
$def: bootstrap !default;
a {
text-decoration: #{$def}
} it seems to also work. though it seems to me that as
Revealjs theme doesn't use a variable for this but we could also start patching completely the revealjs themes so that it behaves closer to boostrap on all the pieces we need for brand. |
I think this is a regression Quarto 1.6 compared to Quarto 1.5 due to this
to support brand feature regarding typography on link
brand.typography.link
for HTML formats #11254The default has been changed to
inherit
quarto-cli/src/resources/formats/html/bootstrap/_bootstrap-variables.scss
Line 272 in 88819d5
which overwrite previous rule set by bootstrap
quarto-cli/src/resources/formats/html/bootstrap/dist/scss/_variables.scss
Line 462 in 88819d5
Originally posted by @cderv in #11496 (comment)
Quarto 1.6
Quarto 1.5
The text was updated successfully, but these errors were encountered: