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:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-09-23 16:01:38 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-09-24 08:38:47 +0300
commit5ee61a5fc6c528c3f6759377cb37023cc86df8a5 (patch)
tree94e1613f3f89fc495af70749a3e67f5c4e5b7a9a /apps/theming/lib
parent019e85d92c962b9fe1616e99d991f28b9c3e671e (diff)
Disable background blur on highcontrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Themes/DarkHighContrastTheme.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DarkHighContrastTheme.php b/apps/theming/lib/Themes/DarkHighContrastTheme.php
index a4de1be61a6..3ebdafb2fa4 100644
--- a/apps/theming/lib/Themes/DarkHighContrastTheme.php
+++ b/apps/theming/lib/Themes/DarkHighContrastTheme.php
@@ -63,6 +63,9 @@ class DarkHighContrastTheme extends DarkTheme implements ITheme {
$variables['--color-background-dark'] = $this->util->lighten($colorMainBackground, 30);
$variables['--color-background-darker'] = $this->util->lighten($colorMainBackground, 30);
+ $variables['--color-main-background-blur'] = $colorMainBackground;
+ $variables['--filter-background-blur'] = 'none';
+
$variables['--color-placeholder-light'] = $this->util->lighten($colorMainBackground, 30);
$variables['--color-placeholder-dark'] = $this->util->lighten($colorMainBackground, 45);