aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Capabilities.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/lib/Capabilities.php')
-rw-r--r--apps/theming/lib/Capabilities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Capabilities.php b/apps/theming/lib/Capabilities.php
index b43779a27b5..1b6bb8927be 100644
--- a/apps/theming/lib/Capabilities.php
+++ b/apps/theming/lib/Capabilities.php
@@ -75,7 +75,7 @@ class Capabilities implements IPublicCapability {
'url' => $this->theming->getBaseUrl(),
'slogan' => $this->theming->getSlogan(),
'color' => $color,
- 'color-text' => $this->util->invertTextColor($color) ? '#000000' : '#FFFFFF',
+ 'color-text' => $this->theming->getTextColorPrimary(),
'color-element' => $this->util->elementColor($color),
'logo' => $this->url->getAbsoluteURL($this->theming->getLogo()),
'background' => $backgroundLogo === 'backgroundColor' ?