diff options
author | szaimen <szaimen@e.mail.de> | 2022-09-07 22:45:21 +0200 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2022-09-07 23:21:35 +0200 |
commit | 4636524b7ed27f5a79ad337101379dd4101517d9 (patch) | |
tree | fc9fec0cc6179da805e34ed9a14913185985a499 /apps/theming/lib/Themes | |
parent | 9e0a524a203c3eee696fcb7bef3ca82ebced1c14 (diff) | |
download | nextcloud-server-4636524b7ed27f5a79ad337101379dd4101517d9.tar.gz nextcloud-server-4636524b7ed27f5a79ad337101379dd4101517d9.zip |
fix scrollbar visiblity
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/theming/lib/Themes')
-rw-r--r-- | apps/theming/lib/Themes/DarkHighContrastTheme.php | 2 | ||||
-rw-r--r-- | apps/theming/lib/Themes/DarkTheme.php | 2 | ||||
-rw-r--r-- | apps/theming/lib/Themes/HighContrastTheme.php | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DarkHighContrastTheme.php b/apps/theming/lib/Themes/DarkHighContrastTheme.php index fdb9e27fe5d..a4de1be61a6 100644 --- a/apps/theming/lib/Themes/DarkHighContrastTheme.php +++ b/apps/theming/lib/Themes/DarkHighContrastTheme.php @@ -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'; diff --git a/apps/theming/lib/Themes/DarkTheme.php b/apps/theming/lib/Themes/DarkTheme.php index dd894635751..6a9fc531a3b 100644 --- a/apps/theming/lib/Themes/DarkTheme.php +++ b/apps/theming/lib/Themes/DarkTheme.php @@ -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), diff --git a/apps/theming/lib/Themes/HighContrastTheme.php b/apps/theming/lib/Themes/HighContrastTheme.php index a9ba6da42a9..22348c4de37 100644 --- a/apps/theming/lib/Themes/HighContrastTheme.php +++ b/apps/theming/lib/Themes/HighContrastTheme.php @@ -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'; |