fix dark-contrast-theme

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-09-05 17:32:05 +02:00 committed by Simon L. (Rebase PR Action)
parent 2a59d48d0c
commit d9b463c20a
2 changed files with 2 additions and 0 deletions

View File

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

View File

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