comparison color/color.inc @ 0:65b7937bab7b

intertial
author dwinter
date Fri, 20 Jun 2014 09:39:25 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:65b7937bab7b
1 <?php
2
3 //'#fdf8ef','#d45a00','#fdf8ef','#fdf8ef','#fffff' => t('Web Main (Default)'),
4
5 // Put the logo path into JavaScript for the live preview.
6 drupal_add_js(array('color' => array('logo' => theme_get_setting('logo', 'mpiwgDev'))), 'setting');
7
8 $info = array(
9 // Available colors and color labels used in theme.
10 'fields' => array(
11 'headings' => t('Ueberschriften'),
12 'base' => t('Hintergrund'),
13 'top' => t('Hintergrud Content'),
14 'sidebarborders' => t('Trennstriche'),
15 'titleslogan' => t('Title and slogan'),
16 'text' => t('Text color'),
17 'link' => t('Link color'),
18 'searchbox' => t('Search box'),
19
20 ),
21 // Pre-defined color schemes.
22 'schemes' => array(
23 'default' => array(
24 'title' => t('MPIWG (default)'),
25 'colors' => array(
26 'base' => '#ebecf3',
27 'top' => '#f8f8f9',
28 'sidebarborders' => '#9da0c2',
29 'titleslogan' => '#3c4286',
30 'text' => '#000000',
31 'link' => '#000b86',
32 'headings' => '#c10000',
33 'searchbox'=> '#ebecf3'
34 ),
35 ),
36 'institute_add' => array(
37 'title' => t('Additional institute sites'),
38 'colors' => array(
39 'base' => '#dce8e8',
40 'top' => '#f8f8f9',
41 'sidebarborders' => '#9da0c2',
42 'titleslogan' => '#3c4286',
43 'text' => '#000000',
44 'link' => '#3c4286',
45 'headings' => '#00b2a3',
46 'searchbox'=> '#ebecf3'
47 ),
48 ),
49 'institute_add3' => array(
50 'title' => t('Main site color scheme'),
51 'colors' => array(
52 'base' => '#fdf8ef',
53 'top' => '#f8f8f9',
54 'sidebarborders' => '#9da0c2',
55 'titleslogan' => '#3c4286',
56 'text' => '#000000',
57 'link' => '#3c4286',
58 'headings' => '#d45a000',
59 'searchbox'=> '#ebecf3'
60 ),
61 ),
62 'institute_add2' => array(
63 'title' => t('Additional institute sites II'),
64 'colors' => array(
65 'base' => '#f4f9e5',
66 'top' => '#f8f8f9',
67 'sidebarborders' => '#9da0c2',
68 'titleslogan' => '#3c4286',
69 'text' => '#000000',
70 'link' => '#3c4286',
71 'headings' => '#79a000',
72 'searchbox'=> '#ebecf3'
73 ),
74 ),
75 ),
76
77 // CSS files (excluding @import) to rewrite with new color scheme.
78 'css' => array(
79 'layout.css',
80 ),
81
82 // Files to copy.
83 'copy' => array(
84 'logo.png',
85 ),
86
87 // Gradient definitions.
88 'gradients' => array(
89 array(
90 // (x, y, width, height).
91 'dimension' => array(0, 0, 0, 0),
92 // Direction of gradient ('vertical' or 'horizontal').
93 'direction' => 'vertical',
94 // Keys of colors to use for the gradient.
95 'colors' => array('top', 'bottom'),
96 ),
97 ),
98
99 // Color areas to fill (x, y, width, height).
100 'fill' => array(),
101
102 // Coordinates of all the theme slices (x, y, width, height)
103 // with their filename as used in the stylesheet.
104 'slices' => array(),
105
106 // Reference color used for blending. Matches the base.png's colors.
107 'blend_target' => '#ffffff',
108
109 // Preview files.
110 'preview_css' => 'color/preview.css',
111 'preview_js' => 'color/preview.js',
112 'preview_html' => 'color/preview.html',
113
114 // Base file for image generation.
115 'base_image' => 'color/base.png',
116 );