Skip to content

Commit eb2073a

Browse files
committed
IONOS(theming): Remove background invert CSS variables from default
theme Signed-off-by: Kai Henseler <kai.henseler@strato.de>
1 parent 6ad856b commit eb2073a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/theming/lib/Themes/IonosTheme.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ private function generateSingleFontFace(string $fileVariant, string $weight): st
135135

136136
public function getCSSVariables(): array {
137137
$defaultVariables = parent::getCSSVariables();
138+
139+
// Remove background invert variables from parent
140+
unset(
141+
$defaultVariables['--background-invert-if-dark'],
142+
$defaultVariables['--background-invert-if-bright'],
143+
$defaultVariables['--background-image-invert-if-bright']
144+
);
145+
138146
$originalFontFace = $defaultVariables['--font-face'];
139147

140148
// IONOS COLORS

0 commit comments

Comments
 (0)