We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd51058 commit 4489f28Copy full SHA for 4489f28
apps/theming/lib/Themes/DefaultTheme.php
@@ -203,6 +203,8 @@ public function getCSSVariables(): array {
203
'--background-invert-if-bright' => 'invert(100%)',
204
205
'--image-main-background' => "url('" . $this->urlGenerator->imagePath('core', 'app-background.jpg') . "')",
206
+
207
+ '--logo-invert-if-default' => ($hasCustomLogoHeader && $this->util->invertTextColor($this->primaryColor)) ? 'no' : 'invert(100%)',
208
];
209
210
// Primary variables
core/css/header.scss
@@ -172,7 +172,7 @@
172
left: 12px;
173
top: 1px;
174
bottom: 1px;
175
- filter: var(--primary-invert-if-bright);
+ filter: var(--logo-invert-if-default);
176
}
177
178
.header-appname-container {
0 commit comments