aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-09-23 15:01:38 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-09-23 15:01:38 +0200
commit0b23ad925600adef279895c14f0006ae7d081e83 (patch)
tree107abdc532e7ec2b322346cbf9f23f1ec8a2a428
parent48f324fcb121d4eb39a2b12c0a7f5ee5248d31ab (diff)
downloadnextcloud-server-0b23ad925600adef279895c14f0006ae7d081e83.tar.gz
nextcloud-server-0b23ad925600adef279895c14f0006ae7d081e83.zip
Disable background blur on highcontrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
-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);