summaryrefslogtreecommitdiffstats
path: root/apps/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'apps/accessibility')
-rw-r--r--apps/accessibility/css/themedark.scss2
-rw-r--r--apps/accessibility/lib/Controller/AccessibilityController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/accessibility/css/themedark.scss b/apps/accessibility/css/themedark.scss
index ecde4ec4c8a..fc33b333ce9 100644
--- a/apps/accessibility/css/themedark.scss
+++ b/apps/accessibility/css/themedark.scss
@@ -45,7 +45,7 @@ $color-border-dark: lighten($color-main-background, 14%);
}
// since svg icons are inverted, revert to white for the header
-#header-right > * {
+.header-right > * {
[class^='icon-'], [class*=' icon-'] {
filter: invert(100%);
}
diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php
index 3ef305511e0..fa82f17e9d4 100644
--- a/apps/accessibility/lib/Controller/AccessibilityController.php
+++ b/apps/accessibility/lib/Controller/AccessibilityController.php
@@ -218,6 +218,6 @@ class AccessibilityController extends Controller {
* @return string
*/
private function invertSvgIconsColor(string $css) {
- return str_replace(['/000', '/fff'], ['/fff', '/000'], $css);
+ return str_replace(['/000', '/fff', '/***'], ['/***', '/000', '/fff'], $css);
}
}