fix scrollbar visiblity

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-09-07 22:45:21 +02:00
parent 9e0a524a20
commit 4636524b7e
3 changed files with 6 additions and 0 deletions

View file

@ -70,6 +70,8 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
$variables['--color-text-light'] = $colorMainText;
$variables['--color-text-lighter'] = $colorMainText;
$variables['--color-scrollbar'] = $this->util->lighten($colorMainBackground, 35);
// used for the icon loading animation
$variables['--color-loading-light'] = '#000000';
$variables['--color-loading-dark'] = '#dddddd';

View file

@ -63,6 +63,8 @@ class DarkTheme extends DefaultTheme implements ITheme {
'--color-main-background' => $colorMainBackground,
'--color-main-background-rgb' => $colorMainBackgroundRGB,
'--color-scrollbar' => $this->util->lighten($colorMainBackground, 15),
'--color-background-hover' => $this->util->lighten($colorMainBackground, 4),
'--color-background-dark' => $this->util->lighten($colorMainBackground, 7),
'--color-background-darker' => $this->util->lighten($colorMainBackground, 14),

View file

@ -70,6 +70,8 @@ class HighContrastTheme extends DefaultTheme implements ITheme {
$variables['--color-text-light'] = 'var(--color-main-text)';
$variables['--color-text-lighter'] = 'var(--color-main-text)';
$variables['--color-scrollbar'] = $this->util->darken($colorMainBackground, 25);
// used for the icon loading animation
$variables['--color-loading-light'] = '#dddddd';
$variables['--color-loading-dark'] = '#000000';