? 444396.patch
? 444396.patch.new
Index: acquia_marina.info
===================================================================
RCS file: /cvs/drupal/contributions/themes/acquia_marina/acquia_marina.info,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 acquia_marina.info
--- acquia_marina.info	24 Oct 2008 08:17:02 -0000	1.1.2.2
+++ acquia_marina.info	13 May 2009 23:41:39 -0000
@@ -5,6 +5,9 @@ description = <a href="http://www.acquia
 
 core = 6.x
 engine = phptemplate
+
+color = TRUE
+
 stylesheets[all][] = style.css
 stylesheets[all][] = icons.css
 stylesheets[all][] = local.css
Index: style.css
===================================================================
RCS file: /cvs/drupal/contributions/themes/acquia_marina/style.css,v
retrieving revision 1.1.2.22
diff -u -p -r1.1.2.22 style.css
--- style.css	13 May 2009 10:47:13 -0000	1.1.2.22
+++ style.css	13 May 2009 23:41:40 -0000
@@ -76,7 +76,7 @@ h6 {
 /*****************/
 
 a {
-  color: #27638C;
+  color: #27638C; /* t: Link */
   margin: 0;
   padding: 0;
   text-decoration: none;
@@ -84,8 +84,8 @@ a {
 
 a:link,
 a:visited {
-  color: #27638C;
-}  
+  color: #27638C; /* t: Link */
+}
 
 a:hover,
 a:active {
@@ -182,7 +182,7 @@ div.terms ul li {
 }
 
 /* adjust openid link */
-html.js #user-login-form li.openid-processed, 
+html.js #user-login-form li.openid-processed,
 html.js #user-login li.openid-processed {
   font-weight: bold;
   list-style-type: none;
@@ -269,7 +269,7 @@ div.content th img {
   -moz-border-radius-bottomleft: 12px;
   -moz-border-radius-bottomright: 12px;
   -webkit-border-bottom-left-radius: 10px;
-  -webkit-border-bottom-right-radius: 10px; 
+  -webkit-border-bottom-right-radius: 10px;
 }
 
 #search-box input#edit-search-theme-form-1 {
@@ -281,7 +281,7 @@ div.content th img {
   background: #EFEBE7;
   border: 1px solid #ccc;
   color: #194765;
-  cursor: pointer; 
+  cursor: pointer;
   font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
   font-size: 1.1em;
   font-weight: normal;
@@ -383,20 +383,20 @@ div.content th img {
   float: left;    /* LTR */
   width: 100%;
 }
-  
+
 #preface-wrapper.prefaces-2 div.column {
   display: inline;
   float: left;    /* LTR */
   margin: 0 14px;
   width: 47%;
 }
-  
+
 #preface-wrapper.prefaces-3 div.column {
   display: inline;
   float: left;    /* LTR */
   margin: 0 14px;
   width: 30%;
-} 
+}
 
 #preface-wrapper a:link,
 #preface-wrapper a:visited {
@@ -514,7 +514,7 @@ div.content > a:link img {
   float: left;    /* LTR */
   padding: 0 8px;
   width: 32%;
-} 
+}
 
 
 /*****************/
@@ -673,10 +673,10 @@ body.full-node.layout-first-main-last #s
 
 .clearfix:after {                                 /* add .clearfix class to clear floats after an element */
   clear: both;                                    /* (IE version is in ie6-fixes.css) */
-  content: "."; 
+  content: ".";
   display: block;
   font-size: 0;
-  height: 0; 
+  height: 0;
   visibility: hidden;
 }
 
@@ -692,25 +692,25 @@ h1.title {                              
   font-size: 1.833em;
   font-weight: 600;
   line-height: 1.272em;
-}  
+}
 
 h2.title {                                        /* block titles, node titles */
   font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
   font-size: 1.333em;
   font-weight: 600;
   text-transform: uppercase;
-}  
+}
 
 h2.title a:link,
 h2.title a:visited {
-}  
+}
 
 
 h2.title a:hover,
 h2.title a:active {
   color: #619CBE;
   text-decoration: none;
-}  
+}
 
 div.node h2.title {
   border-bottom: 1px solid #d6ddb9;
@@ -746,7 +746,7 @@ div.node .links a {
   font-size: 0.9em;
   font-weight: bold;
   margin: 0;
-}  
+}
 
 #content-content .node ul.links li.comment_forbidden a {
   padding-right: 4px;    /* LTR */
@@ -857,7 +857,7 @@ div.terms ul li {
 
 #preface-wrapper h2.block-title {
   background-color: transparent;
-  color: #94CE18;
+  color: #94CE18; /* t: Color 1 (opposing) */
   font-size: 1em;
   padding: 0;
 }
@@ -875,11 +875,11 @@ body.layout-first-main-last #sidebar-las
 #sidebar-first h2.block-title,
 #sidebar-last h2.block-title,
 #postscript-wrapper h2.block-title {
-  background-color: #94CE18;
+  background-color: #94CE18; /* t: Color 1 */
   color: #fff;
   padding: 8px 8px 6px 46px;
   text-align: right;
-  text-shadow: #545454 1px 1px; 
+  text-shadow: #545454 1px 1px;
   -moz-border-radius-topleft: 3px;
   -moz-border-radius-topright: 3px;
   -webkit-border-top-left-radius: 4px;
@@ -895,7 +895,7 @@ body.layout-first-main-last #sidebar-las
   -moz-border-radius-bottomleft: 6px;
   -moz-border-radius-bottomright: 6px;
   -webkit-border-bottom-left-radius: 4px;
-  -webkit-border-bottom-right-radius: 4px; 
+  -webkit-border-bottom-right-radius: 4px;
 }
 
 /* non-rounded blocks styles = prefaces & layout-main-last blocks */
@@ -946,7 +946,7 @@ body.layout-main-last #sidebar-last h2.b
 /***************/
 
 div.block ul li a,
-div.block ul.menu li a {								
+div.block ul.menu li a {
   font-size: 1em;
   font-weight: bold;
 }
@@ -986,26 +986,26 @@ p.rounded-bottomspace {
   margin-bottom: -10px;                               /* removes unwanted space */
 }
 
-div.rounded-block-top-left, 
-div.rounded-block-top-right, 
-div.rounded-block-bottom-left, 
-div.rounded-block-bottom-right { 
+div.rounded-block-top-left,
+div.rounded-block-top-right,
+div.rounded-block-bottom-left,
+div.rounded-block-bottom-right {
   background: transparent url('images/rounded-block.png') no-repeat;                         /* combined rounded corner image */
   font-size: 2px;                                 /* IE div correction */
   height: 11px;                                   /* height of an image corner */
 }
 
-body.layout-main-last #sidebar-last div.rounded-block-top-left, 
-body.layout-main-last #sidebar-last div.rounded-block-top-right, 
-body.layout-main-last #sidebar-last div.rounded-block-bottom-left, 
-body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
+body.layout-main-last #sidebar-last div.rounded-block-top-left,
+body.layout-main-last #sidebar-last div.rounded-block-top-right,
+body.layout-main-last #sidebar-last div.rounded-block-bottom-left,
+body.layout-main-last #sidebar-last div.rounded-block-bottom-right {
   background: none;
   font-size: inherit;
   height: auto;
 }
 
-div.rounded-block-top-left, 
-div.rounded-block-bottom-left { 
+div.rounded-block-top-left,
+div.rounded-block-bottom-left {
   margin-right: 11px;                             /* width of an image corner */
 }
 
@@ -1014,21 +1014,21 @@ div.rounded-block-top-right {           
 }
 
 div.rounded-block-top-right,
-div.rounded-block-bottom-right { 
+div.rounded-block-bottom-right {
   margin-left: 11px;                              /* width of an image corner */
   margin-top: -11px;                              /* height of an image corner */
 }
 
 body.layout-main-last #sidebar-last div.rounded-block-top-right,
-body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
+body.layout-main-last #sidebar-last div.rounded-block-bottom-right {
   margin: 0;
 }
 
-div.rounded-block-bottom-left  { 
+div.rounded-block-bottom-left  {
   background-position: 0 -11px;                   /* negative height of an image corner */
 }
 
-div.rounded-block-bottom-right { 
+div.rounded-block-bottom-right {
   background-position: 100% -11px;                /* negative height of an image corner */
 }
 
@@ -1066,24 +1066,24 @@ div.rounded-inside {
   position: relative;
   text-transform: uppercase;
 }
-  
+
 #primary-menu ul.links li {                       /* text styling for the top (primary) menu */
-}  
+}
 
 #primary-menu ul.links li.first {                 /* .first and .last classes applied to first and last menu & list items */
 }
-  
+
 #primary-menu ul.links li.last {                  /* .first and .last classes applied to first and last menu & list items */
 }
-  
+
 #primary-menu ul.links li a:link,
 #primary-menu ul.links li a:visited {
 }
 
 #primary-menu ul.links li a:hover,
 #primary-menu ul.links li a:active {
-}  
-  
+}
+
 
 /************************************/
 /* PRIMARY MENU WITH DROPDOWNS      */
@@ -1109,7 +1109,7 @@ div.rounded-inside {
 
 #primary-menu ul.menu li a {
   background: transparent url('images/tab-right.png') no-repeat right 0;
-  color: #154B70;
+  color: #154B70; /* t: Link */
   display: block;
   padding: 0.416em 0.833em 0.083em 0;    /* 5px 10px 1px 0 */
   text-decoration: none;
@@ -1133,16 +1133,16 @@ div.rounded-inside {
   width: 144px;
   z-index: 2;
 }
-  
+
 #primary-menu ul.menu li:hover ul,
 #primary-menu ul.menu li.hover ul {
   display: block;
   left: auto;
 }
-  
+
 #primary-menu ul.menu li ul li {
-  background: #94CE18;
-  border-bottom: 1px solid #83A638;
+  background: #94CE18; /* t: Color 1 */
+  border-bottom: 1px solid #83A638; /* t: Color 1 */
   float: left;
   font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
   font-size: 0.916em;
@@ -1191,7 +1191,7 @@ div.rounded-inside {
   padding: 4px;
   width: 128px;
 }
-  
+
 /******************/
 /* SECONDARY MENU */
 /******************/
@@ -1275,7 +1275,7 @@ body.layout-main-last #breadcrumb {
 #content-tabs ul.secondary li a:visited {
   background-color: transparent;
   border: none;
-  color: #27638C;
+  color: #27638C; /* t: Link */
   float: left;    /* LTR */
   font-size: 1.1em;
   line-height: 1.2em;
@@ -1287,29 +1287,29 @@ body.layout-main-last #breadcrumb {
 
 #content-tabs ul.secondary li a:link,
 #content-tabs ul.secondary li a:visited {
-  color: #27638C;
+  color: #27638C; /* t: Link */
   font-size: 1em;
   line-height: 1.1em;
 }
 
 #content-tabs ul.primary li a.active:link,
 #content-tabs ul.primary li a.active:visited {
-  border-bottom: 4px solid #94CE18;
-  color: #27638C;
+  border-bottom: 4px solid #94CE18; /* t: Color 1 */
+  color: #27638C; /* t: tab link color */
   padding-bottom: 2px;
 }
 
 #content-tabs ul.secondary li a.active:link,
 #content-tabs ul.secondary li a.active:visited {
-  border-bottom: 4px solid #94CE18;
-  color: #27638C;
+  border-bottom: 4px solid #94CE18; /* t: Color 1 */
+  color: #27638C; /* t: tab link color */
   padding-bottom: 2px;
 }
 
 #content-tabs ul.primary li a:hover,
 #content-tabs ul.secondary li a:hover {
-  border-bottom: 4px solid #94CE18;
-  color: #4A95C8;
+  border-bottom: 4px solid #94CE18; /* t: Color 1 */
+  color: #4A95C8; /* t: Color 2 */
   padding-bottom: 2px;
 }
 
@@ -1363,7 +1363,7 @@ input.form-submit:hover,
 input.teaser-button:hover  {
   background-position: right center;
   cursor: pointer;
-}  
+}
 
 fieldset {
   border: 1px solid #D6DDB9;
@@ -1427,7 +1427,7 @@ body.layout-main-last input.form-text {
   font-size: 1em;
   font-weight: bold;
   padding: 4px;
-  text-decoration: none; 
+  text-decoration: none;
 }
 
 #main-wrapper .pager li.pager-current {
@@ -1504,7 +1504,7 @@ tr.odd td {
 }
 
 td.active {
-  
+
 }
 
 tbody {
@@ -1737,18 +1737,18 @@ blockquote a:link {
   margin: 0.5em;
 }
 
-#forum td.created, 
-#forum td.posts, 
-#forum td.topics, 
+#forum td.created,
+#forum td.posts,
+#forum td.topics,
 #forum td.last-reply,
-#forum td.replies, 
+#forum td.replies,
 #forum td.pager {
   white-space: nowrap;
 }
 
-#forum td.posts, 
-#forum td.topics, 
-#forum td.replies, 
+#forum td.posts,
+#forum td.topics,
+#forum td.replies,
 #forum td.pager {
   text-align: center;
 }
@@ -1857,7 +1857,7 @@ blockquote a:link {
     background: white;
     font-size: 10pt;
   }
-   
+
   #header,
   #header-top,
   #header-wrapper,
@@ -1891,8 +1891,14 @@ blockquote a:link {
     padding: 0;
     width: auto;
   }
-  
+
   #content-wrapper {
     margin: 0 3%;
   }
 }
+
+/* For color.module editor fields */
+input.hex {
+  background: none;
+  background-image: none;
+}
Index: template.php
===================================================================
RCS file: /cvs/drupal/contributions/themes/acquia_marina/template.php,v
retrieving revision 1.1.2.15
diff -u -p -r1.1.2.15 template.php
--- template.php	13 May 2009 11:19:43 -0000	1.1.2.15
+++ template.php	13 May 2009 23:41:40 -0000
@@ -5,7 +5,7 @@
  * Initialize theme settings
  */
 if (is_null(theme_get_setting('user_notverified_display')) || theme_get_setting('rebuild_registry')) {
-	
+
   // Auto-rebuild the theme registry during theme development.
   if(theme_get_setting('rebuild_registry')) {
     drupal_set_message(t('The theme registry has been rebuilt. <a href="!link">Turn off</a> this feature on production websites.', array('!link' => url('admin/build/themes/settings/' . $GLOBALS['theme']))), 'warning');
@@ -14,7 +14,7 @@ if (is_null(theme_get_setting('user_notv
   global $theme_key;
   // Get node types
   $node_types = node_get_types('names');
-  
+
   /**
    * The default values for the theme variables. Make sure $defaults exactly
    * matches the $defaults in the theme-settings.php file.
@@ -68,11 +68,11 @@ if (is_null(theme_get_setting('user_notv
     'comment_enable_content_type'           => 0,
     'rebuild_registry'                      => 0,
   );
-  
+
   // Make the default content-type settings the same as the default theme settings,
   // so we can tell if content-type-specific settings have been altered.
   $defaults = array_merge($defaults, theme_get_settings());
-  
+
   // Set the default values for content-type-specific settings
   foreach ($node_types as $type => $name) {
     $defaults["taxonomy_display_{$type}"]         = $defaults['taxonomy_display_default'];
@@ -102,10 +102,10 @@ if (is_null(theme_get_setting('user_notv
     $defaults["comment_node_prefix_{$type}"]      = $defaults['comment_node_prefix_default'];
     $defaults["comment_node_suffix_{$type}"]      = $defaults['comment_node_suffix_default'];
   }
-  
+
   // Get default theme settings.
   $settings = theme_get_settings($theme_key);
-  
+
   // If content type-specifc settings are not enabled, reset the values
   if (!$settings['readmore_enable_content_type']) {
     foreach ($node_types as $type => $name) {
@@ -137,7 +137,7 @@ if (is_null(theme_get_setting('user_notv
       $defaults["comment_node_suffix_{$type}"]      = $defaults['comment_node_suffix_default'];
     }
   }
-  
+
   // Don't save the toggle_node_info_ variables
   if (module_exists('node')) {
     foreach (node_get_types() as $type => $name) {
@@ -203,7 +203,7 @@ function phptemplate_preprocess_page(&$v
 
   // Add preface & postscript classes with number of active sub-regions
   $region_list = array(
-    'prefaces' => array('preface_first', 'preface_middle', 'preface_last'), 
+    'prefaces' => array('preface_first', 'preface_middle', 'preface_last'),
     'postscripts' => array('postscript_first', 'postscript_middle', 'postscript_last')
   );
   foreach ($region_list as $sub_region_key => $sub_region_list) {
@@ -215,21 +215,21 @@ function phptemplate_preprocess_page(&$v
     }
     $vars[$sub_region_key] = $sub_region_key .'-'. strval(count($active_regions));
   }
-  
+
   // Generate menu tree from source of primary links
   $vars['primary_links_tree'] = menu_tree(variable_get('menu_primary_links_source', 'primary-links'));
 
   // TNT THEME SETTINGS SECTION
   // Display mission statement on all pages
   if (theme_get_setting('mission_statement_pages') == 'all') {
-    $vars['mission'] = theme_get_setting('mission', false);  
+    $vars['mission'] = theme_get_setting('mission', false);
   }
-  
+
   // Hide breadcrumb on all pages
   if (theme_get_setting('breadcrumb_display') == 0) {
-    $vars['breadcrumb'] = '';  
+    $vars['breadcrumb'] = '';
   }
-  
+
   // Set site title, slogan, mission, page title & separator (unless using Page Title module)
   if (!module_exists('page_title')) {
     $title = t(variable_get('site_name', ''));
@@ -278,17 +278,17 @@ function phptemplate_preprocess_page(&$v
     }
     $vars['head_title'] = strip_tags($vars['head_title']);                       // Remove any potential html tags
   }
-  
+
   // Set meta keywords and description (unless using Meta tags module)
   if (!module_exists('nodewords')) {
     if (theme_get_setting('meta_keywords') !== '') {
       $keywords = '<meta name="keywords" content="'. theme_get_setting('meta_keywords') .'" />';
       $vars['head'] .= $keywords ."\n";
-    } 
+    }
     if (theme_get_setting('meta_description') !== '') {
       $keywords = '<meta name="description" content="'. theme_get_setting('meta_description') .'" />';
       $vars['head'] .= $keywords ."\n";
-    } 
+    }
   }
 
   if (drupal_is_front_page()) {
@@ -314,12 +314,12 @@ function phptemplate_preprocess_node(&$v
   $node_classes[] = 'node-type-'. $vars['node']->type;                   // Node is type-x, e.g., node-type-page
   $node_classes = array_filter($node_classes);                           // Remove empty elements
   $vars['node_classes'] = implode(' ', $node_classes);                   // Implode class list with spaces
-  
+
   // Add node_bottom region content
   $vars['node_bottom'] = theme('blocks', 'node_bottom');
 
   // Node Theme Settings
-  
+
   // Date & author
   if (!module_exists('submitted_by')) {
     $date = t('Posted ') . format_date($vars['node']->created, 'medium');                 // Format date as small, medium, or large
@@ -371,7 +371,7 @@ function phptemplate_preprocess_node(&$v
   else {
     $vars['terms'] = '';
   }
-  
+
   // Node Links
   if (isset($vars['node']->links['node_read_more'])) {
     $node_content_type = (theme_get_setting('readmore_enable_content_type') == 1) ? $vars['node']->type : 'default';
@@ -467,7 +467,7 @@ function phptemplate_preprocess_node(&$v
       'html' => TRUE,
     );
   }
-  $vars['links'] = theme('links', $vars['node']->links, array('class' => 'links inline')); 
+  $vars['links'] = theme('links', $vars['node']->links, array('class' => 'links inline'));
 }
 
 
@@ -506,7 +506,7 @@ function phptemplate_preprocess_comment_
 
 
 /**
- * Adds a class for the style of view  
+ * Adds a class for the style of view
  * (e.g., node, teaser, list, table, etc.)
  * (Requires views-view.tpl.php file in theme directory)
  */
@@ -522,7 +522,7 @@ function phptemplate_preprocess_search_r
   static $search_zebra = 'even';
   $search_zebra = ($search_zebra == 'even') ? 'odd' : 'even';
   $variables['search_zebra'] = $search_zebra;
-  
+
   $result = $variables['result'];
   $variables['url'] = check_url($result['link']);
   $variables['title'] = check_plain($result['title']);
@@ -532,7 +532,7 @@ function phptemplate_preprocess_search_r
   if (isset($result['snippet']) && theme_get_setting('search_snippet')) {
     $variables['snippet'] = $result['snippet'];
   }
-  
+
   $info = array();
   if (!empty($result['type']) && theme_get_setting('search_info_type')) {
     $info['type'] = check_plain($result['type']);
@@ -605,7 +605,7 @@ function phptemplate_username($object) {
 
 
 /**
- * Set default form file input size 
+ * Set default form file input size
  */
 function phptemplate_file($element) {
   $element['#size'] = 40;
@@ -649,4 +649,256 @@ function phptemplate_file($element) {
  */
 function _themesettings_link($prefix, $suffix, $text, $path, $options) {
   return $prefix . (($text) ? l($text, $path, $options) : '') . $suffix;
-}
\ No newline at end of file
+}
+
+/**
+ *  Implements hook_color()
+ *  Color replacement methods: 'shift' (base, link, text), 'tag' (navbar, navbarlink)
+ *                            custom tag replacement
+ *  Image generation: Yes (header)
+ */
+function acquia_marina_color() {
+	/**
+	 *  $color = array() (Required)
+	 *  For essential scheme information.
+	 */
+	$color = array(
+	  /**
+	   *  'replacement methods'
+	   *  Declare replacement replacement methods in the 'replacement methods' array,
+	   *  in the order you want them to work.
+	   *    They are comprised different algorithms to change your colors.
+	   *  replacement methods like 'shift' can accept different options and behave differently.
+	   *  To change the order of the replacement methods color replacement, put them in order.
+	   */
+	  'replacement methods' => array(
+	    /**
+	     *  'tag' method
+	     *  Replaces custom tags in stylesheet based on fieldname.
+	     */
+	    'tag' => TRUE,
+	  ),
+
+	  'fields' => array('Color 1', 'Color 2', 'Color 3',
+	                    'Color 1 (opposing)', 'Link'),
+
+	  'premade schemes' => array(
+	    'Acquia Marina' => array(
+         'Color 1' => '#a4d520',
+				 'Color 2' => '#23729d',
+         'Color 3' => '#f4f7e7',
+         'Color (opposing)' => '#A4D520',
+         'Link' => '#27638C',
+
+	                             ),
+      'Purple Royale' => array(
+        'Color 1' => '#a4d520',
+        'Color 2' => '#9d238d',
+        'Color 3' => '#f7e7f3',
+        'Color 1 (opposing)' => '#d52097',
+        'Link' => '#87278c',
+      ),
+
+      'Florida Gators' => array(
+        'Color 1' => '#ef721f',
+        'Color 2' => '#1d0ac2',
+        'Color 3' => '#f49e67',
+        'Color 1 (opposing)' => '#ffffff',
+        'Link' => '#1d0ac2',
+      ),
+
+	  ),
+
+	  /**
+	   *  'reference scheme' (Required)
+	   *  A scheme name from one in your 'premade schemes' list.
+	   *  On schemes which use the 'base', 'link' or 'text' flag, always mention this.
+	   *  Other schemes will be shifted against the fields of the reference one.
+	   */
+	  'reference scheme' => 'Acquia Marina',
+
+	  /**
+	   *  'default scheme' (Required)
+	   *  A scheme name from one in your 'premade schemes' list.
+	   */
+	  'default scheme' => 'Acquia Marina',
+
+	  /**
+	   *  'stylesheets' (Required)
+	   *  CSS file relative to the root of your theme.
+	   *  Can mention an array of stylesheets.
+	   */
+	  'stylesheets' => array(
+	    'style.css',
+	  ),
+
+	  /**
+	   *  'blend target' (Required)
+	   *  I almost to completely remove this, we'll see...
+	   */
+	  'blend target' => '#666666',
+	);
+
+
+	$color['images']['page background'] = array(
+	  /**
+	   *  'file' (Required)
+	   *  Path to your source image in terms of theme's root.
+	   */
+	  'file' => 'images/color/blank-content-gradient.png',
+
+	  'fill' => array(
+	    array('type' => 'solid',
+                  'x' => 0,
+                  'y' => 0,
+                  'width' => 5,
+                  'height' => 55,
+                  'colors' => array('Color 3'),
+                  ),
+	  ),
+
+	  'slices' => array(
+	    'images/content-gradient.png' => array(
+                                              'x' => 0,
+                                              'y' => 0,
+                                              'width' => 5,
+                                              'height' => 55
+                                              ),
+	  )
+	);
+
+	$color['images']['submit button'] = array(
+	  'file' => 'images/color/blank-blue-button.png',
+
+	  'fill' => array(
+	    array('type' => 'solid',
+            'x' => 0,
+            'y' => 0,
+            'width' => 600,
+            'height' => 40,
+            'colors' => array('Color 1'),
+            ),
+	  ),
+
+	  'slices' => array(
+	    'images/blue-button.png' => array(
+                                        'x' => 0,
+                                        'y' => 0,
+                                        'width' => 600,
+                                        'height' => 40
+                                        ),
+	  )
+	);
+
+	$color['images']['tab left'] = array(
+	  'file' => 'images/color/blank-tab-left.png',
+
+	  'transparent color' => '#000000',
+
+	  'fill' => array(
+	    array('type' => 'solid',
+            'x' => 2,
+            'y' => 29,
+            'width' => 56,
+            'height' => 1,
+            'colors' => array('Color 1'),
+            ),
+	    array('type' => 'solid',
+            'x' => 1,
+            'y' => 30,
+            'width' => 57,
+            'height' => 1,
+            'colors' => array('Color 1'),
+            ),
+	    array('type' => 'solid',
+            'x' => 0,
+            'y' => 31,
+            'width' => 58,
+            'height' => 27,
+            'colors' => array('Color 1'),
+            ),
+	  ),
+
+	  'slices' => array(
+	    'images/tab-left.png' => array(
+                                        'x' => 0,
+                                        'y' => 0,
+                                        'width' => 18,
+                                        'height' => 58
+                                        ),
+	  )
+	);
+
+	$color['images']['tab right'] = array(
+	  'file' => 'images/color/blank-tab-right.png',
+
+	  'transparent color' => '#000000',
+
+	  'fill' => array(
+	    array('type' => 'solid',
+            'x' => 0,
+            'y' => 29,
+            'width' => 398,
+            'height' => 1,
+            'colors' => array('Color 1'),
+            ),
+	    array('type' => 'solid',
+            'x' => 0,
+            'y' => 30,
+            'width' => 399,
+            'height' => 1,
+            'colors' => array('Color 1'),
+            ),
+	    array('type' => 'solid',
+            'x' => 0,
+            'y' => 31,
+            'width' => 400,
+            'height' => 27,
+            'colors' => array('Color 1'),
+            ),
+	  ),
+
+	  'slices' => array(
+	    'images/tab-right.png' => array(
+                                        'x' => 0,
+                                        'y' => 0,
+                                        'width' => 400,
+                                        'height' => 58
+                                        ),
+
+
+	  )
+	);
+
+	$color['images']['header image'] = array(
+	  'file' => 'images/color/blank-preface-wrapper-bg.png',
+
+	  'fill' => array(
+	    array('type' => 'solid',
+                  'x' => 0,
+                  'y' => 0,
+                  'width' => 2,
+                  'height' => 5,
+                  'colors' => array('Color 1'),
+                  ),
+	    array('type' => 'solid',
+                  'x' => 0,
+                  'y' => 6,
+                  'width' => 2,
+                  'height' => 178,
+                  'colors' => array('Color 2'),
+                  ),
+	  ),
+
+	  'slices' => array(
+	    'images/preface-wrapper-bg.png' => array(
+                                              'x' => 0,
+                                              'y' => 0,
+                                              'width' => 2,
+                                              'height' => 183
+                                              ),
+	  )
+	);
+
+	return $color;
+}
