# Out-of-the-box dark/light theme selection

**URL:** https://meta.discourse.org/t/out-of-the-box-dark-light-theme-selection/62048
**Category:** Announcements
**Tags:** new-feature
**Created:** [3 mei 2017 om 15:40 UTC](https://meta.discourse.org/t/out-of-the-box-dark-light-theme-selection/62048 "2017-05-03T15:40:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3 mei 2017 om 15:40 UTC](https://meta.discourse.org/t/out-of-the-box-dark-light-theme-selection/62048/1 "2017-05-03T15:40:39Z")

</div>

For our upcoming release @codinghorror really wanted dark/light/large font theme selection out of the 🗃

Following this commit our default installs will have this enabled:

[https://github.com/discourse/discourse/commit/342ef5f81a34dc6d79b4d12b4533ed764ea21510](https://github.com/discourse/discourse/commit/342ef5f81a34dc6d79b4d12b4533ed764ea21510)

### How it works?

- When database is seeded (happens every time migrations run) we check how many themes exist.

- If 0 themes exist, we will seed 2 themes, a default one and a dark one, we mark both themes as user selectable.

### What this means to you?

- If you already have themes and theme components defined you will have to follow [the official howto](https://meta.discourse.org/t/allow-users-to-select-dark-light-theme/60857) to create the selectors. We can not safely provide this option to you cause you already started customizing and there is high likelihood we will mess stuff up. (what if you have theme components, what if you already have this defined, etc)

- If you delete **all your themes** , the “stock” themes will re-appear magically next time you migrate. So instead, if you do not care for the feature just mark the themes as not user selectable or create your own theme.

### What is next?

I am going to try to cobble up a Large Font theme.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [1 december 2023 om 10:38 UTC](https://meta.discourse.org/t/out-of-the-box-dark-light-theme-selection/62048/3 "2023-12-01T10:38:01Z")

</div>


