mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix scrollbar visiblity
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
9e0a524a20
commit
4636524b7e
3 changed files with 6 additions and 0 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue