Disable translucency on high contrast themes

Fix #34514

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2022-10-11 23:15:33 +02:00
parent cf5bf3036d
commit 0a5d459c99
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
$this->generatePrimaryVariables($colorMainBackground, $colorMainText),
[
'--color-main-background' => $colorMainBackground,
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), .1)',
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), 1)',
'--color-main-text' => $colorMainText,
'--color-background-dark' => $this->util->lighten($colorMainBackground, 30),

View file

@ -62,7 +62,7 @@ class HighContrastTheme extends DefaultTheme implements ITheme {
$this->generatePrimaryVariables($colorMainBackground, $colorMainText),
[
'--color-main-background' => $colorMainBackground,
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), .1)',
'--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), 1)',
'--color-main-text' => $colorMainText,
'--color-background-dark' => $this->util->darken($colorMainBackground, 30),