# Le schéma de couleurs génère des couleurs inattendues

**URL:** https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008
**Category:** Development
**Created:** [Juin 15, 2018, 9:59 UTC](https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008 "2018-06-15T21:59:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [Juin 15, 2018, 9:59 UTC](https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008/1 "2018-06-15T21:59:39Z")

</div>

> [@Color Scheme Contest (with Prizes!)](https://meta.discourse.org/t/color-scheme-contest-with-prizes/89432/14):
>
> Why are some of the font colors set automatically? Like on the main page they seem to be different shades of the background color, which is a weird choice as that makes a lot of the text really hard to read.

> [@Color Scheme Contest (with Prizes!)](https://meta.discourse.org/t/color-scheme-contest-with-prizes/89432/18):
>
> Some elements seem to be hardcoded based on the master values, or iterated off of them which amounts to the same effect.

Today we manually entered a color scheme in a forum, all the colors at once (well, we only changed tertiary, quaternary, success and love) and then a lot of text in the admin interface (like site settings descriptions `.admin-customize .colors .description`) turned a weird blue color.  
We removed the scheme and entered the colors one by one, hitting Save in between. And the descriptions stayed grey…

Can someone elaborate how this works? (and I think there might be a few bugs or nondeterministic/non-idempotent things there)

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [Juin 15, 2018, 10:12 UTC](https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008/2 "2018-06-15T22:12:42Z")

</div>

Admin panel isn’t a good gauge of how a theme looks. From my experience, it retains whatever CSS you had while navigating to it, but drops any custom header/footer. If you’re hitting the admin panel directly, it doesn’t load any new CSS, nor does it auto-load on any changes. The results are sometimes not the prettiest, but it allows a functional admin panel to be accessible even with a broken theme, which is the important part.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [Juin 15, 2018, 10:21 UTC](https://meta.discourse.org/t/color-scheme-outputs-unexpected-colors/90008/3 "2018-06-15T22:21:46Z")

</div>

> [@Color Scheme Contest (with Prizes!)](https://meta.discourse.org/t/color-scheme-contest-with-prizes/89432/24):
>
> Admin panel isn’t a good gauge of how a theme looks

I know. But we started investigating this and it turned out the text was in a color that wasn’t even in the color scheme, and that made me wonder how these colors are determined.

> [@Color Scheme Contest (with Prizes!)](https://meta.discourse.org/t/color-scheme-contest-with-prizes/89432/24):
>
> nor does it auto-load on any changes

It did. Yes, that was new for me too. Usually one can hit F5 once you’re in /admin and then you get rid of all the weirdness, but this time we got a very light blue and we couldn’t get rid of it until we removed the color scheme.
