summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/ImageManager.php
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-28 12:01:32 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 08:37:54 +0200
commit92049c3ceb4121c6e424e8ba902cc6ebc663c690 (patch)
treeeb8a283e260e2b0918d13087c29af96d494fde58 /apps/theming/lib/ImageManager.php
parent7526971c95250807ac1ec485297919a27ee0dcfc (diff)
downloadnextcloud-server-92049c3ceb4121c6e424e8ba902cc6ebc663c690.tar.gz
nextcloud-server-92049c3ceb4121c6e424e8ba902cc6ebc663c690.zip
Switches the default logo color depending on the primary color
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'apps/theming/lib/ImageManager.php')
-rw-r--r--apps/theming/lib/ImageManager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php
index dfbdb582da6..6a42c22aba5 100644
--- a/apps/theming/lib/ImageManager.php
+++ b/apps/theming/lib/ImageManager.php
@@ -84,6 +84,8 @@ class ImageManager {
case 'logoheader':
case 'favicon':
return $this->urlGenerator->imagePath('core', 'logo.png') . '?v=' . $cacheBusterCounter;
+ case 'logo-blue':
+ return $this->urlGenerator->imagePath('core', 'logo-blue.png') . '?v=' . $cacheBusterCounter;
case 'background':
return $this->urlGenerator->imagePath('core', 'background.png') . '?v=' . $cacheBusterCounter;
}