--- cumulus.module	2009-02-06 12:00:57.000000000 -0700
+++ cumulus.module.new	2009-03-18 14:48:08.619279400 -0600
@@ -79,10 +79,24 @@ function cumulus_block($op = 'list', $de
       $form['flash_color'] = array(
         '#type' => 'textfield',
         '#title' => t('Font color of cumulus'),
-        '#default_value' => variable_get('cumulus_flash_color', '000000'),
+        '#default_value' => variable_get('cumulus_flash_color', 'ff0000'),
         '#maxlength' => 6,
         '#description' => t('The hex color value you would like to use for the tags. E.g. 000000.'),
       );
+      $form['flash_color2'] = array(
+        '#type' => 'textfield',
+        '#title' => t('Second font color of cumulus'),
+        '#default_value' => variable_get('cumulus_flash_color2', '000000'),
+        '#maxlength' => 6,
+        '#description' => t('Second tag color. If supplied, tags will get a color from a gradient between both colors based on their popularity.'),
+      );
+      $form['flash_hicolor'] = array(
+        '#type' => 'textfield',
+        '#title' => t('Highlight color of cumulus'),
+        '#default_value' => variable_get('cumulus_flash_hicolor', '666666'),
+        '#maxlength' => 6,
+        '#description' => t('The hex color value you would like to use for the tag mouseover/hover color'),
+      );
       $form['flash_speed'] = array(
         '#type' => 'textfield',
         '#title' => t('Rotation speed'),
@@ -125,6 +139,8 @@ function cumulus_block($op = 'list', $de
       variable_set('cumulus_flash_background', $edit['flash_background']);
       variable_set('cumulus_flash_transparency', $edit['flash_transparency']);
       variable_set('cumulus_flash_color', $edit['flash_color']);
+      variable_set('cumulus_flash_color2', $edit['flash_color2']);
+      variable_set('cumulus_flash_hicolor', $edit['flash_hicolor']);
       variable_set('cumulus_flash_speed', $edit['flash_speed']);
       variable_set('cumulus_flash_distribute', $edit['flash_distribute']);
       variable_set('cumulus_flash_font_size', $edit['flash_font_size']);
@@ -164,6 +180,8 @@ function cumulus_block($op = 'list', $de
         'height' => variable_get('cumulus_flash_height', 1),
         'background' => variable_get('cumulus_flash_background', 'ffffff'),
         'color' => '0x'. variable_get('cumulus_flash_color', '000000'),
+        'color2' => '0x'. variable_get('cumulus_flash_color2', 'ff0000'),
+        'hicolor' => '0x'. variable_get('cumulus_flash_hicolor', '666666'),
         'speed' => variable_get('cumulus_flash_speed', 220),
         'distribute' => variable_get('cumulus_flash_distribute', 'true'),
       );
@@ -184,6 +202,8 @@ function cumulus_block($op = 'list', $de
           {$param['transparency']}
           widget_so.addParam("allowScriptAccess", "always");
           widget_so.addVariable("tcolor", "{$param['color']}");
+          widget_so.addVariable("tcolor2", "{$param['color2']}");
+          widget_so.addVariable("hicolor", "{$param['hicolor']}");
           widget_so.addVariable("tspeed", "{$param['speed']}");
           widget_so.addVariable("distr", "{$param['distribute']}");
           widget_so.addVariable("mode", "tags");
