Project

General

Profile

Download (5.82 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2

    
3
$info = array(
4

    
5
  // Available colors and color labels used in theme.
6
  'fields' => array(
7
    'base' => t('Base color'),
8
    'link' => t('Link color'),
9
    'top' => t('Header top'),
10
    'bottom' => t('Header bottom'),
11
    'text' => t('Text color'),
12
  ),
13
  // Pre-defined color schemes.
14
  'schemes' => array(
15
    'default' => array(
16
      'title' => t('Blue Lagoon (Default)'),
17
      'colors' => array(
18
        'base' => '#0072b9',
19
        'link' => '#027ac6',
20
        'top' => '#2385c2',
21
        'bottom' => '#5ab5ee',
22
        'text' => '#494949',
23
      ),
24
    ),
25
    'ash' => array(
26
      'title' => t('Ash'),
27
      'colors' => array(
28
        'base' => '#464849',
29
        'link' => '#2f416f',
30
        'top' => '#2a2b2d',
31
        'bottom' => '#5d6779',
32
      ),
33
    ),
34
    'aquamarine' => array(
35
      'title' => t('Aquamarine'),
36
      'colors' => array(
37
        'base' => '#55c0e2',
38
        'link' => '#000000',
39
        'text' => '#696969',
40
        'top' => '#085360',
41
        'bottom' => '#007e94',
42
      ),
43
    ),
44
    'chocolate' => array(
45
      'title' => t('Belgian Chocolate'),
46
      'colors' => array(
47
        'base' => '#d5b048',
48
        'link' => '#6c420e',
49
        'top' => '#331900',
50
        'bottom' => '#971702',
51
      ),
52
    ),
53
    'bluemarine' => array(
54
      'title' => t('Bluemarine'),
55
      'colors' => array(
56
        'base' => '#3f3f3f',
57
        'link' => '#336699',
58
        'text' => '#000000',
59
        'top' => '#6598cb',
60
        'bottom' => '#6598cb',
61
      ),
62
    ),
63
    'citrus' => array(
64
      'title' => t('Citrus Blast'),
65
      'colors' => array(
66
        'base' => '#d0cb9a',
67
        'link' => '#917803',
68
        'top' => '#efde01',
69
        'bottom' => '#e6fb2d',
70
      ),
71
    ),
72
    'cold' => array(
73
      'title' => t('Cold Day'),
74
      'colors' => array(
75
        'base' => '#0f005c',
76
        'link' => '#434f8c',
77
        'text' => '#000000',
78
        'top' => '#4d91ff',
79
        'bottom' => '#1a1575',
80
      ),
81
    ),
82
    'greenbeam' => array(
83
      'title' => t('Greenbeam'),
84
      'colors' => array(
85
        'base' => '#c9c497',
86
        'link' => '#0c7a00',
87
        'top' => '#03961e',
88
        'bottom' => '#7be000',
89
      ),
90
    ),
91
    'mediterrano' => array(
92
      'title' => t('Mediterrano'),
93
      'colors' => array(
94
        'base' => '#ffe23d',
95
        'link' => '#a9290a',
96
        'top' => '#fc6d1d',
97
        'bottom' => '#a30f42',
98
      ),
99
    ),
100
    'mercury' => array(
101
      'title' => t('Mercury'),
102
      'colors' => array(
103
        'base' => '#788597',
104
        'link' => '#3f728d',
105
        'top' => '#a9adbc',
106
        'bottom' => '#d4d4d4',
107
        'text' => '#707070',
108
      ),
109
    ),
110
    'nocturnal' => array(
111
      'title' => t('Nocturnal'),
112
      'colors' => array(
113
        'base' => '#5b5fa9',
114
        'link' => '#5b5faa',
115
        'top' => '#0a2352',
116
        'bottom' => '#9fa8d5',
117
      ),
118
    ),
119
    'olivia' => array(
120
      'title' => t('Olivia'),
121
      'colors' => array(
122
        'base' => '#7db323',
123
        'link' => '#6a9915',
124
        'top' => '#b5d52a',
125
        'bottom' => '#7db323',
126
        'text' => '#191a19',
127
      ),
128
    ),
129
    'pink_plastic' => array(
130
      'title' => t('Pink Plastic'),
131
      'colors' => array(
132
        'base' => '#12020b',
133
        'link' => '#1b1a13',
134
        'top' => '#f391c6',
135
        'bottom' => '#f41063',
136
        'text' => '#898080',
137
      ),
138
    ),
139
    'shiny_tomato' => array(
140
      'title' => t('Shiny Tomato'),
141
      'colors' => array(
142
        'base' => '#b7a0ba',
143
        'link' => '#c70000',
144
        'top' => '#a1443a',
145
        'bottom' => '#f21107',
146
        'text' => '#515d52',
147
      ),
148
    ),
149
    'teal_top' => array(
150
      'title' => t('Teal Top'),
151
      'colors' => array(
152
        'base' => '#18583d',
153
        'link' => '#1b5f42',
154
        'top' => '#34775a',
155
        'bottom' => '#52bf90',
156
        'text' => '#2d2d2d',
157
      ),
158
    ),
159
  ),
160

    
161
  // Images to copy over.
162
  'copy' => array(
163
    'images/menu-collapsed.gif',
164
    'images/menu-collapsed-rtl.gif',
165
    'images/menu-expanded.gif',
166
    'images/menu-leaf.gif',
167
  ),
168

    
169
  // CSS files (excluding @import) to rewrite with new color scheme.
170
  'css' => array(
171
    'style.css',
172
  ),
173

    
174
  // Gradient definitions.
175
  'gradients' => array(
176
    array(
177
      // (x, y, width, height).
178
      'dimension' => array(0, 38, 760, 121),
179
      // Direction of gradient ('vertical' or 'horizontal').
180
      'direction' => 'vertical',
181
      // Keys of colors to use for the gradient.
182
      'colors' => array('top', 'bottom'),
183
    ),
184
  ),
185

    
186
  // Color areas to fill (x, y, width, height).
187
  'fill' => array(
188
    'base' => array(0, 0, 760, 568),
189
    'link' => array(107, 533, 41, 23),
190
  ),
191

    
192
  // Coordinates of all the theme slices (x, y, width, height)
193
  // with their filename as used in the stylesheet.
194
  'slices' => array(
195
    'images/body.png'                      => array(0, 37, 1, 280),
196
    'images/bg-bar.png'                    => array(202, 530, 76, 14),
197
    'images/bg-bar-white.png'              => array(202, 506, 76, 14),
198
    'images/bg-tab.png'                    => array(107, 533, 41, 23),
199
    'images/bg-navigation.png'             => array(0, 0, 7, 37),
200
    'images/bg-content-left.png'           => array(40, 117, 50, 352),
201
    'images/bg-content-right.png'          => array(510, 117, 50, 352),
202
    'images/bg-content.png'                => array(299, 117, 7, 200),
203
    'images/bg-navigation-item.png'        => array(32, 37, 17, 12),
204
    'images/bg-navigation-item-hover.png'  => array(54, 37, 17, 12),
205
    'images/gradient-inner.png'            => array(646, 307, 112, 42),
206

    
207
    'logo.png'                             => array(622, 51, 64, 73),
208
    'screenshot.png'                       => array(0, 37, 400, 240),
209
  ),
210

    
211
  // Reference color used for blending. Matches the base.png's colors.
212
  'blend_target' => '#ffffff',
213

    
214
  // Preview files.
215
  'preview_image' => 'color/preview.png',
216
  'preview_css' => 'color/preview.css',
217

    
218
  // Base file for image generation.
219
  'base_image' => 'color/base.png',
220
);
(2-2/4)