view mpiwgISMI/color/color.inc @ 8:5148098e96a4

add theme drupalISMI.
author casties
date Fri, 19 Jun 2015 18:58:25 +0200
parents
children
line wrap: on
line source

<?php

//'#fdf8ef','#d45a00','#fdf8ef','#fdf8ef','#fffff' => t('Web Main (Default)'),

// Put the logo path into JavaScript for the live preview.
drupal_add_js(array('color' => array('logo' => theme_get_setting('logo', 'mpiwgDev'))), 'setting');

$info = array(
  // Available colors and color labels used in theme.
  'fields' => array(
      'headings' => t('Ueberschriften'),
      'base' => t('Hintergrund'),
    'top' => t('Hintergrud Content'),
    'sidebarborders' => t('Trennstriche'),
    'titleslogan' => t('Title and slogan'),
    'text' => t('Text color'),
      'link' => t('Link color'),
      'searchbox' => t('Search box'),

  ),
  // Pre-defined color schemes.
  'schemes' => array(
    'default' => array(
      'title' => t('MPIWG  (default)'),
      'colors' => array(
        'base' => '#ebecf3',
        'top' => '#f8f8f9',
        'sidebarborders' => '#9da0c2',
        'titleslogan' => '#3c4286',
        'text' => '#000000',
        'link' => '#000b86',
        'headings' => '#c10000',
        'searchbox'=> '#ebecf3'
      ),
    ),
    'institute_add' => array(
      'title' => t('Additional institute sites'),
        'colors' => array(
        'base' => '#dce8e8',
        'top' => '#f8f8f9',
        'sidebarborders' => '#9da0c2',
        'titleslogan' => '#3c4286',
        'text' => '#000000',
        'link' => '#3c4286',
        'headings' => '#00b2a3',
        'searchbox'=> '#ebecf3'
      ),
        ),
      'institute_add3' => array(
          'title' => t('Main site color scheme'),
          'colors' => array(
              'base' => '#fdf8ef',
              'top' => '#f8f8f9',
              'sidebarborders' => '#9da0c2',
             'titleslogan' => '#3c4286',
             'text' => '#000000',
             'link' => '#3c4286',
              'headings' => '#d45a000',
             'searchbox'=> '#ebecf3'
          ),
      ),
      'institute_add2' => array(
          'title' => t('Additional institute sites II'),
          'colors' => array(
              'base' => '#f4f9e5',
              'top' => '#f8f8f9',
              'sidebarborders' => '#9da0c2',
              'titleslogan' => '#3c4286',
              'text' => '#000000',
              'link' => '#3c4286',
              'headings' => '#79a000',
              'searchbox'=> '#ebecf3'
          ),
      ),
      ),

  // CSS files (excluding @import) to rewrite with new color scheme.
  'css' => array(
    'layout.css',
  ),

  // Files to copy.
  'copy' => array(
    'logo.png',
  ),

  // Gradient definitions.
  'gradients' => array(
    array(
      // (x, y, width, height).
      'dimension' => array(0, 0, 0, 0),
      // Direction of gradient ('vertical' or 'horizontal').
      'direction' => 'vertical',
      // Keys of colors to use for the gradient.
      'colors' => array('top', 'bottom'),
    ),
  ),

  // Color areas to fill (x, y, width, height).
  'fill' => array(),

  // Coordinates of all the theme slices (x, y, width, height)
  // with their filename as used in the stylesheet.
  'slices' => array(),

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

  // Preview files.
  'preview_css' => 'color/preview.css',
  'preview_js' => 'color/preview.js',
  'preview_html' => 'color/preview.html',

  // Base file for image generation.
  'base_image' => 'color/base.png',
);