# Add support for theme settings

**URL:** https://meta.discourse.org/t/add-support-for-theme-settings/78103
**Category:** Feature
**Created:** [January 15, 2018, 10:32pm UTC](https://meta.discourse.org/t/add-support-for-theme-settings/78103 "2018-01-15T22:32:53Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [March 5, 2018, 7:26am UTC](https://meta.discourse.org/t/add-support-for-theme-settings/78103/6 "2018-03-05T07:26:14Z")

</div>

This is now merged in! 🤩😍😻

I also implemented the ability consume settings in theme JavaScript like so: [https://github.com/discourse/discourse-linkify-words/blob/master/common/head\_tag.html#L3](https://github.com/discourse/discourse-linkify-words/blob/master/common/head_tag.html#L3) (must be a `type="test/discourse-plugin"`)

@Osama I feel we do need a few refinements if you feel up to it:

Not a huge fan of having this in the UI, I am fine for all the config to happen in the remote git repo. This is very much a feature for ninja theme creators and not the general public.

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/c/1ca76a17fc5c40043eca4c7d5ef0247d2b618fa2.png)

We don’t need this, cause we already have a theme section:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/1/61c15d4e573414c576114fdb5625b4b73aa7bfcb.png)

Lastly, we need a fancy #howto here explaining how to use it and to update:

> [@Structure of themes and theme components](https://meta.discourse.org/t/how-to-develop-custom-themes/60848):
>
> Discourse supports [native themes](https://meta.discourse.org/t/native-theme-support/47494/26) that can be sourced from a .tar.gz archive or from a remote git repository including [private repositories](https://meta.discourse.org/t/how-to-source-a-theme-from-a-private-git-repository/82584). An example theme is at: [GitHub - discourse/discourse-simple-theme: Sam's simple discourse theme · GitHub](https://github.com/SamSaffron/discourse-simple-theme) The git repository will be checked for updates ([once a day](https://github.com/discourse/discourse/blob/main/app/jobs/scheduled/check_out_of_date_themes.rb)), or by using the Check for Updates button. When changes are detected the Check for Updates button will change to the Update to Latest. [image] To create a theme you need to foll…

If you can give it a shot 💟

---

_[View the full topic](https://meta.discourse.org/t/add-support-for-theme-settings/78103)._
