# 登录页面的 .d-header 颜色是应该使用 \`secondary\` 颜色吗？

**URL:** <https://meta.discourse.org/t/is-the-login-page-d-header-color-supposed-to-be-the-secondary-color/379972>\
**Category:** UX\
**Created:** [2025年八月22日 23:31 UTC](https://meta.discourse.org/t/is-the-login-page-d-header-color-supposed-to-be-the-secondary-color/379972 "2025-08-22T23:31:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2025年八月22日 23:31 UTC](https://meta.discourse.org/t/is-the-login-page-d-header-color-supposed-to-be-the-secondary-color/379972/1 "2025-08-22T23:31:09Z")

</div>

您好，我刚刚升级到 3.5.0，偶然发现登录页面的标题颜色已更改：

```css
body.login-page .d-header {
   background-color: var(--secondary);
}

```

这似乎有些奇怪，因为标题中经常会有依赖于正常 `var(--header_background)` 颜色的文本和/或图像，而 `var(--secondary)` 通常是浅色。

---

_[View the full topic](https://meta.discourse.org/t/is-the-login-page-d-header-color-supposed-to-be-the-secondary-color/379972)._
