1
|
<?php
|
2
|
|
3
|
$info = array(
|
4
|
|
5
|
// Available colors and color labels used in theme.
|
6
|
'fields' => array(
|
7
|
'base' => t('Header Sidebar'),
|
8
|
'gradient_block' => t('Block with Gradient Background'),
|
9
|
'link' => t('Link'),
|
10
|
'header_bar' => t('Header Background Bar'),
|
11
|
'text' => t('Copy Text'),
|
12
|
'link_hover' => t('Link Hover'),
|
13
|
'menu_active' => t('Menu Active'),
|
14
|
'content_header' => t('Header Content Area'),
|
15
|
'block_featured_header' => t('Header Featured Block'),
|
16
|
'block_featured_text' => t('Copy Text Featured Block'),
|
17
|
),
|
18
|
// Pre-defined color schemes.
|
19
|
'schemes' => array(
|
20
|
'default' => array(
|
21
|
'title' => t('Monoblue (default)'),
|
22
|
'colors' => array(
|
23
|
'base' => '#266a9c',
|
24
|
'gradient_block' => '#266a9b',
|
25
|
'link' => '#1d4c7f',
|
26
|
'header_bar' => '#266a9e',
|
27
|
'text' => '#6e8497',
|
28
|
'link_hover' => '#1d4c7e',
|
29
|
'menu_active' => '#6d7e8f',
|
30
|
'content_header' => '#1d4c7f',
|
31
|
'block_featured_header' => '#e3f1ff',
|
32
|
'block_featured_text' => '#b6d7f2',
|
33
|
),
|
34
|
),
|
35
|
'blackwhite' => array(
|
36
|
'title' => t('Black and white'),
|
37
|
'colors' => array(
|
38
|
'base' => '#444444',
|
39
|
'gradient_block' => '#444444',
|
40
|
'link' => '#23bbf5',
|
41
|
'header_bar' => '#444444',
|
42
|
'text' => '#777777',
|
43
|
'link_hover' => '#1d4c7e',
|
44
|
'menu_active' => '#0091e2',
|
45
|
'content_header' => '#0091e2',
|
46
|
'block_featured_header' => '#eeeeee',
|
47
|
'block_featured_text' => '#dddddd',
|
48
|
),
|
49
|
),
|
50
|
'green' => array(
|
51
|
'title' => t('Green'),
|
52
|
'colors' => array(
|
53
|
'base' => '#444444',
|
54
|
'gradient_block' => '#444445',
|
55
|
'link' => '#23bbf5',
|
56
|
'header_bar' => '#444444',
|
57
|
'text' => '#777777',
|
58
|
'link_hover' => '#1d4c7e',
|
59
|
'menu_active' => '#0091e2',
|
60
|
'content_header' => '#0091e2',
|
61
|
'block_featured_header' => '#eeeeee',
|
62
|
'block_featured_text' => '#dddddd',
|
63
|
),
|
64
|
),
|
65
|
),
|
66
|
|
67
|
// Images to copy over.
|
68
|
'copy' => array(
|
69
|
'logo.png',
|
70
|
'screenshot.png',
|
71
|
),
|
72
|
|
73
|
// CSS files (excluding @import) to rewrite with new color scheme.
|
74
|
'css' => array(
|
75
|
'css/style.css',
|
76
|
),
|
77
|
|
78
|
//// Gradient definitions.
|
79
|
'gradients' => array(
|
80
|
array(
|
81
|
// (x, y, width, height).
|
82
|
'dimension' => array(0, 0, 0, 0),
|
83
|
// Direction of gradient ('vertical' or 'horizontal').
|
84
|
'direction' => 'vertical',
|
85
|
// Keys of colors to use for the gradient.
|
86
|
'colors' => array('link', 'text'),
|
87
|
),
|
88
|
),
|
89
|
|
90
|
// Color areas to fill (x, y, width, height).
|
91
|
'fill' => array(
|
92
|
'gradient_block' => array(0, 0, 10, 250),
|
93
|
'header_bar' => array(0, 250, 68, 146),
|
94
|
'base' => array(0, 1569, 1000, 31),
|
95
|
),
|
96
|
|
97
|
// Coordinates of all the theme slices (x, y, width, height)
|
98
|
// with their filename as used in the stylesheet.
|
99
|
'slices' => array(
|
100
|
'images/navigation-background.png' => array(0, 0, 10, 250),
|
101
|
'images/bg-color-bar-low.jpg' => array(0, 250, 10, 146),
|
102
|
'images/footer_bg.jpg' => array(0, 1590, 1000, 10),
|
103
|
'images/bg-shadow-color-bar-left.jpg' => array(10, 250, 29, 146),
|
104
|
'images/bg-shadow-color-bar-right.jpg' => array(39, 250, 29, 146),
|
105
|
'images/input-bg-dark.jpg' => array(0, 1569, 500, 21),
|
106
|
),
|
107
|
|
108
|
// Reference color used for blending. Matches the base.png's colors.
|
109
|
'blend_target' => '#ffffff',
|
110
|
|
111
|
// Preview files.
|
112
|
'preview_image' => 'color/preview.png',
|
113
|
'preview_css' => 'color/preview.css',
|
114
|
|
115
|
// Base file for image generation.
|
116
|
'base_image' => 'color/base.png',
|
117
|
);
|