There's a problem with our color module support.

Changing to a preset gets this warning:

# Notice: Undefined index: base in _color_rewrite_stylesheet() (line 438 of /Users/joachim/Sites/7-drupal/modules/color/color.module).

The reason is this in color.module:

  $base = 'base';
// ... SNIP
      if ($key = array_search($chunk, $default)) {
        $chunk = $conversion[$key];
      }
      // Not a pre-set color. Extrapolate from the base.
      else {
        $chunk = _color_shift($palette[$base], $default[$base], $chunk, $info['blend_target']);
      }

So basically, it looks like 'base' must be a defined color in a scheme -- it's hardcoded into colour module.

Comments

joachim’s picture

This might have been due to my testing #762462: Make footer background and sidebar block borders colorable -- I applied the patch and then reversed it and there may have been glitches due to color module's wacky pseudocaching.

Steven Merrill’s picture

With Drupal HEAD upped and with Bartik HEAD cvs upped -dPCA , I cannot reproduce this.

bleen’s picture

Status: Active » Closed (won't fix)

I too cannot reproduce ... if anyone else can, please re-open

joachim’s picture

Yeah me neither.

Steven Merrill’s picture

Status: Closed (won't fix) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.