mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 18:35:14 +02:00
MDL-56168 theme_boost: Make default accent colour match preset
This commit is contained in:
parent
6c43d831f0
commit
36553104da
@ -43,11 +43,11 @@ if ($ADMIN->fulltree) {
|
||||
$page->add($setting);
|
||||
|
||||
// Variable $body-color.
|
||||
// We do not set a default value because the default colour should come from the preset.
|
||||
$name = 'theme_boost/brandcolor';
|
||||
$title = get_string('brandcolor', 'theme_boost');
|
||||
$description = get_string('brandcolor_desc', 'theme_boost');
|
||||
$default = '#373A3C'; // Straight from bootstrap variables.
|
||||
$setting = new admin_setting_configcolourpicker($name, $title, $description, $default, null, false);
|
||||
$setting = new admin_setting_configcolourpicker($name, $title, $description, null, null, false);
|
||||
$setting->set_updatedcallback('theme_reset_all_caches');
|
||||
$page->add($setting);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user