# 更改所选 CHAT 消息块的高亮颜色

**URL:** <https://meta.discourse.org/t/change-highlight-color-of-selected-chat-message-block/393290>\
**Category:** Support\
**Tags:** chat, color-palettes\
**Created:** [2026年一月13日 03:40 UTC](https://meta.discourse.org/t/change-highlight-color-of-selected-chat-message-block/393290 "2026-01-13T03:40:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年一月14日 16:18 UTC](https://meta.discourse.org/t/change-highlight-color-of-selected-chat-message-block/393290/3 "2026-01-14T16:18:06Z")

</div>

那看起来不对劲。

 ![Screenshot 2026-01-14 at 8.13.02 AM](https://global.discourse-cdn.com/meta/original/4X/f/4/7/f47518a003047bc442298238a3f4f8405631860b.png)

我认为它应该使用 `var(--d-selected)`，在 `Grey Amber`（灰琥珀色）中它应该是 `#272727`。看起来颜色可能被覆盖了？

请在 `/admin/config/colors/` 检查您的 `Grey Amber` 调色板，它应该看起来像这样：

 ![Screenshot 2026-01-14 at 8.14.11 AM](https://global.discourse-cdn.com/meta/original/4X/b/f/a/bfa0b56648f2ab56caeed42c206b7029bd4220be.png)

代码在这里：

> <https://github.com/discourse/discourse/blob/8418b1ab01aa116b736aba0bf894038561b5ec73/app/models/color_scheme.rb#L51C1-L64C7>

---

_[View the full topic](https://meta.discourse.org/t/change-highlight-color-of-selected-chat-message-block/393290)._
