# Theme idea: Toggle selector for light or dark theme in header row

**URL:** https://meta.discourse.org/t/theme-idea-toggle-selector-for-light-or-dark-theme-in-header-row/153426
**Category:** Feature
**Created:** [May 31, 2020, 11:14pm UTC](https://meta.discourse.org/t/theme-idea-toggle-selector-for-light-or-dark-theme-in-header-row/153426 "2020-05-31T23:14:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [May 31, 2020, 11:25pm UTC](https://meta.discourse.org/t/theme-idea-toggle-selector-for-light-or-dark-theme-in-header-row/153426/2 "2020-05-31T23:25:24Z")

</div>

We have already theme components to switch between light and dark mode

> [@Theme Switcher Component](https://meta.discourse.org/t/theme-switcher-component/113460):
>
> [[deprecated](https://meta.discourse.org/t/theme-switcher-component/113460/40)] Hey Discourse Community, after a lot of requests I share a Theme Switcher component, encapsulated from my [Alien Night Theme](https://meta.discourse.org/t/alien-night-theme-a-free-dark-theme-for-discourse/54175). For now, once pressed the button it will switch your theme into a dark mode theme. Later on I can maybe implement a setting page, where you can define your own global CSS class your theme should switch into. Or just toggle between the first two themes you allowed for users to choose from… Installation & Download [https://github.com/B-iggy/discourse-them…](https://github.com/B-iggy/discourse-theme-switcher)

> [@Dark Mode Automatic Theme Switcher](https://meta.discourse.org/t/dark-mode-automatic-theme-switcher/112071):
>
> warning Discourse now supports [Automatic Dark Mode color scheme switching](https://meta.discourse.org/t/automatic-dark-mode-color-scheme-switching/161593) in core, this component is now deprecated and should no longer be used. [Repository](https://github.com/pmusaraj/discourse-dark-mode): https://github.com/pmusaraj/discourse-dark-mode Installation instructions: [Installing a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)What this does? This component allows automatic switching to a dark theme when the browser is set to dark mode. This works for logged-in users only on all browsers that support the [prefers-color-scheme](https://caniuse.com/#feat=prefers-color-scheme) media query. By de…

---

_[View the full topic](https://meta.discourse.org/t/theme-idea-toggle-selector-for-light-or-dark-theme-in-header-row/153426)._
