# Unexpected dark theme

**URL:** https://meta.discourse.org/t/unexpected-dark-theme/263490
**Category:** Support
**Created:** [May 2, 2023, 9:55am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490 "2023-05-02T09:55:24Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![BH10](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@BH10](https://meta.discourse.org/u/BH10)
#### Post date: [May 2, 2023, 9:55am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/1 "2023-05-02T09:55:24Z")

</div>

Hey, everyone.

A few months ago, I enabled the dark theme on the discourse forum to test something and disabled it the same day. Now one of the users just notified me that his theme had been dark on all devices since then. Users can not select the theme and it’s not enabled by default.

 ![dark](https://global.discourse-cdn.com/meta/original/4X/e/5/f/e5f295f7c5d70f5d54a40fbd658afb1cc0eee6bb.png)

Any help would be appreciated! Thanks!

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 2, 2023, 10:03am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/2 "2023-05-02T10:03:22Z")

</div>

Hi 🙂

> [@BH10](#):
>
> Users can not select the theme

On your screenshot, **Theme can be selected by users** isn’t checked, so it’s expected that users can’t select this theme.

---

<div class="post-metadata">

### Author: ![BH10](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@BH10](https://meta.discourse.org/u/BH10)
#### Post date: [May 2, 2023, 10:21am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/3 "2023-05-02T10:21:58Z")

</div>

Hi, sorry for the confusion.

Indeed only one theme is enabled by default. The dark is not enabled, so it’s expected that no one will have it/be able to select it. However, one user just notified me, he’s using the dark theme, which is quite strange.

I suspect he managed to select the option when I was testing this theme. However, is there a way to make sure only one theme is enabled for all users and on all their devices?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [May 2, 2023, 10:25am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/4 "2023-05-02T10:25:31Z")

</div>

This is pretty strange; a theme should reset to the default if you remove the current theme as an option.

For this specific user, I suppose you could go change his setting as as admin.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 2, 2023, 10:38am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/5 "2023-05-02T10:38:14Z")

</div>

Are you sure they’re not using the proper available theme, but with a dark color scheme? Can you paste a screenshot from this part of their preferences in their profile?

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/3/2/432aa7eaff180d9ae28b5520abb606dc31c59a18.png)

---

<div class="post-metadata">

### Author: ![BH10](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@BH10](https://meta.discourse.org/u/BH10)
#### Post date: [May 2, 2023, 10:51am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/6 "2023-05-02T10:51:19Z")

</div>

Sure, he’s using the correct theme and doesn’t have any browser extension to make it dark. Below is a picture from his device.

 ![image (15)](https://global.discourse-cdn.com/meta/original/4X/d/9/6/d96c3af0ed510016bf6ce26d805e2ec74820687a.png)

Here’s 👇 the theme I’m using and the one that should be used by all other users.

 ![2](https://global.discourse-cdn.com/meta/original/4X/c/a/9/ca98c108dd07c78d105cb9643070a360dafd8e9a.png)

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 2, 2023, 11:04am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/7 "2023-05-02T11:04:59Z")

</div>

Your screenshots show a color scheme, not a theme. The theme should be displayed above, like in my screenshot.  
Can you screenshot that as well? 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [May 2, 2023, 11:07am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/8 "2023-05-02T11:07:22Z")

</div>

Is this a case of `default dark mode color scheme id`?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [May 2, 2023, 11:10am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/9 "2023-05-02T11:10:08Z")

</div>

Earlier things went a bit sideways if admin deleted color scheme that was in use. That situation got fixed when user changed color scheme — and missing color scheme was named somekind similar way.

If dark color scheme is setuped then it should show there, no matter if user’s device uses dark mode.

Logout, login — I reckon.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 2, 2023, 11:36am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/10 "2023-05-02T11:36:01Z")

</div>

I tried to repro with no success, do you have some steps to provide?

---

<div class="post-metadata">

### Author: ![BH10](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@BH10](https://meta.discourse.org/u/BH10)
#### Post date: [May 2, 2023, 12:25pm UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/11 "2023-05-02T12:25:19Z")

</div>

I believe it may be the colour scheme that’s causing the issue and not the theme. But I still can’t figure out how to fix it for that user and globally, in case others are having the same issue. I hope the info below may be helpful in solving this mystery 🧐

- The default dark mode color scheme id` is set to “None”, if that helps.
- Only one color scheme is enabled & can be selected by users.

Thanks a lot, everyone for your time and for helping out - I appreciate it.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 2, 2023, 11:46am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/12 "2023-06-02T11:46:59Z")

</div>

Hey @BH10, did you figure out in the end?

---

<div class="post-metadata">

### Author: ![BH10](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@BH10](https://meta.discourse.org/u/BH10)
#### Post date: [June 26, 2023, 8:56am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/13 "2023-06-26T08:56:40Z")

</div>

Hey.

Yes, I managed to fix it. I had to enable the dark mode again, and then the user had to switch from dark to white, and it was fixed afterwards.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 26, 2023, 8:56am UTC](https://meta.discourse.org/t/unexpected-dark-theme/263490/14 "2023-07-26T08:56:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
