# Dark/Light Mode Toggle

**URL:** <https://meta.discourse.org/t/dark-light-mode-toggle/215585>\
**Category:** Theme component\
**Tags:** deprecated, dark-mode-toggle\
**Created:** [January 21, 2022, 6:50pm UTC](https://meta.discourse.org/t/dark-light-mode-toggle/215585 "2022-01-21T18:50:36Z")\
**Posts on this page:** 1\
**Showing post:** 99

<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:** [May 18, 2023, 3:17am UTC](https://meta.discourse.org/t/dark-light-mode-toggle/215585/99 "2023-05-18T03:17:30Z")

</div>

I think I have a fix for this now in [FIX: Case when user has disabled auto-switching by pmusaraj · Pull Request #24 · discourse/discourse-color-scheme-toggle · GitHub](https://github.com/discourse/discourse-color-scheme-toggle/pull/24), can you give that a try @jordan.vidrine.

To be clear, the PR addresses this use case:

> [@RGJ](#):
>
> So to get the manual toggle, you have to enable automatic switching. 🤔

When the user has disabled auto-switching, the component will now make a request for the site’s default dark color scheme. If there is one, it will load it, and then it will be able to toggle it.

---

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