# 允许用户选择新的调色板

**URL:** https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857
**Category:** Site Management
**Tags:** how-to, users
**Created:** [2017年四月12日 17:15 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857 "2017-04-12T17:15:19Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![foodaginnovators](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foodaginnovators/32/120067_2.png) [@foodaginnovators](https://meta.discourse.org/u/foodaginnovators)
#### Post date: [2017年十月19日 18:04 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857/27 "2017-10-19T18:04:03Z")

</div>

> [@foodaginnovators](#):
>
> .logo-small { display: block; -moz-box-sizing: border-box; box-sizing: border-box; background: url(awesome-dark-icon.png) no-repeat; width: 40px; height: 40px; padding-left: 150px; background-size: 40px 40px; }

That was it, my bad. I thought the padding was creating the margin on the left, but was definitely the cause. Thanks @awesomerobot.

---

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [2018年三月4日 22:43 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857/28 "2018-03-04T22:43:22Z")

</div>

Is there a way to allow users to select a theme without making it a public option? So only a person with the URL can use the theme?

A bit like how you can select the mobile view with:

[Discourse | Where Tech Companies Build Communities](http://discourse.org/?mobile_view=1) (switch off with [this](http://discourse.org/?mobile_view=0))

---

<div class="post-metadata">

### Author: ![Bernstein](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bernstein/32/304070_2.png) [@Bernstein](https://meta.discourse.org/u/Bernstein)
#### Post date: [2018年七月1日 13:39 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857/29 "2018-07-01T13:39:34Z")

</div>

Thanks for posting this.

I used your css for .logo-small, but deleted the padding-left. When I delete the padding I see the other theme’s small logo overlaid on the new theme’s small logo. Did you run into that same problem? Did you update this css?

---

<div class="post-metadata">

### Author: ![EddieOne](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eddieone/32/116016_2.png) [@EddieOne](https://meta.discourse.org/u/EddieOne)
#### Post date: [2019年二月13日 20:10 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857/30 "2019-02-13T20:10:07Z")

</div>

Thanks, I wanted a dark theme for a long time but the bosses prefer light themes as they don’t code. This solves that.

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [2019年五月17日 07:47 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857/31 "2019-05-17T07:47:34Z")

</div>

Can I set the default template for each user group (trust level) separately?

[上一頁](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857.md?page=1)
