color.inc

  1. 7.x drupal-7.x/themes/garland/color/color.inc
  2. 7.x drupal-7.x/themes/bartik/color/color.inc
  3. 6.x drupal-6.x/themes/garland/color/color.inc
  4. 6.x drupal-6.x/themes/garland/minnelli/color/color.inc

File

drupal-7.x/themes/garland/color/color.inc
View source
  1. <?php
  2. $info = array(
  3. // Available colors and color labels used in theme.
  4. 'fields' => array(
  5. 'base' => t('Base color'),
  6. 'link' => t('Link color'),
  7. 'top' => t('Header top'),
  8. 'bottom' => t('Header bottom'),
  9. 'text' => t('Text color'),
  10. ),
  11. // Pre-defined color schemes.
  12. 'schemes' => array(
  13. 'default' => array(
  14. 'title' => t('Blue Lagoon (Default)'),
  15. 'colors' => array(
  16. 'base' => '#0072b9',
  17. 'link' => '#027ac6',
  18. 'top' => '#2385c2',
  19. 'bottom' => '#5ab5ee',
  20. 'text' => '#494949',
  21. ),
  22. ),
  23. 'ash' => array(
  24. 'title' => t('Ash'),
  25. 'colors' => array(
  26. 'base' => '#464849',
  27. 'link' => '#2f416f',
  28. 'top' => '#2a2b2d',
  29. 'bottom' => '#5d6779',
  30. ),
  31. ),
  32. 'aquamarine' => array(
  33. 'title' => t('Aquamarine'),
  34. 'colors' => array(
  35. 'base' => '#55c0e2',
  36. 'link' => '#000000',
  37. 'text' => '#696969',
  38. 'top' => '#085360',
  39. 'bottom' => '#007e94',
  40. ),
  41. ),
  42. 'chocolate' => array(
  43. 'title' => t('Belgian Chocolate'),
  44. 'colors' => array(
  45. 'base' => '#d5b048',
  46. 'link' => '#6c420e',
  47. 'top' => '#331900',
  48. 'bottom' => '#971702',
  49. ),
  50. ),
  51. 'bluemarine' => array(
  52. 'title' => t('Bluemarine'),
  53. 'colors' => array(
  54. 'base' => '#3f3f3f',
  55. 'link' => '#336699',
  56. 'text' => '#000000',
  57. 'top' => '#6598cb',
  58. 'bottom' => '#6598cb',
  59. ),
  60. ),
  61. 'citrus' => array(
  62. 'title' => t('Citrus Blast'),
  63. 'colors' => array(
  64. 'base' => '#d0cb9a',
  65. 'link' => '#917803',
  66. 'top' => '#efde01',
  67. 'bottom' => '#e6fb2d',
  68. ),
  69. ),
  70. 'cold' => array(
  71. 'title' => t('Cold Day'),
  72. 'colors' => array(
  73. 'base' => '#0f005c',
  74. 'link' => '#434f8c',
  75. 'text' => '#000000',
  76. 'top' => '#4d91ff',
  77. 'bottom' => '#1a1575',
  78. ),
  79. ),
  80. 'greenbeam' => array(
  81. 'title' => t('Greenbeam'),
  82. 'colors' => array(
  83. 'base' => '#c9c497',
  84. 'link' => '#0c7a00',
  85. 'top' => '#03961e',
  86. 'bottom' => '#7be000',
  87. ),
  88. ),
  89. 'mediterrano' => array(
  90. 'title' => t('Mediterrano'),
  91. 'colors' => array(
  92. 'base' => '#ffe23d',
  93. 'link' => '#a9290a',
  94. 'top' => '#fc6d1d',
  95. 'bottom' => '#a30f42',
  96. ),
  97. ),
  98. 'mercury' => array(
  99. 'title' => t('Mercury'),
  100. 'colors' => array(
  101. 'base' => '#788597',
  102. 'link' => '#3f728d',
  103. 'top' => '#a9adbc',
  104. 'bottom' => '#d4d4d4',
  105. 'text' => '#707070',
  106. ),
  107. ),
  108. 'nocturnal' => array(
  109. 'title' => t('Nocturnal'),
  110. 'colors' => array(
  111. 'base' => '#5b5fa9',
  112. 'link' => '#5b5faa',
  113. 'top' => '#0a2352',
  114. 'bottom' => '#9fa8d5',
  115. ),
  116. ),
  117. 'olivia' => array(
  118. 'title' => t('Olivia'),
  119. 'colors' => array(
  120. 'base' => '#7db323',
  121. 'link' => '#6a9915',
  122. 'top' => '#b5d52a',
  123. 'bottom' => '#7db323',
  124. 'text' => '#191a19',
  125. ),
  126. ),
  127. 'pink_plastic' => array(
  128. 'title' => t('Pink Plastic'),
  129. 'colors' => array(
  130. 'base' => '#12020b',
  131. 'link' => '#1b1a13',
  132. 'top' => '#f391c6',
  133. 'bottom' => '#f41063',
  134. 'text' => '#898080',
  135. ),
  136. ),
  137. 'shiny_tomato' => array(
  138. 'title' => t('Shiny Tomato'),
  139. 'colors' => array(
  140. 'base' => '#b7a0ba',
  141. 'link' => '#c70000',
  142. 'top' => '#a1443a',
  143. 'bottom' => '#f21107',
  144. 'text' => '#515d52',
  145. ),
  146. ),
  147. 'teal_top' => array(
  148. 'title' => t('Teal Top'),
  149. 'colors' => array(
  150. 'base' => '#18583d',
  151. 'link' => '#1b5f42',
  152. 'top' => '#34775a',
  153. 'bottom' => '#52bf90',
  154. 'text' => '#2d2d2d',
  155. ),
  156. ),
  157. ),
  158. // Images to copy over.
  159. 'copy' => array(
  160. 'images/menu-collapsed.gif',
  161. 'images/menu-collapsed-rtl.gif',
  162. 'images/menu-expanded.gif',
  163. 'images/menu-leaf.gif',
  164. ),
  165. // CSS files (excluding @import) to rewrite with new color scheme.
  166. 'css' => array(
  167. 'style.css',
  168. ),
  169. // Gradient definitions.
  170. 'gradients' => array(
  171. array(
  172. // (x, y, width, height).
  173. 'dimension' => array(0, 38, 760, 121),
  174. // Direction of gradient ('vertical' or 'horizontal').
  175. 'direction' => 'vertical',
  176. // Keys of colors to use for the gradient.
  177. 'colors' => array('top', 'bottom'),
  178. ),
  179. ),
  180. // Color areas to fill (x, y, width, height).
  181. 'fill' => array(
  182. 'base' => array(0, 0, 760, 568),
  183. 'link' => array(107, 533, 41, 23),
  184. ),
  185. // Coordinates of all the theme slices (x, y, width, height)
  186. // with their filename as used in the stylesheet.
  187. 'slices' => array(
  188. 'images/body.png' => array(0, 37, 1, 280),
  189. 'images/bg-bar.png' => array(202, 530, 76, 14),
  190. 'images/bg-bar-white.png' => array(202, 506, 76, 14),
  191. 'images/bg-tab.png' => array(107, 533, 41, 23),
  192. 'images/bg-navigation.png' => array(0, 0, 7, 37),
  193. 'images/bg-content-left.png' => array(40, 117, 50, 352),
  194. 'images/bg-content-right.png' => array(510, 117, 50, 352),
  195. 'images/bg-content.png' => array(299, 117, 7, 200),
  196. 'images/bg-navigation-item.png' => array(32, 37, 17, 12),
  197. 'images/bg-navigation-item-hover.png' => array(54, 37, 17, 12),
  198. 'images/gradient-inner.png' => array(646, 307, 112, 42),
  199. 'logo.png' => array(622, 51, 64, 73),
  200. 'screenshot.png' => array(0, 37, 400, 240),
  201. ),
  202. // Reference color used for blending. Matches the base.png's colors.
  203. 'blend_target' => '#ffffff',
  204. // Preview files.
  205. 'preview_image' => 'color/preview.png',
  206. 'preview_css' => 'color/preview.css',
  207. // Base file for image generation.
  208. 'base_image' => 'color/base.png',
  209. );