# Regarding theme-color

**URL:** https://meta.discourse.org/t/regarding-theme-color/61890
**Category:** Bug
**Created:** [May 1, 2017, 4:27am UTC](https://meta.discourse.org/t/regarding-theme-color/61890 "2017-05-01T04:27:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![endy.jasmi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/endy.jasmi/32/71523_2.png) [@endy.jasmi](https://meta.discourse.org/u/endy.jasmi)
#### Post date: [May 1, 2017, 4:27am UTC](https://meta.discourse.org/t/regarding-theme-color/61890/1 "2017-05-01T04:27:30Z")

</div>

Hello, I am new here.

First and foremost I would like to say that discourse is an awesome piece of software.

Anyway, my problem was, I have created my own color scheme through `Customize > Colors` tab. With the `header_background` set to `BE1E2D`.

Everything is working fine visually except the meta still generate white color like the following `<meta name="theme-color" content="#ffffff">`. Because of this, the address bar in chrome for android is showing in white color.

Based on my research from [https://github.com/discourse/discourse/blob/master/app/views/layouts/\_head.html.erb](https://github.com/discourse/discourse/blob/master/app/views/layouts/_head.html.erb) the `theme-color` should change according to ColorScheme header-background.

Also, from [discourse/app/controllers/metadata\_controller.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/controllers/metadata_controller.rb) , we can also see that the `theme_color` should also generate from `header-background` but it is also showing `#ffffff` in manifest.json.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 1, 2017, 1:30pm UTC](https://meta.discourse.org/t/regarding-theme-color/61890/2 "2017-05-01T13:30:15Z")

</div>

Good catch, yeah we should probably take that color from the active color scheme.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 5, 2017, 6:11pm UTC](https://meta.discourse.org/t/regarding-theme-color/61890/4 "2017-05-05T18:11:54Z")

</div>

Looks like @neil fixed this here ❣

> **[FIX: emails should use default theme colors · discourse/discourse@389a0e1](https://github.com/discourse/discourse/commit/389a0e)**
>
> A platform for community discussion. Free, open, simple. - FIX: emails should use default theme colors · discourse/discourse@389a0e1

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 5, 2017, 6:11pm UTC](https://meta.discourse.org/t/regarding-theme-color/61890/5 "2017-05-05T18:11:57Z")

</div>


