diff options
-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'; |