skinr.skinr.inc in Skinr 7.2
Same filename and directory in other branches
Implements page and region level rules, and adds default groups.
File
skinr.skinr.incView source
<?php
/**
* @file
* Implements page and region level rules, and adds default groups.
*/
/**
* Implements hook_skinr_api_VERSION().
*/
function skinr_skinr_api_2() {
}
/**
* Implements hook_skinr_group_info().
*/
function skinr_skinr_group_info() {
$groups['general'] = array(
'title' => t('General'),
'description' => t('Styles for content such as lists, buttons, margins, padding, etc.'),
'weight' => -10,
);
$groups['box'] = array(
'title' => t('Box styles'),
'description' => t('Presentational styles for the container.'),
);
$groups['typography'] = array(
'title' => t('Typography'),
'description' => t('Fonts, styles, sizes and other typography related skins.'),
);
$groups['layout'] = array(
'title' => t('Layout'),
'description' => t('Grid, layout and other structural related skins.'),
);
return $groups;
}
Functions
Name | Description |
---|---|
skinr_skinr_api_2 | Implements hook_skinr_api_VERSION(). |
skinr_skinr_group_info | Implements hook_skinr_group_info(). |