There is a 1 -> 1 relationship between four instances of colors in my stylesheet that color module is not changing when I switch schemes.

What I mean by 1 -> 1 is that the colors that aren't being changed although they are defined as one of the five colors in the default scheme. Here is my CSS with the colors that aren't changing:

#header h1,
#slogan {
float: left;
font-size: 2.6em;
margin: 0;
color: #B29269; <-- not switching, defined as base
}

#content div.links {
background: #F5EFE9 none repeat scroll 0 0;
border: 1px solid #B29269;
color: #B29269; <-- not switching, defined as base
padding: 5px;
}

#right h2 {
border-bottom: 2px solid #B29269;
margin: 5px 0;
font-size: 1.125em;
color: #5C3F1C; <-- not switching, defined as header
}

----

Default color scheme:

'#B29269,#df783e,#F79F1A,#5C3F1C,#666666' => t('Sherbet (Default)'),

----

I've also tried simplifying and saving these styles in a stylesheet containing only this and it still doesn't work:

#slogan,
.submitted,
div.links {
color: #B29269;
}

#right {
color: #5B3E1C;
}

Comments

johanneshahn’s picture

Hi,
is your scheme (cant find it as drupal default scheme) at the top position of the

<?php
array('schemes' => array(
...

scheme array?

because the first entry in the array would only be used as the reference to find the colors in your
style.css.

http://drupal.org/node/108459

creatile’s picture

Title: Color.module not changing certain colors in stylesheet » Color.module error with ck editor
Version: 6.14 » 6.15

Hi
I had a bug installing ckeditor module during ckeditor configuration on modules/color/color.module

Link of the problem :
admin/settings/ckeditor/edit/Default

* warning: array_keys() [function.array-keys]: The first argument should be an array in C:\wamp\www\abridrupal\modules\color\color.module on line 138.
* warning: array_shift() [function.array-shift]: The argument should be an array in C:\wamp\www\abridrupal\modules\color\color.module on line 139.

devin carlson’s picture

Title: Color.module error with ck editor » Color.module not changing certain colors in stylesheet
Version: 6.15 » 6.x-dev
Status: Active » Closed (fixed)

Refer to the information johanneshahn provided in comment #1.

creatile, your issue is a duplicate of #654266: color_get_palette warnings.