如何更改 Drupal 安装配置文件中使用的颜色配置文件?我已经安装了colors
-module,我可以在Appearance - Settings - *theme*
我的颜色模式下进行配置,这会产生一个$info
包含所有颜色值的数组。但是如何将它放在我的安装配置文件中,以便默认安装?
我在我的安装配置文件中添加了一个任务并将此功能链接到它。但很明显,少了点什么……
$tasks['_create_color']['display_name'] = 'Set the typical color on each platform';
$tasks['_create_color']['display'] = 0;
function _create_color() {
$info = array(
'schemes' => array(
'default' => array(
'title' => t('Blue Lagoon (default)'),
'colors' => array(
'top' => '#97279b',
'bottom' => '#97279b',
'footer' => '#97279b',
'link' => '#97279b',
)
)));
}
有人有建议吗?