mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix background shadow
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
15c45b5ef5
commit
7dd7d4d63d
2 changed files with 3 additions and 3 deletions
|
|
@ -55,7 +55,6 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
|
|||
$variables = parent::getCSSVariables();
|
||||
$colorMainText = '#ffffff';
|
||||
$colorMainBackground = '#000000';
|
||||
$colorBoxShadowRGB = join(',', $this->util->hexToRGB($colorMainText));
|
||||
|
||||
$variables['--color-main-background'] = $colorMainBackground;
|
||||
$variables['--color-main-text'] = $colorMainText;
|
||||
|
|
@ -75,8 +74,8 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
|
|||
$variables['--color-loading-dark'] = '#dddddd';
|
||||
|
||||
|
||||
$variables['--color-box-shadow-rgb'] = $colorBoxShadowRGB;
|
||||
$variables['--color-box-shadow'] = $colorBoxShadowRGB;
|
||||
$variables['--color-box-shadow-rgb'] = 'var(--color-main-text)';
|
||||
$variables['--color-box-shadow'] = 'var(--color-main-text)';
|
||||
|
||||
|
||||
$variables['--color-border'] = $this->util->lighten($colorMainBackground, 50);
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ class HighContrastTheme extends DefaultTheme implements ITheme {
|
|||
$variables['--color-loading-light'] = '#dddddd';
|
||||
$variables['--color-loading-dark'] = '#000000';
|
||||
|
||||
$variables['--color-box-shadow-rgb'] = 'var(--color-main-text)';
|
||||
$variables['--color-box-shadow'] = 'var(--color-main-text)';
|
||||
|
||||
$variables['--color-border'] = $this->util->darken($colorMainBackground, 50);
|
||||
|
|
|
|||
Loading…
Reference in a new issue