color.inc

  1. cis7 themes/bartik/color/color.inc
  2. cis7 themes/garland/color/color.inc
  3. cis7 profiles/cis/themes/cis-theme/color/color.inc
  4. cis7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  5. cis7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  6. cis7 sites/all/themes/ulmus/corolla/color/color.inc
  7. cis7 sites/all/themes/ulmus/antonelli/color/color.inc
  8. cle7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  9. cle7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  10. cle7 sites/all/themes/ulmus/antonelli/color/color.inc
  11. cle7 themes/bartik/color/color.inc
  12. cle7 themes/garland/color/color.inc
  13. cle7 sites/all/themes/ulmus/corolla/color/color.inc
  14. ecd7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  15. ecd7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  16. ecd7 sites/all/themes/ulmus/corolla/color/color.inc
  17. ecd7 themes/garland/color/color.inc
  18. ecd7 themes/bartik/color/color.inc
  19. ecd7 sites/all/themes/ulmus/antonelli/color/color.inc
  20. elmsmedia7 themes/bartik/color/color.inc
  21. elmsmedia7 themes/garland/color/color.inc
  22. elmsmedia7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  23. elmsmedia7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  24. elmsmedia7 sites/all/themes/ulmus/corolla/color/color.inc
  25. elmsmedia7 sites/all/themes/ulmus/antonelli/color/color.inc
  26. harmony7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  27. harmony7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  28. harmony7 sites/all/themes/ulmus/corolla/color/color.inc
  29. harmony7 themes/garland/color/color.inc
  30. harmony7 themes/bartik/color/color.inc
  31. harmony7 sites/all/themes/ulmus/antonelli/color/color.inc
  32. icor7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  33. icor7 themes/bartik/color/color.inc
  34. icor7 sites/all/themes/ulmus/antonelli/color/color.inc
  35. icor7 sites/all/themes/ulmus/corolla/color/color.inc
  36. icor7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  37. icor7 themes/garland/color/color.inc
  38. meedjum_blog7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  39. meedjum_blog7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  40. meedjum_blog7 sites/all/themes/ulmus/corolla/color/color.inc
  41. meedjum_blog7 sites/all/themes/ulmus/antonelli/color/color.inc
  42. meedjum_blog7 themes/garland/color/color.inc
  43. meedjum_blog7 themes/bartik/color/color.inc
  44. mooc7 themes/garland/color/color.inc
  45. mooc7 sites/all/themes/ulmus/antonelli/color/color.inc
  46. mooc7 sites/all/themes/ulmus/corolla/color/color.inc
  47. mooc7 sites/all/themes/ulmus/skeletontheme/color/color.inc
  48. mooc7 sites/all/themes/elmsln_contrib/chamfer/color/color.inc
  49. mooc7 themes/bartik/color/color.inc

File

sites/all/themes/elmsln_contrib/chamfer/color/color.inc
View source
  1. <?php
  2. // $Id: color.inc,v 1.7 2010/12/14 19:53:14 dries Exp $
  3. // Put the logo path into JavaScript for the live preview.
  4. drupal_add_js(array('color' => array('logo' => theme_get_setting('logo', 'chamfer'))), 'setting');
  5. $info = array(
  6. // Available colors and color labels used in theme.
  7. 'fields' => array(
  8. 'bg_top' => t('BG top'),
  9. 'bg_bottom' => t('BG bottom'),
  10. 'ext_link' => t('Exterior link'),
  11. 'ext_text' => t('Exterior text'),
  12. 'page_header' => t('Page headers'),
  13. 'page_links' => t('Page links'),
  14. 'section_header' => t('Section headers'),
  15. 'section_links' => t('Section links'),
  16. 'section_link_active' => t('Section a.active'),
  17. 'menu_link' => t('Menu links'),
  18. 'menu_link_active' => t('Menu a.active'),
  19. 'menu_shadow' => t('Menu shadow'),
  20. ),
  21. // Pre-defined color schemes.
  22. 'schemes' => array(
  23. 'default' => array(
  24. 'title' => t('Default'),
  25. 'colors' => array(
  26. 'bg_top' => '#111111',
  27. 'bg_bottom' => '#333333',
  28. 'ext_link' => '#00ffff',
  29. 'ext_text' => '#eeeeee',
  30. 'page_header' => '#555555',
  31. 'page_links' => '#000000',
  32. 'section_header' => '#222222',
  33. 'section_links' => '#6d6d6d',
  34. 'section_link_active' => '#ee9999',
  35. 'menu_link' => '#cccccc',
  36. 'menu_link_active' => '#00f9f9',
  37. 'menu_shadow' => '#111111',
  38. ),
  39. ),
  40. 'drupal_org' => array(
  41. 'title' => t('Drupal.org'),
  42. 'colors' => array(
  43. 'bg_top' => '#56b3e6',
  44. 'bg_bottom' => '#EEEEEE',
  45. 'ext_link' => '#FFFFFF',
  46. 'ext_text' => '#EEEEEE',
  47. 'page_header' => '#222222',
  48. 'page_links' => '#0678BE',
  49. 'section_header' => '#222222',
  50. 'section_links' => '#0678BE',
  51. 'section_link_active' => '#222222',
  52. 'menu_link' => '#56b3e6',
  53. 'menu_link_active' => '#EEEEEE',
  54. 'menu_shadow' => '#222222',
  55. ),
  56. ),
  57. 'space_opera' => array(
  58. 'title' => t('Space opera'),
  59. 'colors' => array(
  60. 'bg_top' => '#000000',
  61. 'bg_bottom' => '#111111',
  62. 'ext_link' => '#00ccff',
  63. 'ext_text' => '#00eeff',
  64. 'page_header' => '#00b1ff',
  65. 'page_links' => '#0099ff',
  66. 'section_header' => '#00b1ff',
  67. 'section_links' => '#0099ff',
  68. 'section_link_active' => '#584efb',
  69. 'menu_link' => '#cccccc',
  70. 'menu_link_active' => '#fbf64e',
  71. 'menu_shadow' => '#fbf64e',
  72. ),
  73. ),
  74. 'silver' => array(
  75. 'title' => t('Silver'),
  76. 'colors' => array(
  77. 'bg_top' => '#e4e4e4',
  78. 'bg_bottom' => '#e7e7e7',
  79. 'ext_link' => '#5d5d5d',
  80. 'ext_text' => '#1d1d1d',
  81. 'page_header' => '#222222',
  82. 'page_links' => '#494949',
  83. 'section_header' => '#222222',
  84. 'section_links' => '#0e0e0e',
  85. 'section_link_active' => '#acacac',
  86. 'menu_link' => '#9f9f9f',
  87. 'menu_link_active' => '#ffffff',
  88. 'menu_shadow' => '#818181',
  89. ),
  90. ),
  91. 'mud_brown' => array(
  92. 'title' => t('Mud browns'),
  93. 'colors' => array(
  94. 'bg_top' => '#4d3a2b',
  95. 'bg_bottom' => '#552714',
  96. 'ext_link' => '#b57d52',
  97. 'ext_text' => '#dfbd93',
  98. 'page_header' => '#836c50',
  99. 'page_links' => '#bb7e18',
  100. 'section_header' => '#836c50',
  101. 'section_links' => '#a76d18',
  102. 'section_link_active' => '#df8d28',
  103. 'menu_link' => '#d2bb91',
  104. 'menu_link_active' => '#f9a900',
  105. 'menu_shadow' => '#8c5900',
  106. ),
  107. ),
  108. 'floral_green' => array(
  109. 'title' => t('Floral green'),
  110. 'colors' => array(
  111. 'bg_top' => '#ffffde',
  112. 'bg_bottom' => '#e1ffcf',
  113. 'ext_link' => '#4a4933',
  114. 'ext_text' => '#0e0e0e',
  115. 'page_header' => '#535726',
  116. 'page_links' => '#3c5400',
  117. 'section_header' => '#64692e',
  118. 'section_links' => '#486e00',
  119. 'section_link_active' => '#90792f',
  120. 'menu_link' => '#ebe490',
  121. 'menu_link_active' => '#ffea4a',
  122. 'menu_shadow' => '#b57400',
  123. ),
  124. ),
  125. ),
  126. // CSS files (excluding @import) to rewrite with new color scheme.
  127. 'css' => array(
  128. 'css/colors.css',
  129. ),
  130. // Files to copy.
  131. 'copy' => array(
  132. ),
  133. // Gradient definitions.
  134. 'gradients' => array(
  135. array(
  136. // (x, y, width, height).
  137. 'dimension' => array(0, 0, 0, 0),
  138. // Direction of gradient ('vertical' or 'horizontal').
  139. 'direction' => 'vertical',
  140. // Keys of colors to use for the gradient.
  141. 'colors' => array('top', 'bottom'),
  142. ),
  143. ),
  144. // Color areas to fill (x, y, width, height).
  145. 'fill' => array(),
  146. // Coordinates of all the theme slices (x, y, width, height)
  147. // with their filename as used in the stylesheet.
  148. 'slices' => array(),
  149. // Reference color used for blending. Matches the base.png's colors.
  150. 'blend_target' => '#ffffff',
  151. // Preview files.
  152. 'preview_css' => 'color/preview.css',
  153. 'preview_js' => 'color/preview.js',
  154. 'preview_html' => 'color/preview.html',
  155. // Base file for image generation.
  156. 'base_image' => 'color/base.png',
  157. );
  158. // allow modules to influence color schemes
  159. drupal_alter('chamfer_color_schemes', $info);