]> source.dussan.org Git - nextcloud-server.git/commitdiff
Disable background blur on highcontrast
authorJohn Molakvoæ <skjnldsv@protonmail.com>
Fri, 23 Sep 2022 13:01:38 +0000 (15:01 +0200)
committerJohn Molakvoæ <skjnldsv@protonmail.com>
Fri, 23 Sep 2022 13:01:38 +0000 (15:01 +0200)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
apps/theming/lib/Themes/DarkHighContrastTheme.php

index a4de1be61a61d64b058d56121acd7060f679b080..3ebdafb2fa4f49ceeb72189a004298e3cc4612c4 100644 (file)
@@ -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);