# 已发布的页面未使用 theme-set 的 --font-family 和 --header-font-family

**URL:** https://meta.discourse.org/t/published-pages-do-not-use-theme-set-font-family-and-header-font-family/389718
**Category:** Bug
**Tags:** page-publishing
**Created:** [2025 年11 月 26 日 13:02 UTC](https://meta.discourse.org/t/published-pages-do-not-use-theme-set-font-family-and-header-font-family/389718 "2025-11-26T13:02:56Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jordan.vidrine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan.vidrine/32/515563_2.png) [@jordan.vidrine](https://meta.discourse.org/u/jordan.vidrine)
#### Post date: [2025 年11 月 28 日 19:57 UTC](https://meta.discourse.org/t/published-pages-do-not-use-theme-set-font-family-and-header-font-family/389718/4 "2025-11-28T19:57:41Z")

</div>

感谢您的报告！此问题的修复已在此 PR 中应用，我们刚刚合并了该 PR。

> <https://github.com/discourse/discourse/pull/36325>
>
> The color scheme stylesheets (which define \*much more\* than colors) were being l…oaded into the body of a published page, overwriting any theme CSS that was loaded in the header.
> 
> This properly loads the color-scheme stylesheet in the header in an order where theme css will have priority.
> 
> reported on meta: https://meta.discourse.org/t/published-pages-do-not-use-theme-set-font-family-and-header-font-family/389718

---

_[View the full topic](https://meta.discourse.org/t/published-pages-do-not-use-theme-set-font-family-and-header-font-family/389718)._
