From 5427aaa34da77793e536ae7318bbfd73f493340c Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 14 Sep 2022 12:12:34 +0200 Subject: [PATCH] Switch accessibility menu icon Use one from material design icons and adjusted its view box to fit the other icons' sizes. Signed-off-by: Vincent Petry --- apps/theming/img/accessibility-dark.svg | 43 +++++++++++++++++++++++++ lib/private/NavigationManager.php | 2 +- tests/lib/NavigationManagerTest.php | 2 +- 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 apps/theming/img/accessibility-dark.svg diff --git a/apps/theming/img/accessibility-dark.svg b/apps/theming/img/accessibility-dark.svg new file mode 100644 index 0000000000000..eb21e0dcd11ce --- /dev/null +++ b/apps/theming/img/accessibility-dark.svg @@ -0,0 +1,43 @@ + + + + + + + diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index d2dc81fcf5c9c..7e162e65a5d33 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -209,7 +209,7 @@ private function init() { 'order' => 2, 'href' => $this->urlGenerator->linkToRoute('settings.PersonalSettings.index', ['section' => 'theming']), 'name' => $l->t('Appearance and accessibility'), - 'icon' => $this->urlGenerator->imagePath('theming', 'app-dark.svg'), + 'icon' => $this->urlGenerator->imagePath('theming', 'accessibility-dark.svg'), ]); } if ($this->isAdmin()) { diff --git a/tests/lib/NavigationManagerTest.php b/tests/lib/NavigationManagerTest.php index 02e989f1f4a33..d5c827fe1cb7c 100644 --- a/tests/lib/NavigationManagerTest.php +++ b/tests/lib/NavigationManagerTest.php @@ -277,7 +277,7 @@ public function providesNavigationConfig() { 'order' => 2, 'href' => '/apps/test/', 'name' => 'Appearance and accessibility', - 'icon' => '/apps/theming/img/app-dark.svg', + 'icon' => '/apps/theming/img/accessibility-dark.svg', 'active' => false, 'classes' => '', 'unread' => 0,