|
|
|
|
@ -89,6 +89,8 @@ class DefaultTheme implements ITheme { |
|
|
|
|
$colorBoxShadow = $this->util->darken($colorMainBackground, 70); |
|
|
|
|
$colorBoxShadowRGB = join(',', $this->util->hexToRGB($colorBoxShadow)); |
|
|
|
|
|
|
|
|
|
$hasCustomLogoHeader = $this->imageManager->hasImage('logo') || $this->imageManager->hasImage('logoheader'); |
|
|
|
|
|
|
|
|
|
$variables = [ |
|
|
|
|
'--color-main-background' => $colorMainBackground, |
|
|
|
|
'--color-main-background-rgb' => $colorMainBackgroundRGB, |
|
|
|
|
@ -194,6 +196,10 @@ class DefaultTheme implements ITheme { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($hasCustomLogoHeader) { |
|
|
|
|
$variables["--image-logoheader-custom"] = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $variables; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|