]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix scrollbar visiblity 33952/head
authorszaimen <szaimen@e.mail.de>
Wed, 7 Sep 2022 20:45:21 +0000 (22:45 +0200)
committerszaimen <szaimen@e.mail.de>
Wed, 7 Sep 2022 21:21:35 +0000 (23:21 +0200)
Signed-off-by: szaimen <szaimen@e.mail.de>
apps/theming/lib/Themes/DarkHighContrastTheme.php
apps/theming/lib/Themes/DarkTheme.php
apps/theming/lib/Themes/HighContrastTheme.php

index fdb9e27fe5d3511b02a8192fa76127820c4befc5..a4de1be61a61d64b058d56121acd7060f679b080 100644 (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';
index dd894635751d5c2290b6b90836362f1254010a2e..6a9fc531a3b441fb8e7bfc1688a6e0b636c59287 100644 (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),
index a9ba6da42a931daf49e2f6527903ff610240800a..22348c4de3764a9bd0240efcc4af5dc737e488b2 100644 (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';