Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/theming/lib/Themes/DarkHighContrastTheme.php1
-rw-r--r--apps/theming/lib/Themes/HighContrastTheme.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DarkHighContrastTheme.php b/apps/theming/lib/Themes/DarkHighContrastTheme.php
index e7f52bb0475..fdb9e27fe5d 100644
--- a/apps/theming/lib/Themes/DarkHighContrastTheme.php
+++ b/apps/theming/lib/Themes/DarkHighContrastTheme.php
@@ -57,6 +57,7 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
$colorMainBackground = '#000000';
$variables['--color-main-background'] = $colorMainBackground;
+ $variables['--color-main-background-translucent'] = 'rgba(var(--color-main-background-rgb), .1)';
$variables['--color-main-text'] = $colorMainText;
$variables['--color-background-dark'] = $this->util->lighten($colorMainBackground, 30);
diff --git a/apps/theming/lib/Themes/HighContrastTheme.php b/apps/theming/lib/Themes/HighContrastTheme.php
index 561f7dc9479..a9ba6da42a9 100644
--- a/apps/theming/lib/Themes/HighContrastTheme.php
+++ b/apps/theming/lib/Themes/HighContrastTheme.php
@@ -54,6 +54,7 @@ class HighContrastTheme extends DefaultTheme implements ITheme {
$colorMainBackground = '#ffffff';
$variables['--color-main-background'] = $colorMainBackground;
+ $variables['--color-main-background-translucent'] = 'rgba(var(--color-main-background-rgb), .1)';
$variables['--color-main-text'] = $colorMainText;
$variables['--color-background-dark'] = $this->util->darken($colorMainBackground, 30);