--- /Volumes/SG External/rocks/Downloads/Stuff Content Mgmt/Drupal/themes/bartik-3-1/color/color.inc +++ /Volumes/SG External/rocks/Downloads/Stuff Content Mgmt/Drupal/themes/bartik changed color.inc @@ -1,14 +1,60 @@ array( + 'base' => t('Base color'), + 'link' => t('Link color'), + 'top' => t('Header top'), + 'bottom' => t('Header bottom'), + 'text' => t('Text color'), + ), // Pre-defined color schemes. 'schemes' => array( - '#ffffff,#0073b6,#000000,#3d3d3d,#3b3b3b' => t('Bartik Default'), - '#ffffff,#0073b6,#2385c2,#5ab5ee,#3b3b3b' => t('Blue Lagoon'), - '#f6eecc,#6B2454,#461453,#6B2454,#2c233f' => t('Plum'), - '#ffffff,#087095,#78B91A,#5b8b15,#585858' => t('Fresh'), - ), + 'default' => array( + 'title' => t('Bartik (Default)'), + 'colors' => array( + 'base' => '#ffffff', + 'link' => '#0073b6', + 'top' => '#000000', + 'bottom' => '#3d3d3d', + 'text' => '#3b3b3b', + ), + ), + 'Blue Lagoon' => array( + 'title' => t('Blue Lagoon'), + 'colors' => array( + 'base' => '#ffffff', + 'link' => '#0073b6', + 'top' => '#2385c2', + 'bottom' => '#5ab5ee', + 'text' => '3b3b3b', + ), + ), + 'Plum' => array( + 'title' => t('Plum'), + 'colors' => array( + 'base' => '#f6eecc', + 'link' => '#6b2454', + 'top' => '#461453', + 'bottom' => '#6b2454', + 'text' => '#2c2333f', + ), + ), + 'Fresh' => array( + 'title' => t('Fresh'), + 'colors' => array( + 'base' => '#f6ffff', + 'link' => '#087095', + 'top' => '#78b91a', + 'bottom' => '#5b8b15', + 'text' => '#585858', + ), + ), +), // CSS files (excluding @import) to rewrite with new color scheme. 'css' => array( @@ -20,8 +66,19 @@ 'logo.png', ), - // Coordinates of gradient (x, y, width, height). - 'gradient' => array(0, 0, 0, 0), + + // Gradient definitions. + 'gradients' => array( + array( + // (x, y, width, height). + 'dimension' => array(0, 0, 0, 0), + // Direction of gradient ('vertical' or 'horizontal'). + 'direction' => 'vertical', + // Keys of colors to use for the gradient. + 'colors' => array('top', 'bottom'), + ), + ), + // Color areas to fill (x, y, width, height). 'fill' => array(),