fix(theming): previews need the same file extension as their originals

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-08-21 10:44:22 +02:00
parent fc5dad8343
commit 591601d000
No known key found for this signature in database
GPG key ID: 45FAE7268762B400
6 changed files with 3 additions and 3 deletions

View file

@ -22,13 +22,13 @@ SPDX-FileCopyrightText = "2022 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = ["img/background/jo-myoung-hee-fluid.webp", "img/background/jo-myoung-hee-fluid-dark.webp", "img/background/preview/jo-myoung-hee-fluid.jpg"]
path = ["img/background/jo-myoung-hee-fluid.webp", "img/background/jo-myoung-hee-fluid-dark.webp", "img/background/preview/jo-myoung-hee-fluid.webp"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2025 Nextcloud GmbH"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/jenna-kim-the-globe.webp", "img/background/jenna-kim-the-globe-dark.webp", "img/background/preview/jenna-kim-the-globe.jpg"]
path = ["img/background/jenna-kim-the-globe.webp", "img/background/jenna-kim-the-globe-dark.webp", "img/background/preview/jenna-kim-the-globe.webp"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 Nextcloud GmbH"
SPDX-License-Identifier = "CC-BY-SA-4.0"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -5,7 +5,7 @@
import { colord } from 'colord'
export const defaultPrimary = '#00679e'
export const defaultBackground = 'jenna-kim-the-globe.webp'
export const defaultBackground = 'jo-myoung-hee-fluid.webp'
/**
* Check if a CSS variable is set to a specific color