From 5ee61a5fc6c528c3f6759377cb37023cc86df8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 23 Sep 2022 15:01:38 +0200 Subject: [PATCH] Disable background blur on highcontrast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/theming/lib/Themes/DarkHighContrastTheme.php | 3 +++ 1 file changed, 3 insertions(+) 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);