# Automatic Dark Mode

**URL:** <https://meta.discourse.org/t/automatic-dark-mode/278606>\
**Category:** Support\
**Tags:** auto-dark\
**Created:** [September 11, 2023, 8:36pm UTC](https://meta.discourse.org/t/automatic-dark-mode/278606 "2023-09-11T20:36:45Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![kynic](https://avatars.discourse-cdn.com/v4/letter/k/b487fb/32.png) [@kynic](https://meta.discourse.org/u/kynic)\
**Post date:** [September 13, 2023, 2:53pm UTC](https://meta.discourse.org/t/automatic-dark-mode/278606/15 "2023-09-13T14:53:03Z")

</div>

So I have to do this to be clear:

`cd /var/discourse`

`./launcher enter app`

Then

```plaintext
UserOption.where.not(dark_scheme_id: nil).find_each do |uo|
    uo.update(dark_scheme_id: nil)
end

```

Right?

---

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