# Chat e-mailmelding gebruikt hardgecodeerde tekstkleur in titel, maar niet op achtergrond

**URL:** https://meta.discourse.org/t/chat-email-notification-uses-hard-coded-text-color-in-title-but-not-in-background/304299
**Category:** UX
**Tags:** chat
**Created:** [17 april 2024 om 13:17 UTC](https://meta.discourse.org/t/chat-email-notification-uses-hard-coded-text-color-in-title-but-not-in-background/304299 "2024-04-17T13:17:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [17 april 2024 om 13:17 UTC](https://meta.discourse.org/t/chat-email-notification-uses-hard-coded-text-color-in-title-but-not-in-background/304299/1 "2024-04-17T13:17:22Z")

</div>

The chat summary email notification uses a [hard coded](https://github.com/discourse/discourse/blob/672f7523a1c84cca6933024848ef5547c407e180/plugins/chat/app/views/user_notifications/chat_summary.html.erb#L17) `#0a0a0a` color, regardless of the color scheme. There are more places where this happens but in this case the background color of the header is not hard coded as well, but taken from the color scheme.

So now, when the color scheme’s header background is dark, this produces black on black text.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [18 april 2024 om 14:16 UTC](https://meta.discourse.org/t/chat-email-notification-uses-hard-coded-text-color-in-title-but-not-in-background/304299/2 "2024-04-18T14:16:25Z")

</div>

Thanks for reporting it, I’m replacing it with `header_color` here:

[https://github.com/discourse/discourse/pull/26676](https://github.com/discourse/discourse/pull/26676)
