Merge pull request #33952 from nextcloud/enh/33850/scrollbar-visibility

fix scrollbar visiblity
This commit is contained in:
Simon L 2022-09-08 10:18:58 +02:00 committed by GitHub
commit 2a2cb01696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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';