# Automatic Night Mode Plugin

**URL:** <https://meta.discourse.org/t/automatic-night-mode-plugin/86174>\
**Category:** Feature\
**Created:** [April 25, 2018, 7:37pm UTC](https://meta.discourse.org/t/automatic-night-mode-plugin/86174 "2018-04-25T19:37:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![BlackKnob](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackknob/32/93549_2.png) [@BlackKnob](https://meta.discourse.org/u/BlackKnob)\
**Post date:** [April 25, 2018, 7:37pm UTC](https://meta.discourse.org/t/automatic-night-mode-plugin/86174/1 "2018-04-25T19:37:12Z")

</div>

Some users have been asking about automatic switching between a light and a dark theme. Could this be accomplished with a plugin?

I assume this would need two parts:

- a theme component with a javascript switching themes based on local time

- a Discourse plugin adding options to the user preferences page:  
turn night mode switching on/off, choose nighttime theme, set time nighttime time period

How difficult would it be to code? As in, how much would it cost?

---

_[View the full topic](https://meta.discourse.org/t/automatic-night-mode-plugin/86174)._
