# 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:** 13

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [April 3, 2019, 12:52pm UTC](https://meta.discourse.org/t/automatic-night-mode-plugin/86174/13 "2019-04-03T12:52:30Z")

</div>

I don’t think we support custom user fields in themes at the moment. I do see the use case for them though, it’s nice to be able to ship a theme component with a user-configurable setting.

There is a fairly hacky workaround, to add a field in the UI only and then store the data in local storage or the session. That’s what I did on the experimental automatic dark mode switch for Safari, you can look at the code of that component to see how it’s done.

---

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