fix(settings): Fix appstore icon color in settings menu

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2026-06-08 17:49:32 +02:00
parent 3a9280b734
commit fa23d8ea77
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0
4 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@ SPDX-FileCopyrightText = "2026 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/app.svg"]
path = ["img/app.svg", "img/app-dark.svg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2018-2024 Google LLC"
SPDX-License-Identifier = "Apache-2.0"

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" height="16" width="16" fill="#000" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path d="M11 13H5v-2h6V5h2v6h6v2h-6v6h-2v-6Z" style="fill-rule:nonzero" transform="matrix(.85714 0 0 .85714 -2.286 -2.286)"/></svg>

After

Width:  |  Height:  |  Size: 333 B

View file

@ -246,7 +246,7 @@ class NavigationManager implements INavigationManager {
'id' => 'core_apps',
'order' => 5,
'href' => $this->urlGenerator->linkToRoute('appstore.Page.viewApps'),
'icon' => $this->urlGenerator->imagePath('appstore', 'app.svg'),
'icon' => $this->urlGenerator->imagePath('appstore', 'app-dark.svg'),
'name' => $l->t('Apps'),
]);

View file

@ -280,7 +280,7 @@ class NavigationManagerTest extends TestCase {
'id' => 'core_apps',
'order' => 5,
'href' => '/apps/test/',
'icon' => '/apps/appstore/img/app.svg',
'icon' => '/apps/appstore/img/app-dark.svg',
'name' => 'Apps',
'active' => false,
'type' => 'settings',