# Automatic Day/Night Mode (theme) switch when it is actually night

**URL:** https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013
**Category:** Feature
**Created:** [April 14, 2017, 10:49pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013 "2017-04-14T22:49:05Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![voogarix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/voogarix/32/148089_2.png) [@voogarix](https://meta.discourse.org/u/voogarix)
#### Post date: [April 14, 2017, 10:49pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/1 "2017-04-14T22:49:05Z")

</div>

Hi. It would be good to add feature to change theme color by day and night time. i think it would be very good for people who loves communicate at night time 😃

(sorry, my english sucks)

---

<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: [April 14, 2017, 10:52pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/2 "2017-04-14T22:52:05Z")

</div>

Hmmm…

 ![](https://global.discourse-cdn.com/meta/original/3X/a/c/ac51518baf69822279f1eff6563e70aa25ba9625.PNG)

---

<div class="post-metadata">

### Author: ![voogarix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/voogarix/32/148089_2.png) [@voogarix](https://meta.discourse.org/u/voogarix)
#### Post date: [April 14, 2017, 11:10pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/3 "2017-04-14T23:10:41Z")

</div>

i mean automatic change

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 15, 2017, 1:36am UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/4 "2017-04-15T01:36:47Z")

</div>

One issue per topic please do not shoehorn in three completely unrelated topics into one topic.

This would need to be a plugin as you would need to know the current users time zone. Plus it would be weird.

---

<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: [April 15, 2017, 1:40am UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/5 "2017-04-15T01:40:40Z")

</div>

> [@codinghorror](#):
>
> Plus it would be weird.

I guess the future is sunset mode theme, where it calculates your time zone, looks up sunset, and for the hour a prior to sunset gradually moves to the dark theme, live

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [April 15, 2017, 2:41am UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/6 "2017-04-15T02:41:48Z")

</div>

Automatic? No thank you if you please.  
On the other hand, I think having a light / dark toggle in the hamburger menu might not be such a bad thing for those that would use it. 💡

---

<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: [April 15, 2017, 2:48am UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/7 "2017-04-15T02:48:36Z")

</div>

> [@Mittineague](#):
>
> I think having a light / dark toggle in the hamburger menu might not be such a bad thing for those that would use it.

This is doable today in a theme

---

<div class="post-metadata">

### Author: ![voogarix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/voogarix/32/148089_2.png) [@voogarix](https://meta.discourse.org/u/voogarix)
#### Post date: [April 15, 2017, 8:32pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/8 "2017-04-15T20:32:21Z")

</div>

How? Can you show the way to make this please?

---

<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: [April 15, 2017, 8:35pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/9 "2017-04-15T20:35:45Z")

</div>

Sure, I will get to it next week

---

<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: [April 18, 2017, 7:27pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/10 "2017-04-18T19:27:57Z")

</div>

FYI

> [@Hamburger Theme Selector](https://meta.discourse.org/t/hamburger-theme-selector/61210):
>
> warning This theme component is #end-of-life and is no longer supported This theme component no longer works in recent versions of Discourse. Please see [Sidebar Theme Toggle](https://meta.discourse.org/t/sidebar-theme-toggle/242802) as an alternative. discourse2Summary Hamburger Theme Selector adds a theme selector in the hamburger menu provided there is more than 1 user selectable theme. This selector works with both logged-on users and anonymous users.hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-ham…](https://github.com/discourse/discourse-hamburger-theme-selector)

---

<div class="post-metadata">

### Author: ![EducatorWaji](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/educatorwaji/32/66699_2.png) [@EducatorWaji](https://meta.discourse.org/u/EducatorWaji)
#### Post date: [April 18, 2017, 8:20pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/11 "2017-04-18T20:20:33Z")

</div>

Let me be clear, I hate the whole Idea of the user selectible themes. I sometimes works opposite what we expect unless our site has only two theme options. One is light theme and another dark.

But, Talking about the automatic day and night themes are more like fancy lighting on a Lamborghini. Not all users love dark theme, like me. I get bored easliy reading with black backgrounds. If you are going to implement something like sunset themes, You should then provide an option to user to choose what theme to make default for him.

---

<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: [April 18, 2017, 8:38pm UTC](https://meta.discourse.org/t/automatic-day-night-mode-theme-switch-when-it-is-actually-night/61013/12 "2017-04-18T20:38:13Z")

</div>

> [@EducatorWaji](#):
>
> If you are going to implement something like sunset themes, You should then provide an option to user to choose what theme to make default for him.

I have **zero** plans to implement an crazy sunset mode, you don’t need to be worried about that. I also have **zero** plans to implement automatic theme selection based on a user’s local time.
