# Restore default light theme after deleting it

**URL:** https://meta.discourse.org/t/restore-default-light-theme-after-deleting-it/100096
**Category:** Support
**Created:** [21.Октябрь.2018 11:35:59 UTC](https://meta.discourse.org/t/restore-default-light-theme-after-deleting-it/100096 "2018-10-21T11:35:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [21.Октябрь.2018 11:35:59 UTC](https://meta.discourse.org/t/restore-default-light-theme-after-deleting-it/100096/1 "2018-10-21T11:35:59Z")

</div>

Hi guys,

Had a bug the other day where setting default theme wasn’t behaving swapping from light to dark etc, this persisted through log/out/in and a rebuild. In the end I removed the light/default theme to “fix” it thinking I could just fetch the light theme from here somewhere and I can’t see it.

Is the native theme available as a standalone somewhere that I’m missing or do I have to wait and upgrade discourse when the next main update comes along?

Thanks

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [21.Октябрь.2018 12:26:19 UTC](https://meta.discourse.org/t/restore-default-light-theme-after-deleting-it/100096/2 "2018-10-21T12:26:19Z")

</div>

#### a. Restoring the default theme

Deleting the Light theme is not a big problem. You can easily recreate it. The Light theme is nothing more than an empty theme set to the Light color-scheme.

So, let’s say your theme list currently looks like this

 ![Screenshot%20from%202018-10-21%2019-56-16](https://global.discourse-cdn.com/meta/original/3X/a/6/a66df3c2affe7f59fd9d25889dda435542dc26ce.png)

Here’s what you need to do

1. **Create a new theme by clicking here:**

2. **Make sure the color-scheme for your new “Light” theme is set to “Light Scheme” - which it should be by default**

3. **Set your new “Light” theme as the default theme for your community**

That would be all you need to do to restore the Light theme as the default theme.

#### b. The problem you were trying to solve when you deleted the Light theme

Are you on the latest version of Discourse?

I know you said

> [@DNSTARS](#):
>
> this persisted through log/out/in

but there was a bug that only affected site admins where the theme set in your user-preferences - as an admin - would continue to be used even if that theme is no longer user-selectable.

That bug was fixed here:

[https://github.com/discourse/discourse/commit/879067d0009ad4db4669af59215a4921e75afbc1](https://github.com/discourse/discourse/commit/879067d0009ad4db4669af59215a4921e75afbc1)

Once you get the Light theme back, can you please verify that you’re still seeing the problem?

---

<div class="post-metadata">

### Author: ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### Post date: [21.Октябрь.2018 12:33:24 UTC](https://meta.discourse.org/t/restore-default-light-theme-after-deleting-it/100096/3 "2018-10-21T12:33:24Z")

</div>

Works and the bug has gone with adding the theme back again, was and still am on build 2.2.0.beta3+82 for info.

Thanks guys.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [20.Ноябрь.2018 12:33:29 UTC](https://meta.discourse.org/t/restore-default-light-theme-after-deleting-it/100096/4 "2018-11-20T12:33:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
