Set serverBackground if it is a custom background or default hub
Signed-off-by: GretaD <gretadoci@gmail.com>
This commit is contained in:
parent
2a845285be
commit
c31c995ff0
|
@ -79,10 +79,10 @@ class Capabilities implements IPublicCapability {
|
|||
'color-text' => $this->theming->getTextColorPrimary(),
|
||||
'color-element' => $this->util->elementColor($color),
|
||||
'logo' => $this->url->getAbsoluteURL($this->theming->getLogo()),
|
||||
'background' => $backgroundLogo === 'backgroundColor' ?
|
||||
'background' => $backgroundLogo === 'backgroundColor' || ($backgroundLogo === false && $this->theming->getColorPrimary() !== '#0082c9') ?
|
||||
$this->theming->getColorPrimary() :
|
||||
$this->url->getAbsoluteURL($this->theming->getBackground()),
|
||||
'background-plain' => $backgroundLogo === 'backgroundColor',
|
||||
'background-plain' => $backgroundLogo === 'backgroundColor' || ($backgroundLogo === false && $this->theming->getColorPrimary() !== '#0082c9'),
|
||||
'background-default' => !$this->util->isBackgroundThemed(),
|
||||
'logoheader' => $this->url->getAbsoluteURL($this->theming->getLogo()),
|
||||
'favicon' => $this->url->getAbsoluteURL($this->theming->getLogo()),
|
||||
|
|
Loading…
Reference in New Issue