From 36553104dac8e04c1b834e4f030336b83d970ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Massart?= Date: Wed, 28 Sep 2016 16:08:45 +0200 Subject: [PATCH] MDL-56168 theme_boost: Make default accent colour match preset --- theme/boost/settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/boost/settings.php b/theme/boost/settings.php index d124414310c42..737fcce2809b7 100644 --- a/theme/boost/settings.php +++ b/theme/boost/settings.php @@ -43,11 +43,11 @@ $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);