mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #33952 from nextcloud/enh/33850/scrollbar-visibility
fix scrollbar visiblity
This commit is contained in:
commit
2a2cb01696
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