Skip to content

Commit 71ecc37

Browse files
tanyakaprintminion-co
authored andcommitted
IONOS(Theming): fix the background color in darkmode
partial revert of 647f4c4 Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
1 parent 2b62b44 commit 71ecc37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/theming/lib/Themes/IonosTheme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function getCSSVariables(): array {
234234

235235
// used for different active/hover/focus/disabled states
236236
'--color-background-hover' => 'light-dark( var(--ion-color-blue-b1), var(--ion-color-blue-b8))',
237-
'--color-background-dark' => $this->util->darken($colorMainBackground, 7),
237+
'--color-background-dark' => 'light-dark( ' . $this->util->darken($colorMainBackground, 7) . ', var(--ion-color-blue-b6))',
238238
'--color-background-darker' => $this->util->darken($colorMainBackground, 14),
239239

240240
'--color-background-plain' => $ionColorMainBackground,

0 commit comments

Comments
 (0)