Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ All changes included in 1.11:
- ([#15091](https://github.com/quarto-dev/quarto-cli/pull/15091)): Fix page-level `bread-crumbs`, `back-to-top-navigation`, `page-navigation`, `margin-header` and `margin-footer` options not being validated or offered for completion in editors. A page value of the wrong type now fails to render with an error instead of being accepted silently.
- ([#15091](https://github.com/quarto-dev/quarto-cli/pull/15091)): Fix `open-graph: false` or `twitter-card: false` in page front matter or `_metadata.yml` not disabling Open Graph or Twitter Card metadata for that page when the website enables it.
- ([#15114](https://github.com/quarto-dev/quarto-cli/pull/15114)): Fix a website category containing backticks showing broken text in the page title block, and a category containing a backslash, such as a Windows path, failing the render or losing its backslashes.
- ([#15176](https://github.com/quarto-dev/quarto-cli/issues/15176)): Fix the listing styles of website projects overriding `!default` values of a theme, such as `$border-color`, `$border-radius` and the grays of Bootswatch themes. Websites now get the same theme colors as a standalone document. (author: @Don-Yin)
- ([#15206](https://github.com/quarto-dev/quarto-cli/issues/15206)): Fix website listings attaching another update handler on every URL hash change, and an extra one per additional listing on the same page.
- ([#15217](https://github.com/quarto-dev/quarto-cli/pull/15217)): Fix website listings updating twice for each click on a pagination link.

Expand Down
2 changes: 1 addition & 1 deletion src/resources/projects/website/listing/quarto-listing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
}

/*-- scss:variables --*/
/*-- scss:defaults --*/

// Since we use these colors, we need to ensure that they
// are defined (for example, if no theme is specified)
Expand Down
2 changes: 2 additions & 0 deletions tests/docs/smoke-all/2026/10/26/issue-15176/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.quarto/
**/*.quarto_ipynb
6 changes: 6 additions & 0 deletions tests/docs/smoke-all/2026/10/26/issue-15176/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
project:
type: website

format:
html:
theme: [default, custom.scss]
3 changes: 3 additions & 0 deletions tests/docs/smoke-all/2026/10/26/issue-15176/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*-- scss:defaults --*/
$border-color: #ff0000 !default;
$border-radius: 1rem !default;
10 changes: 10 additions & 0 deletions tests/docs/smoke-all/2026/10/26/issue-15176/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "issue-15176"
_quarto:
tests:
html:
ensureCssRegexMatches:
- ['--bs-border-color:\s*#ff0000', '--bs-border-radius:\s*1rem']
---

A website theme sets `$border-color` and `$border-radius` with `!default`, and the listing styles must not override them.
Loading