add 2nd background color

This commit is contained in:
Simon Vieille
2020-04-25 13:05:01 +02:00
parent a48611edf4
commit e3c159b4d6
5 changed files with 17 additions and 4 deletions
+5 -1
View File
@@ -47,8 +47,12 @@ class Admin implements ISettings
*/
public function getForm()
{
$backgroundColor = $this->config->getAppValue('side_menu', 'background-color', '#333333');
$backgroundColorTo = $this->config->getAppValue('side_menu', 'background-color-to', $backgroundColor);
$parameters = [
'background-color' => $this->config->getAppValue('side_menu', 'background-color', '#333333'),
'background-color' => $backgroundColor,
'background-color-to' => $backgroundColorTo,
'current-app-background-color' => $this->config->getAppValue('side_menu', 'current-app-background-color', '#444444'),
'text-color' => $this->config->getAppValue('side_menu', 'text-color', '#FFFFFF'),
'cache' => $this->config->getAppValue('side_menu', 'cache', '0'),